0 Replies Latest reply: Aug 23, 2011 1:37 PM by Somostetoi Kilato RSS

JBoss trunk build fails

Somostetoi Kilato Newbie

Hi,

 

The build of the trunk, using maven, fails. Any hint?

I am using Java:

 

java version "1.7.0"

Java(TM) SE Runtime Environment (build 1.7.0-b147)

Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)

 

The output:

 

Calling .\tools\maven\bin\mvn.bat -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] JBoss Application Server Component Matrix
[INFO] JBoss Application Server Parent POM
[INFO] JBoss Application Server System
[INFO] JBoss Application Server System JMX
[INFO] JBoss Application Server Aspects
[INFO] JBoss Application Server Security
[INFO] JBoss Application Server Deployment
[INFO] JBoss Application Server Server
[INFO] JBoss Application Server Cluster
[INFO] JBoss Application Server Connector
[INFO] JBoss Application Server Management
[INFO] JBoss Application Server Command Line Client
[INFO] JBoss Application Server Main
[INFO] JBoss Application Server IIOP
[INFO] JBoss Application Server EJB3
[INFO] JBoss Application Server Hibernate Integration
[INFO] JBoss Application Server HornetQ Integration
[INFO] JBoss Application Server JBossAS Remoting
[INFO] JBoss Application Server Profile Service
[INFO] JBoss Application Server Resteasy
[INFO] JBoss Application Server Resteasy Distribution
[INFO] JBoss Application Server Tomcat
[INFO] JBoss Application Server Varia
[INFO] JBoss Application Server Weld Integration
[INFO] JBoss Application Server Weld Integration EE services
[INFO] JBoss Application Server Weld Integration MC Deployers
[INFO] JBoss Application Server Webservices
[INFO] JBoss Application Server Weld Integration EE Webtier services
[INFO] Weld JBoss AS Integration: MC Deployers for injection between Weld and MC
[INFO] JBoss Application Server Weld Integration Assembly
[INFO] JBoss Application Server Dependency Chain
[INFO] JBoss Application Server Build
[INFO] JBoss Application Server EmbeddedAS TestSuite
[INFO] JBoss Application Server Distribution
[INFO] JBoss Application Server Profile Service Client
[INFO] JBoss Application Server Resteasy Integration
[INFO] JBoss Application Server Client POM
[INFO] JBoss Application Server Testsuite
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server Component Matrix 6.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ jboss-as-component-matrix ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ jboss-as-component-matrix ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (ban-bad-dependencies) @ jboss-as-component-matrix ---
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ jboss-as-component-matrix ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-component-matrix ---
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\component-matrix\pom.xml to C:\Documents and Settings\grafl\.m2repository\org\jboss\jbossas\jboss-as-component-matrix\6.1.1-SNAPSHOT\jboss-as-component-matrix-6.1.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server Parent POM 6.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ jboss-as-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ jboss-as-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (ban-bad-dependencies) @ jboss-as-parent ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (set-build-properties) @ jboss-as-parent ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: H:\JWorld\src\java\anonsvn.jboss.org\trunk
[INFO] Storing buildNumber: 112092 at timestamp: 2011. augusztus 23. 19:25:30 CEST
[INFO]
[INFO] --- build-helper-maven-plugin:1.4:maven-version (default) @ jboss-as-parent ---
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ jboss-as-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-parent ---
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\pom.xml to C:\Documents and Settings\grafl\.m2\repository\org\jboss\jbossas\jboss-as-parent\6.1.1-SNAPSHOT\jboss-as-parent-6.1.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server System 6.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ jboss-as-system ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ jboss-as-system ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (ban-bad-dependencies) @ jboss-as-system ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (set-build-properties) @ jboss-as-system ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.4:maven-version (default) @ jboss-as-system ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jboss-as-system ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jboss-as-system ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ jboss-as-system ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-system ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ jboss-as-system ---
[INFO] Surefire report directory: H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\target\surefire-reports
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ jboss-as-system ---
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ jboss-as-system ---
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (assembly) @ jboss-as-system ---
[INFO] Building jar: H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\target\jboss-as-system-client.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-system ---
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\target\jboss-as-system.jar to C:\Documents and Settings\grafl\.m2\repository\org\jboss\jbossas\jboss-as-system\6.1.1-SNAPSHOT\jboss-as-system-6.1.1-SNAPSHOT.jar
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\pom.xml to C:\Documents and Settings\grafl\.m2\repository\org\jboss\jbossas\jboss-as-system\6.1.1-SNAPSHOT\jboss-as-system-6.1.1-SNAPSHOT.pom
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\target\jboss-as-system-sources.jar to C:\Documents and Settings\grafl\.m2\repository\org\jboss\jbossas\jboss-as-system\6.1.1-SNAPSHOT\jboss-as-system-6.1.1-SNAPSHOT-sources.jar
[INFO] Installing H:\JWorld\src\java\anonsvn.jboss.org\trunk\system\target\jboss-as-system-client.jar to C:\Documents and Settings\grafl\.m2\repository\org\jboss\jbossas\jboss-as-system\6.1.1-SNAPSHOT\jboss-as-system-6.1.1-SNAPSHOT-client.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server System JMX 6.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ jboss-as-system-jmx ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ jboss-as-system-jmx ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (ban-bad-dependencies) @ jboss-as-system-jmx ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (set-build-properties) @ jboss-as-system-jmx ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.4:maven-version (default) @ jboss-as-system-jmx ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jboss-as-system-jmx ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory H:\JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jboss-as-system-jmx ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ jboss-as-system-jmx ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 296 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-system-jmx ---
[INFO] Compiling 162 source files to H:\JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\metadata\test\AbstractMetaDataTest.java:[88,38] error: name clash: getDelegate(Class<?>) in AbstractMetaDataTest and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\integration\test\AbstractJMXAnnotationTest.
java:[65,38] error: name clash: getDelegate(Class<?>) in AbstractJMXAnnotationTest and getDelegate(Class) in AbstractIntegrationTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\DependsListAttributeNewUnitTestCase.java:[46,38] error: name clash: getDelegate(Class<?>) in DependsListAttributeNewUnitTestCase and getDelegate(Class) in AbstractSyste
mTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\basic\test\DoubleInstallOldUnitTestCase.java:[48,38] error: name clash: getDelegate(Class<?>) in DoubleInstallOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\AttributeOldUnitTe
stCase.java:[48,38] error: name clash: getDelegate(Class<?>) in AttributeOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same er
asure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\DependsListAttribu
teOldUnitTestCase.java:[50,38] error: name clash: getDelegate(Class<?>) in DependsListAttributeOldUnitTestCase and getDelegate(Class) in AbstractSyste
mTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\value\text\test\TextValueOldUnitT
estCase.java:[48,38] error: name clash: getDelegate(Class<?>) in TextValueOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same e
rasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\parse\test\ErrorInParseOldUnitTestCase.java:[47,38] error: name clash: getDelegate(Class<?>) in ErrorInParseOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[INFO] 8 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss Application Server Component Matrix ......... SUCCESS [0.578s]
[INFO] JBoss Application Server Parent POM ............... SUCCESS [0.922s]
[INFO] JBoss Application Server System ................... SUCCESS [18.578s]
[INFO] JBoss Application Server System JMX ............... FAILURE [29.375s]
[INFO] JBoss Application Server Aspects .................. SKIPPED
[INFO] JBoss Application Server Security ................. SKIPPED
[INFO] JBoss Application Server Deployment ............... SKIPPED
[INFO] JBoss Application Server Server ................... SKIPPED
[INFO] JBoss Application Server Cluster .................. SKIPPED
[INFO] JBoss Application Server Connector ................ SKIPPED
[INFO] JBoss Application Server Management ............... SKIPPED
[INFO] JBoss Application Server Command Line Client ...... SKIPPED
[INFO] JBoss Application Server Main ..................... SKIPPED
[INFO] JBoss Application Server IIOP ..................... SKIPPED
[INFO] JBoss Application Server EJB3 ..................... SKIPPED
[INFO] JBoss Application Server Hibernate Integration .... SKIPPED
[INFO] JBoss Application Server HornetQ Integration ...... SKIPPED
[INFO] JBoss Application Server JBossAS Remoting ......... SKIPPED
[INFO] JBoss Application Server Profile Service .......... SKIPPED
[INFO] JBoss Application Server Resteasy ................. SKIPPED
[INFO] JBoss Application Server Resteasy Distribution .... SKIPPED
[INFO] JBoss Application Server Tomcat ................... SKIPPED
[INFO] JBoss Application Server Varia .................... SKIPPED
[INFO] JBoss Application Server Weld Integration ......... SKIPPED
[INFO] JBoss Application Server Weld Integration EE services  SKIPPED
[INFO] JBoss Application Server Weld Integration MC Deployers  SKIPPED
[INFO] JBoss Application Server Webservices .............. SKIPPED
[INFO] JBoss Application Server Weld Integration EE Webtier services  SKIPPED
[INFO] Weld JBoss AS Integration: MC Deployers for injection between Weld and MC  SKIPPED
[INFO] JBoss Application Server Weld Integration Assembly  SKIPPED
[INFO] JBoss Application Server Dependency Chain ......... SKIPPED
[INFO] JBoss Application Server Build .................... SKIPPED
[INFO] JBoss Application Server EmbeddedAS TestSuite ..... SKIPPED
[INFO] JBoss Application Server Distribution ............. SKIPPED
[INFO] JBoss Application Server Profile Service Client ... SKIPPED
[INFO] JBoss Application Server Resteasy Integration ..... SKIPPED
[INFO] JBoss Application Server Client POM ............... SKIPPED
[INFO] JBoss Application Server Testsuite ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.203s
[INFO] Finished at: Tue Aug 23 19:26:19 CEST 2011
[INFO] Final Memory: 37M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project jboss-as-system-jmx:
Compilation failure: Compilation failure:
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\metadata\test\AbstractMetaDataTest.java:[88,38] error: name clash: getDelegate(Class<?>) in AbstractMetaDataTest and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\integration\test\AbstractJMXAnnotationTest.java:[65,38] error: name clash: getDelegate(Class<?>) in AbstractJMXAnnotationTest and getDelegate(Class) in AbstractIntegrationTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\DependsListAttributeNewUnitTestCase.java:[46,38] error: name clash: getDelegate(Class<?>) in DependsListAttributeNewUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\basic\test\DoubleInstallOldUnitTestCase.java:[48,38] error: name clash: getDelegate(Class<?>) in DoubleInstallOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\AttributeOldUnitTestCase.java:[48,38] error: name clash: getDelegate(Class<?>) in AttributeOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\attribute\test\DependsListAttributeOldUnitTestCase.java:[50,38] error: name clash: getDelegate(Class<?>) in DependsListAttributeOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\configure\value\text\test\TextValueOldUnitT
estCase.java:[48,38] error: name clash: getDelegate(Class<?>) in TextValueOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] \JWorld\src\java\anonsvn.jboss.org\trunk\system-jmx\src\test\java\org\jboss\test\system\controller\parse\test\ErrorInParseOldUnitTestCase.java:[47,38] error: name clash: getDelegate(Class<?>) in ErrorInParseOldUnitTestCase and getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project jboss-as-system-jmx: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
        at org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:161)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
        ... 19 more
[ERROR]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jboss-as-system-jmx

Best regards,

SK