Resolved:
Modified servicemix-jms/pom.xml as follows:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>${spring-version}</version>
<!-- <scope>test</scope>-->
</dependency>
and now it builds successfully.
Mike
Mike Gee 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 am using jdk1.5.0_11. The repo built fine a couple nights ago. Is there
> something wrong with my config?
>
> Thanks
>
> Mike
>
--
View this message in context:
http://www.nabble.com/3.2-build-issue-tf3242748s12049.html#a9065932
Sent from the ServiceMix - User mailing list archive at Nabble.com.