You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Don Corley (JIRA)" <ji...@apache.org> on 2010/12/26 18:07:45 UTC

[jira] Created: (FELIX-2747) Bundle-ActivationPolicy does not appear in the manifest

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.
-
You can reply to this email to add a comment to the issue online.


[jira] [Resolved] (FELIX-2747) Bundle-ActivationPolicy does not appear in the manifest

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ 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