<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <artifactId>tooling</artifactId>
    <groupId>io.fabric8</groupId>
    <version>1.2.0.Beta4</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>io.fabric8</groupId>
  <artifactId>tooling-fabric-all</artifactId>
  <packaging>bundle</packaging>
  <name>Fabric8 :: Tooling :: Fabric All</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <filters>
                <filter>
                  <artifact>org.bouncycastle:*</artifact>
                  <excludes>
                    <exclude>**</exclude>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
                <filter>
                  <artifact>org.eclipse.jgit:*</artifact>
                  <excludes>
                    <exclude>**</exclude>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
              </filters>
              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
              <createDependencyReducedPom>true</createDependencyReducedPom>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <properties>
    <fuse.osgi.embed.dependency>*;scope=compile|runtime;inline=false;groupId=!org.bouncycastle|org.osgi|org.slf4j|org.apache.jclouds|org.apache.jclouds.driver|org.apache.jclouds.karaf|org.apache.jclouds.labs.representations|org.apache.jclouds.labs.management|org.apache.jclouds.karaf</fuse.osgi.embed.dependency>
    <fuse.osgi.bundle.name>Fabric Tooling Plugin</fuse.osgi.bundle.name>
    <fuse.osgi.export>io.fabric*;version=${project.version},
      org.apache.zookeeper*;version=${zookeeper-version},
      org.apache.curator.*;version=${curator.version}</fuse.osgi.export>
    <fuse.osgi.embed.transitive>true</fuse.osgi.embed.transitive>
    <fuse.osgi.import.before.defaults>!sun.misc,
      !org.xml.*,
      !org.w3c.dom*,
      !org.bouncycastle*,
      !javax.xml*,
      com.google.common.*;version="${guava-version}",
      !junit*,
      !java*,
      !keypairgen*,
      !signature*,
      !sun.*,
      !weblogic.*,
      !com.ibm.uvm.tools,
      !com.sun.*,
      !userauth*,
      !com.jcraft*,
      !org.apache.felix*,
      !org.apache.sshd*,
      !org.apache.karaf*,
      !org.apache.maven.wagon.providers.http*,
      !org.apache.log4j.spi*,
      !org.ops4j.pax.logging*,
      !org.apache.avalon.framework.logger*,
      !org.apache.log,
      !net.spy.memcached,
      !org.jasypt.*,
      !kaffe.*,
      !com.google.protobuf*,
      !com.google.inject.internal.asm.util*,
      !groovy.*,
      !org.jruby*,
      !org.osgi.service.obr*,
      !org.codehaus.groovy.*,
      org.osgi.service.cm;version="[1.3,2)"</fuse.osgi.import.before.defaults>
  </properties>
</project>

