Subrahmanyam Sistha created FELIX-5915:
------------------------------------------

             Summary: Ignoring resolution:optional by mavenbundleplugin
                 Key: FELIX-5915
                 URL: https://issues.apache.org/jira/browse/FELIX-5915
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: maven-bundle-plugin-3.4.0
            Reporter: Subrahmanyam Sistha
         Attachments: MANIFEST.MF

HI Team,

We are working on wicket-8 migration, In wicket 8 pom.xml on Import-Package 
mentioned 
junit.framework as optional
refer 
https://issues.apache.org/jira/browse/WICKET-6509

Expected that generated manifest file contains 
junit.framework;resolution:optional but that is not the case. 
resolution:optional is missing in generated manifest file


Please find the attachment and search for junit.framework, as i observed after 
the maven-bundle-plugin:3.5.1:bundle removing the optional resolution from the 
manifest file

I'm unable to debug in BundlePlugin.java which configuration is missing.

Please help me to resolve this issue.

Wicket version : wicket-8.0.0 
maven-bundle-plugin: 3.4.0

https://github.com/apache/wicket/blob/master/pom.xml and search for 
Import-packages

https://mvnrepository.com/artifact/org.apache.wicket/wicket-core/8.0.0

Check the manifest file in bundle

 


Reproduction(If needed) :
1. git clone https://github.com/apache/wicket.git
2. git checkout wicket-8.x

go to directory wicket-core and mvn clean install and look for target file

Please help me which configuration is required to set resolution:optional in 
manifest file.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to