Andreas Sewe wrote:
> 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?

And in case it helps, here's the dumped instructions (grep'ed for
"Package"):

> Export-Package=com.ctrlflow.aer.client.logback
> -removeheaders=Include-Resource,Private-Package
> Private-Package=com.ctrlflow.aer.client.logback,com.ctrlflow.aer.client.logback.internal
> Import-Package=*

Having all packages marked as Private-Package looks odd. Why is that?

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]

Reply via email to