You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "jthomas@manhattansoftware.com" <jt...@manhattansoftware.com> on 2011/05/11 17:00:45 UTC
problem building using activemq 5.5.0 core using maven
I'm trying to run a JDK 1.5 build using activemq-core-5.5.0.jar. When I run
mvn compile, I get the following error which indicates that activemq was
built using JDK 1.6. What's odd, is that when I compile using Eclipse,
there is no problem and I'm performing a JDK 1.5 build there as well.
18\archive\com.manhattansoftware.csadmin\csadmin\1.0-SNAPSHOT\pom.xml
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\hudson\jobs\csadmin\workspace\trunk\src\main\java\com\manhattan\admin\ActiveMqConnectionPoolHandler.java:[14,-1]
cannot access org.apache.activemq.jndi.JNDIReferenceFactory
bad class file:
C:\apache-maven-local-repository\org\apache\activemq\activemq-core\5.5.0\activemq-core-5.5.0.jar(org/apache/activemq/jndi/JNDIReferenceFactory.class)
class file has wrong version 50.0, should be 49.0
--
View this message in context: http://activemq.2283324.n4.nabble.com/problem-building-using-activemq-5-5-0-core-using-maven-tp3514964p3514964.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: problem building using activemq 5.5.0 core using maven
Posted by Gary Tully <ga...@gmail.com>.
http://svn.apache.org/viewvc/activemq/tags/activemq-5.4.2/
On 11 May 2011 16:30, Jerry Thomas <jt...@manhattansoftware.com> wrote:
> In that case, do you know what version of ActiveMQ I should go back to which
> will build okay using JDK 1.5?
> Gary Tully wrote:
>>
>> eclipse has its own embedded maven build so it may behave differently.
>> 5.5 requires jdk 1.6 to build in any event.
>>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/problem-building-using-activemq-5-5-0-core-using-maven-tp3514964p3515028.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://blog.garytully.com
http://fusesource.com
Re: problem building using activemq 5.5.0 core using maven
Posted by Jerry Thomas <jt...@manhattansoftware.com>.
In that case, do you know what version of ActiveMQ I should go back to which
will build okay using JDK 1.5?
Gary Tully wrote:
>
> eclipse has its own embedded maven build so it may behave differently.
> 5.5 requires jdk 1.6 to build in any event.
>
--
View this message in context: http://activemq.2283324.n4.nabble.com/problem-building-using-activemq-5-5-0-core-using-maven-tp3514964p3515028.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: problem building using activemq 5.5.0 core using maven
Posted by Gary Tully <ga...@gmail.com>.
eclipse has its own embedded maven build so it may behave differently.
5.5 requires jdk 1.6 to build in any event.
On 11 May 2011 16:00, jthomas@manhattansoftware.com
<jt...@manhattansoftware.com> wrote:
> I'm trying to run a JDK 1.5 build using activemq-core-5.5.0.jar. When I run
> mvn compile, I get the following error which indicates that activemq was
> built using JDK 1.6. What's odd, is that when I compile using Eclipse,
> there is no problem and I'm performing a JDK 1.5 build there as well.
>
>
> 18\archive\com.manhattansoftware.csadmin\csadmin\1.0-SNAPSHOT\pom.xml
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\hudson\jobs\csadmin\workspace\trunk\src\main\java\com\manhattan\admin\ActiveMqConnectionPoolHandler.java:[14,-1]
> cannot access org.apache.activemq.jndi.JNDIReferenceFactory
> bad class file:
> C:\apache-maven-local-repository\org\apache\activemq\activemq-core\5.5.0\activemq-core-5.5.0.jar(org/apache/activemq/jndi/JNDIReferenceFactory.class)
> class file has wrong version 50.0, should be 49.0
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/problem-building-using-activemq-5-5-0-core-using-maven-tp3514964p3514964.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://blog.garytully.com
http://fusesource.com