<?xml version="1.0" encoding="UTF-8"?>

  <!-- ====================================================================== -->
  <!--                                                                        -->
  <!-- JBoss, JUnit testing for OSGi bundles                                  -->
  <!--                                                                        -->
  <!-- Distributable under LGPL license.                                      -->
  <!-- See terms of license at http://www.gnu.org.                            -->
  <!--                                                                        -->
  <!-- ====================================================================== -->

  <!-- $Id: pom.xml 94748 2009-10-13 07:16:50Z thomas.diesler@jboss.com $ -->

<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">

  <modelVersion>4.0.0</modelVersion>

  <name>JBossOSGi Bundles - Husky Implementation</name>

  <groupId>org.jboss.osgi.bundles</groupId>
  <artifactId>jboss-osgi-husky</artifactId>
  <packaging>bundle</packaging>

  <!-- Parent -->
  <parent>
    <groupId>org.jboss.osgi.bundles</groupId>
    <artifactId>jboss-osgi-husky-parent</artifactId>
    <version>1.0.1</version>
  </parent>

  <!-- Dependencies -->
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.osgi.bundles</groupId>
      <artifactId>jboss-osgi-jmx</artifactId>
    </dependency>

    <!-- Provided Dependencies -->
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
            <Bundle-Activator>org.jboss.osgi.husky.runtime.osgi.HuskyActivator</Bundle-Activator>
            <Private-Package>
              org.jboss.osgi.husky.internal,
              org.jboss.osgi.husky.runtime*,
            </Private-Package>
            <Export-Package>
              org.jboss.osgi.husky;version=${version},
              org.jboss.osgi.husky.annotation;version=${version}
            </Export-Package>
            <Embed-Transitive>true</Embed-Transitive>
            <Embed-Dependency>
              junit;inline=false,
            </Embed-Dependency>
            <_exportcontents>org.junit;version=${version.junit}</_exportcontents>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <quiet>true</quiet>
          <excludePackageNames>*.internal</excludePackageNames>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
