Maven bundle plugin and Bundle-RequiredExecutionEnvironment

View: New views
2 Messages — Rating Filter:   Alert me  

Maven bundle plugin and Bundle-RequiredExecutionEnvironment

by Alan D. Cabrera-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using 1.4.3 of the plugin.  I have

                         <Bundle-
RequiredExecutionEnvironment>J2SE-1.5,JavaSE-1.6</Bundle-
RequiredExecutionEnvironment>

in my POM and I get this warning:

[WARNING] Warning building bundle org.livetribe.slp:livetribe-slp-
osgi:bundle:2.1.0-SNAPSHOT : Invalid value for Bundle-
RequiredExecutionEnvironment, J2SE-1.5,JavaSE-1.6 does not match  
CDC-1\.0/Foundation-1\.0|CDC-1\.1/Foundation-1\.1|OSGi/Minimum-1\.1|
JRE-1\.1|J2SE-1\.2|J2SE-1\.3|J2SE-1\.4|J2SE-1\.5|PersonalJava-1\.1|
PersonalJava-1\.2|CDC-1\.0/PersonalBasis-1\.0|CDC-1\.0/PersonalJava-1\.0

Regards,
Alan


Re: Maven bundle plugin and Bundle-RequiredExecutionEnvironment

by Stuart McCulloch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/8/19 Alan D. Cabrera <list@...>

> I'm using 1.4.3 of the plugin.  I have
>
>
>  <Bundle-RequiredExecutionEnvironment>J2SE-1.5,JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
>
> in my POM and I get this warning:
>
> [WARNING] Warning building bundle
> org.livetribe.slp:livetribe-slp-osgi:bundle:2.1.0-SNAPSHOT : Invalid value
> for Bundle-RequiredExecutionEnvironment, J2SE-1.5,JavaSE-1.6 does not match
> CDC-1\.0/Foundation-1\.0|CDC-1\.1/Foundation-1\.1|OSGi/Minimum-1\.1|JRE-1\.1|J2SE-1\.2|J2SE-1\.3|J2SE-1\.4|J2SE-1\.5|PersonalJava-1\.1|PersonalJava-1\.2|CDC-1\.0/PersonalBasis-1\.0|CDC-1\.0/PersonalJava-1\.0
>

this is a bug in BND... JavaSE-1.6 is not in its list of execution
environment names (aQute/lib/osgi/Verifier.java)
afaik Peter doesn't have a public bug tracking system for BND, but feel free
to log this issue on the Felix JIRA

Regards,
> Alan
>
>
--
Cheers, Stuart
LightInTheBox - Buy quality products at wholesale price!