2.3.4 worked.

I changed the build on Jenkins to use 1.6 - that worked too.

I'll commit the change for 2.3.4 version of maven-bundle-plugin, and put Jenkins
back to 1.5.

I noticed that running mvn install on single projects is broken in the addons -
due to the need to release an update to the uima-build-resources project.

I'll post a release for that soon (maybe Wednesday).

-Marshall

On 8/1/2011 4:31 PM, Marshall Schor wrote:
> Got a reply right away on the Felix users list to the q: if Java 6 requirement
> was intentional:
>
> not intentional - https://issues.apache.org/jira/browse/FELIX-3037 - happened 
> when we picked up the new version of bnd
>
> if you don't need any of the changes in 2.3.5 you can lock down the plugin 
> version to 2.3.4, which does work with Java 5
>
>
>
> I'll try 2.3.4
>
> -Marshall
>
> On 8/1/2011 4:04 PM, Marshall Schor wrote:
>> We currently set our build processes to use Java 5.  This insures we don't
>> accidentally "depend" on a method which is only in Java 6.
>>
>> The Felix OSGi bundle plugin (version 2.3.5) requires Java 6 - it uses a 
>> String
>> class getBytes(Charset....) method, which was added in Java 6.
>>
>> We are using version 2.3.5 because it eliminates various spurious warnings, 
>> as
>> compared to earlier levels.
>>
>> Not sure how to work around this - maybe there's a way to run "forked" in a
>> different JVM.
>>
>> -Marshall
>>

Reply via email to