directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis ANDRE <francis.andre.kampb...@orange.fr>
Subject ADS Studio: add new library: duplicate jar entry
Date Fri, 22 Feb 2013 09:14:45 GMT
Hi

I am adding a new library to the ADS Studio by copy/paste an already existing 
pom.xml like org.apache.commons.codec/pom.xml but the generated MANIFEST.MF 
contains a duplicate entry even with the instruction: 
<_exportcontents>!lib,*</_exportcontents>. The only difference with the new 
pom.xml is the <Embed-Transitive>true</Embed-Transitive>

What do I miss for remonving the duplicate entry?

         <configuration>
           <manifestLocation>META-INF</manifestLocation>
           <instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
             <Embed-Directory>lib</Embed-Directory>
             <Embed-StripGroup>true</Embed-StripGroup>
             <Embed-Transitive>true</Embed-Transitive>
             <_exportcontents>!lib,*</_exportcontents>
             <Import-Package>!</Import-Package>
           </instructions>
         </configuration>



TIA

Mime
View raw message