[ 
https://issues.apache.org/jira/browse/FELIX-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart McCulloch resolved FELIX-2747.
-------------------------------------

    Resolution: Cannot Reproduce

I can't recreate the missing Bundle-ActivationPolicy header (either with 2.1.0 
or 2.3.4). Every time I put the header in the instructions it gets into the 
manifest. This suggests something else is going on in the pom - if you still 
see this with 2.3.4 please re-open and attach a full pom.xml that demonstrates 
the problem.

> Bundle-ActivationPolicy does not appear in the manifest
> -------------------------------------------------------
>
>                 Key: FELIX-2747
>                 URL: https://issues.apache.org/jira/browse/FELIX-2747
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.1
>         Environment: All
>            Reporter: Don Corley
>            Priority: Minor
>
> The maven-bundle-plugin version 2.1.0 does not move the 
> Bundle-ActivationPolicy from the maven instructions to the manifest.
> The manifest does not include after I run the maven-bundle-plugin
> Bundle-ActivationPolicy: lazy
> Thanks for looking into this.
> Don
> Here is my plugin configuration:
>       <plugin>
>         <groupId>org.apache.felix</groupId>
>         <artifactId>maven-bundle-plugin</artifactId>
>         <version>2.1.0</version>
>         <configuration>
>           <instructions>
>             <Export-Package>org.jbundle.thin.base.util</Export-Package>
>             <Import-Package>
>               *;resolution:=optional
>             </Import-Package>
>             
> <Bundle-Activator>org.jbundle.thin.base.util.ObrUtil</Bundle-Activator>
>             <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
>           </instructions>
>         </configuration>
>       </plugin>
> This parameter is defined here:
> http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#BUNDLE_ACTIVATIONPOLICY

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to