Hi,
  I'm experiencing an intermittent, weird problem with the Maven
Bundle Plugin. It happens only on one machine (regularly on that
machine, Ubuntu, JDK1.6).

When I build a bundle, some classes are actually built (there's the
class in /target/classes/) BUT they're not included in the final jar.

If I change the packaging to jar, classes are, on the contrary, all
included in the jar.

Can it be a problem in the configuration/pom?

The POM is really simple:

<?xml version="1.0"?><project>
  <parent>
    <artifactId>engine</artifactId>
    <groupId>....</groupId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>.....</groupId>
  <artifactId>bundle.authorization</artifactId>
  <packaging>bundle</packaging>
  <name>bundle.authorization</name>
  <version>0.0.1-SNAPSHOT</version>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Private-Package>......engine.bundle.authorization</Private-Package>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
              <configuration>
                <target>1.5</target>
                <source>1.5</source>
              </configuration>
            </plugin>
    </plugins>
  </build>
  <dependencies>
        <dependency>
....

Thanks,
-- 
Filippo Diotalevi

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to