JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5616

new clean builds fail on tools/archetypes

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 3.1.x, 3.2.x
  • Fix Version/s: 3.3.0
  • Component/s: Build: Maven
  • Labels:
    None
  • User impact:
    Medium
  • Log Output:
    Hide
    [INFO] Mule Tests for Maven Archetypes ................... SUCCESS [0.343s]
    [INFO] Test for Mule Catalog Archetype ................... FAILURE [6.466s]
    [INFO] Mule Example Archetype ............................ SKIPPED
    [INFO] Test for Mule Example Archetype ................... SKIPPED
    [INFO] Test for Mule Module Archetype .................... SKIPPED
    [INFO] Mule Project Archetype ............................ SKIPPED
    [INFO] Test for Mule Project Archetype ................... SKIPPED
    [INFO] Mule Transport Archetype .......................... SKIPPED
    [INFO] Test for Mule Transport Archetype ................. SKIPPED
    [INFO] Integration Tests running on JDK6 ................. SKIPPED
    [INFO] ibean-archetype ................................... SKIPPED
    [INFO] Mule Ant Tasks .................................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1:46:13.714s
    [INFO] Finished at: Thu Jun 23 01:34:23 PDT 2011
    [INFO] Final Memory: 175M/407M
    [INFO] ------------------------------------------------------------------------
    mavenExecutionResult exceptions not empty
    message : Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:execute (default) on project configuration-pattern-archetype: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    cause : org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    Stack trace :
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:execute (default) on project configuration-pattern-archetype: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    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:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
    at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:128)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:75)
    at hudson.remoting.UserRequest.perform(UserRequest.java:118)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:270)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.maven.plugin.MojoExecutionException: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:85)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 27 more
    Caused by: org.codehaus.gmaven.feature.ComponentException: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:171)
    at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:133)
    at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:73)
    at org.codehaus.gmaven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:239)
    at org.codehaus.gmaven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60)
    at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:69)
    ... 29 more
    Caused by: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1
    at org.codehaus.gmaven.plugin.execute.ExecuteMojo$FailClosure.call(ExecuteMojo.java:359)
    at org.codehaus.gmaven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl$1.call(ScriptExecutorFeature.java:77)
    at groovy.lang.Closure.call(Closure.java:292)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)
    at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1095)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1051)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
    at RunArchetype.runMaven(RunArchetype.groovy:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:246)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
    at RunArchetype.run(RunArchetype.groovy:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:167)
    ... 34 more
    Show
    [INFO] Mule Tests for Maven Archetypes ................... SUCCESS [0.343s] [INFO] Test for Mule Catalog Archetype ................... FAILURE [6.466s] [INFO] Mule Example Archetype ............................ SKIPPED [INFO] Test for Mule Example Archetype ................... SKIPPED [INFO] Test for Mule Module Archetype .................... SKIPPED [INFO] Mule Project Archetype ............................ SKIPPED [INFO] Test for Mule Project Archetype ................... SKIPPED [INFO] Mule Transport Archetype .......................... SKIPPED [INFO] Test for Mule Transport Archetype ................. SKIPPED [INFO] Integration Tests running on JDK6 ................. SKIPPED [INFO] ibean-archetype ................................... SKIPPED [INFO] Mule Ant Tasks .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:46:13.714s [INFO] Finished at: Thu Jun 23 01:34:23 PDT 2011 [INFO] Final Memory: 175M/407M [INFO] ------------------------------------------------------------------------ mavenExecutionResult exceptions not empty message : Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:execute (default) on project configuration-pattern-archetype: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 cause : org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 Stack trace : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:execute (default) on project configuration-pattern-archetype: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 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:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:128) at hudson.maven.Maven3Builder.call(Maven3Builder.java:75) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.maven.plugin.MojoExecutionException: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:85) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 27 more Caused by: org.codehaus.gmaven.feature.ComponentException: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:171) at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:133) at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:73) at org.codehaus.gmaven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:239) at org.codehaus.gmaven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60) at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:69) ... 29 more Caused by: org.apache.maven.plugin.MojoExecutionException: command did not execute properly: 1 at org.codehaus.gmaven.plugin.execute.ExecuteMojo$FailClosure.call(ExecuteMojo.java:359) at org.codehaus.gmaven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl$1.call(ScriptExecutorFeature.java:77) at groovy.lang.Closure.call(Closure.java:292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880) at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1095) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1051) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151) at RunArchetype.runMaven(RunArchetype.groovy:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:246) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155) at RunArchetype.run(RunArchetype.groovy:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.gmaven.runtime.support.ScriptExecutorSupport.invokeMethod(ScriptExecutorSupport.java:167) ... 34 more
  • Similar Issues:
    None

Description

When you build with a clean repo or a new version of Mule, you get the error in the logs section. The workaround is to go to the tools directory and run mvn install. Then re-running the build will work.

This affects us every time we run the build on a machine for the first time, or build the same branch with a new version, i.e. 3.2.2-SNAPSHOT

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MULE-5536 Tests for Mule Catalog Archetype won't build with a clean Maven repository

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Ramiro Rinaudo added a comment - 23/Nov/11 02:17 PM

This is a duplicate of MULE-5536

Show
Ramiro Rinaudo added a comment - 23/Nov/11 02:17 PM This is a duplicate of MULE-5536

People

  • Assignee:
    Ramiro Rinaudo
    Reporter:
    Daniel Zapata
Vote (0)
Watch (0)

Dates

  • Created:
    23/Jun/11 12:57 PM
    Updated:
    23/Nov/11 02:17 PM
    Resolved:
    23/Nov/11 02:17 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.