George,
fixed.
The problem was the maven version.
Now.. I’m working with:
06:55:35 ~$ mvn --version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
2014-08-11T21:58:10+01:00)
Maven home: /usr/java/apache-maven-3.2.3
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.17.7-300.fc21.x86_64", arch:
"amd64",
family: "unix"
Because I didn’t find the 2.3.4 dist for download.
If someone has this problem, for now.. downgrade your maven:
Nice! Thank you George. :)
On Sun, Dec 28, 2014 at 6:13 PM, George Gastaldi <ggastald(a)redhat.com>
wrote:
It looks like this is a new Maven version. Try with 3.2.4 or 3.2.3
Em 28/12/2014, às 15:14, Daniel Cunha <danielsoro(a)gmail.com> escreveu:
Hey George,
My maven:
05:13:31 ~$ mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
2014-12-14T17:29:23+00:00)
Maven home: /usr/java/apache-maven-3.2.5
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.17.7-300.fc21.x86_64", arch:
"amd64",
family: "unix"
On Sun, Dec 28, 2014 at 5:03 PM, George Gastaldi <ggastald(a)redhat.com>
wrote:
> I have never seen this error before. What maven version are you using?
> Forge requires Maven 3.2.x+ to compile.
>
>
>
> Em 28/12/2014, às 12:55, Daniel Cunha <danielsoro(a)gmail.com> escreveu:
>
> Hey guys,
>
> Does someone has this problem?
>
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Furnace - CDI Container 2.13.1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cdi ---
> [INFO] Deleting /home/soro/git/furnace-cdi/addon/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ cdi ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ cdi ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ cdi
---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ cdi ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cdi ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
/home/soro/git/furnace-cdi/addon/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ cdi ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /home/soro/git/furnace-cdi/addon/target/classes
> [WARNING] bootstrap class path not set in conjunction with -source 1.7
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ cdi
---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
/home/soro/git/furnace-cdi/addon/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ cdi ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ cdi ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot (generate-dot) @ cdi
---
> [INFO] Generating
/home/soro/git/furnace-cdi/addon/target/classes/META-INF/resources/cdi-2.13.1-SNAPSHOT.dot
> Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError:
org/eclipse/aether/spi/connector/Transfer$State
> at
org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException:
org.eclipse.aether.spi.connector.Transfer$State
> at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Furnace - CDI Container Parent ..................... SUCCESS [ 2.206 s]
> [INFO] Furnace - CDI Container API ....................... SUCCESS [ 2.666 s]
> [INFO] Furnace - CDI Container Impl ...................... SUCCESS [ 2.449 s]
> [INFO] Furnace - CDI Container ............................ FAILURE [ 0.635 s]
> [INFO] Furnace - CDI Container Tests ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.524 s
> [INFO] Finished at: 2014-12-28T14:49:28+00:00
> [INFO] Final Memory: 24M/225M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot (generate-dot)
on project cdi: Execution generate-dot of goal
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot failed: A
required class was missing while executing
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot:
org/eclipse/aether/spi/connector/Transfer$State
> [ERROR] -----------------------------------------------------
> [ERROR] realm =
plugin>org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-maven-plugin/2.13.1-SNAPSHOT/furnace-maven-plugin-2.13.1-SNAPSHOT.jar
> [ERROR] urls[1] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace/2.13.1-SNAPSHOT/furnace-2.13.1-SNAPSHOT.jar
> [ERROR] urls[2] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-api/2.13.1-SNAPSHOT/furnace-api-2.13.1-SNAPSHOT.jar
> [ERROR] urls[3] =
file:/home/soro/.m2/repository/org/jboss/forge/xml-parser/1.0.0.Final/xml-parser-1.0.0.Final.jar
> [ERROR] urls[4] =
file:/home/soro/.m2/repository/org/jboss/forge/jboss-modules/1.3.0.Final-forge/jboss-modules-1.3.0.Final-forge.jar
> [ERROR] urls[5] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-proxy/2.13.1-SNAPSHOT/furnace-proxy-2.13.1-SNAPSHOT.jar
> [ERROR] urls[6] =
file:/home/soro/.m2/repository/org/jboss/forge/forge-javassist/2/forge-javassist-2.jar
> [ERROR] urls[7] =
file:/home/soro/.m2/repository/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0.8.3.jar
> [ERROR] urls[8] =
file:/home/soro/.m2/repository/org/jboss/logmanager/jboss-logmanager/1.4.1.Final/jboss-logmanager-1.4.1.Final.jar
> [ERROR] urls[9] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager/2.13.1-SNAPSHOT/furnace-manager-2.13.1-SNAPSHOT.jar
> [ERROR] urls[10] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-api/2.13.1-SNAPSHOT/furnace-manager-api-2.13.1-SNAPSHOT.jar
> [ERROR] urls[11] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-spi/2.13.1-SNAPSHOT/furnace-manager-spi-2.13.1-SNAPSHOT.jar
> [ERROR] urls[12] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-resolver-maven/2.13.1-SNAPSHOT/furnace-manager-resolver-maven-2.13.1-SNAPSHOT.jar
> [ERROR] urls[13] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
> [ERROR] urls[14] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[15] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar
> [ERROR] urls[16] =
file:/home/soro/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
> [ERROR] urls[17] =
file:/home/soro/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
> [ERROR] urls[18] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-connector-file/0.9.0.M2/aether-connector-file-0.9.0.M2.jar
> [ERROR] urls[19] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-connector-wagon/0.9.0.M2/aether-connector-wagon-0.9.0.M2.jar
> [ERROR] urls[20] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/2.4/wagon-http-lightweight-2.4.jar
> [ERROR] urls[21] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-http-shared4/2.4/wagon-http-shared4-2.4.jar
> [ERROR] urls[22] =
file:/home/soro/.m2/repository/org/jsoup/jsoup/1.7.1/jsoup-1.7.1.jar
> [ERROR] urls[23] =
file:/home/soro/.m2/repository/org/apache/httpcomponents/httpcore/4.2.3/httpcore-4.2.3.jar
> [ERROR] urls[24] =
file:/home/soro/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> [ERROR] urls[25] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-file/2.4/wagon-file-2.4.jar
> [ERROR] urls[26] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar
> [ERROR] urls[27] =
file:/home/soro/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[28] =
file:/home/soro/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------:
org.eclipse.aether.spi.connector.Transfer$State
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :cdi
>
>
> --
> Daniel Cunha (soro)
>
> _______________________________________________
> forge-dev mailing list
> forge-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-dev
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-dev
>
--
Daniel Cunha (soro)
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev