Hi Cristiano, > It always help me to find generation problems looking the plugin > declaration using the *effective POM*. > If you use Eclipse IDE, you can use the one provided by m2e's POM editor.
yes, I had a look at the output of mvn help:effective-pom, but saw no surprises there, as it's just my parent POM configuring the m-bundle-p in its <pluginManagement> and my child POM having a packaging of "bundle". Anyway, I deleted all custom <configuration>, which results in the following effective POM for my child project: > <plugins> > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>3.0.1</version> > <extensions>true</extensions> > <executions> > <execution> > <id>default-bundle</id> > <phase>package</phase> > <goals> > <goal>bundle</goal> > </goals> > </execution> > <execution> > <id>default-install</id> > <phase>install</phase> > <goals> > <goal>install</goal> > </goals> > </execution> > <execution> > <id>default-deploy</id> > <phase>deploy</phase> > <goals> > <goal>deploy</goal> > </goals> > </execution> > </executions> > </plugin> This results in the following MANIFEST.MF: > Export-Package: com.ctrlflow.aer.client.logback;uses:="ch.qos.logback.cl > assic.spi,ch.qos.logback.core,com.ctrlflow.aer.client.dto";version="2.0 > .0" > Import-Package: ch.qos.logback.classic.spi;version="[1.1,2)",ch.qos.logb > ack.core;version="[1.1,2)",com.ctrlflow.aer.client.dto;version="[2.0,3) > ",com.google.common.base;version="[17.0,18)",com.google.common.collect; > version="[17.0,18)",com.google.gson;version="[2.3,3)",org.apache.common > s.lang3;version="[3.3,4)",org.apache.http;version="[4.3,5)",org.apache. > http.client;version="[4.3,5)",org.apache.http.client.entity;version="[4 > .3,5)",org.apache.http.client.fluent;version="[4.3,5)",org.apache.http. > entity;version="[4.3,5)",org.slf4j;version="[1.7,2)" Oddly, there is no Private-Package header, even though my child project has a package matching *.internal.*. Maybe that's a hint? Any help is greatly appreciated. Best wishes, Andreas -- Codetrails GmbH The knowledge transfer company Robert-Bosch-Str. 7, 64293 Darmstadt Phone: +49-6151-276-7092 Mobile: +49-170-811-3791 http://www.codetrails.com/ Managing Director: Dr. Marcel Bruch Handelsregister: Darmstadt HRB 91940 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

