the release was build with maven 3.0.4 so maybe try that version of
maven or try and update the version of the maven shade plugin to 2.1.
I see a reference to the shade plugin in the 3.1 release note, so
maybe there are still some backward compat gremlins in there:
http://maven.apache.org/docs/3.1.0/release-notes.html

On 28 October 2013 12:14, Anderson Araujo Lopes <[email protected]> wrote:
> I just downloaded activemq-parent-5.9.0-source-release.zip, unzip and run: -
> mvn clean install, as in
> http://activemq.apache.org/getting-started.html#GettingStarted-WindowsSourceInstallation.
>
> But I found the following error:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21:58.974s
> [INFO] Finished at: Mon Oct 28 22:41:27 EST 2013
> [INFO] Final Memory: 94M/224M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:2.0:s
> hade (default) on project activemq-all: Execution default of goal
> org.apache.mav
> en.plugins:maven-shade-plugin:2.0:shade failed: A required class was missing
> whi
> le executing org.apache.maven.plugins:maven-shade-plugin:2.0:shade:
> org/sonatype
> /aether/version/VersionConstraint
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-shade-plugin:2.0
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/C:/Users/Anderson/.m2/repository/org/apache/maven/plugin
> s/maven-shade-plugin/2.0/maven-shade-plugin-2.0.jar
> [ERROR] urls[1] =
> file:/C:/Users/Anderson/.m2/repository/org/sonatype/sisu/sisu-
> inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[2] =
> file:/C:/Users/Anderson/.m2/repository/org/sonatype/sisu/sisu-
> guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[3] =
> file:/C:/Users/Anderson/.m2/repository/org/sonatype/aether/aet
> her-util/1.7/aether-util-1.7.jar
> [ERROR] urls[4] =
> file:/C:/Users/Anderson/.m2/repository/org/codehaus/plexus/ple
> xus-interpolation/1.14/plexus-interpolation-1.14.jar
> [ERROR] urls[5] =
> file:/C:/Users/Anderson/.m2/repository/org/codehaus/plexus/ple
> xus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[6] =
> file:/C:/Users/Anderson/.m2/repository/org/sonatype/plexus/ple
> xus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[7] =
> file:/C:/Users/Anderson/.m2/repository/org/sonatype/plexus/ple
> xus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[8] =
> file:/C:/Users/Anderson/.m2/repository/junit/junit/3.8.1/junit
> -3.8.1.jar
> [ERROR] urls[9] =
> file:/C:/Users/Anderson/.m2/repository/org/codehaus/plexus/ple
> xus-utils/3.0.1/plexus-utils-3.0.1.jar
> [ERROR] urls[10] =
> file:/C:/Users/Anderson/.m2/repository/asm/asm/3.3.1/asm-3.3.
> 1.jar
> [ERROR] urls[11] =
> file:/C:/Users/Anderson/.m2/repository/asm/asm-commons/3.3.1/
> asm-commons-3.3.1.jar
> [ERROR] urls[12] =
> file:/C:/Users/Anderson/.m2/repository/asm/asm-tree/3.3.1/asm
> -tree-3.3.1.jar
> [ERROR] urls[13] =
> file:/C:/Users/Anderson/.m2/repository/org/jdom/jdom/1.1/jdom
> -1.1.jar
> [ERROR] urls[14] =
> file:/C:/Users/Anderson/.m2/repository/org/apache/maven/share
> d/maven-dependency-tree/2.0/maven-dependency-tree-2.0.jar
> [ERROR] urls[15] =
> file:/C:/Users/Anderson/.m2/repository/backport-util-concurre
> nt/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[16] =
> file:/C:/Users/Anderson/.m2/repository/org/vafer/jdependency/
> 0.7/jdependency-0.7.jar
> [ERROR] urls[17] =
> file:/C:/Users/Anderson/.m2/repository/commons-io/commons-io/
> 1.3.2/commons-io-1.3.2.jar
> [ERROR] urls[18] =
> file:/C:/Users/Anderson/.m2/repository/asm/asm-analysis/3.2/a
> sm-analysis-3.2.jar
>
> I have Windows 7 and maven 3.1.1.
>
> Can anyone help me? Thank you
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/activemq-5-9-0-failure-in-Windows-with-maven-3-1-1-tp4673269.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



-- 
http://redhat.com
http://blog.garytully.com

Reply via email to