I have updated to the newest drop and got the same error in the
servicemix-jms binding component. I updated the pom to reflect java 1.5 and
now get the following build failure:
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\servicemix\3.2\deployables\bindingcomponents\servicemix-jms\src\main\java\org\apache\servicemix\jms\endpoint\JmsProviderEndpoint.java:[30
,36] package org.springframework.jms.core does not exist
I removed the springframework from my maven repo to force a new download and
confirmed that it indeed downloaded the required version (2.0.1).
Any reasons why Spring doesn't seem to be in compiler's classpath?
Thanks
Mike
bsnyder wrote:
>
> On 2/16/07, Mike Gee <[EMAIL PROTECTED]> wrote:
>>
>> I grabbed the most recent source as I needed the classpath fix to the
>> archetypes and have discovered that the build fails when trying to run
>> the
>> second phase of the build on a fresh checkout :
>>
>> mvn -Dmaven.test.skip=true -Dprofile=step2 install
>>
>> with the following error:
>>
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> C:\servicemix\3.2\deployables\bindingcomponents\servicemix-http\src\main\java\org\apache\servicemix\http\endpoints\HttpConsumerEndpoint.java
>> :[67,15] generics are not supported in -source 1.4
>> (try -source 1.5 to enable generics)
>> private Map<String, Object> resources = new HashMap<String,
>> Object>();
>>
>> C:\servicemix\3.2\deployables\bindingcomponents\servicemix-http\src\main\java\org\apache\servicemix\http\endpoints\HttpProviderEndpoint.java
>> :[69,15] generics are not supported in -source 1.4
>> (try -source 1.5 to enable generics)
>> private Map<String, HttpMethod> methods = new
>> ConcurrentHashMap<String,
>> HttpMethod>();
>
> I've just fixed the issue. Because the generics are being used, Java
> 1.5 is required, but this was not set in the POM file.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
>
>
--
View this message in context:
http://www.nabble.com/3.2-build-issue-tf3242748s12049.html#a9065436
Sent from the ServiceMix - User mailing list archive at Nabble.com.