org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: Archetype IT 'basic' failed: Some content are not equals

Sonatype JIRA | Ankur Trivedi | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I get the following error while using this archetype. The env used is: Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\Maven\apache-maven-3.0.3 Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_27\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" I have taken the project and unzipped it in c:\data\time when I run mvn clean install I get the following error message: ================================================================================== [WARNING] Contents of file features\my.company.do_something.feature\build.properties are not equal [WARNING] Contents of file features\my.company.do_something.feature\feature.properties are not equal [WARNING] Contents of file features\my.company.do_something.feature\feature.xml are not equal [WARNING] Contents of file features\my.company.do_something.feature\license.html are not equal [WARNING] Contents of file features\my.company.do_something.feature\pom.xml are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\build.properties are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\feature.properties are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\feature.xml are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\license.html are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something\build.properties are not equal [WARNING] Contents of file plugins\my.company.do_something\META-INF\MANIFEST.MF are not equal [WARNING] Contents of file plugins\my.company.do_something\plugin.properties are not equal [WARNING] Contents of file plugins\my.company.do_something\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something\src\main\java\my\company\do_something\Activator.java are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\build.properties are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\META-INF\MANIFEST.MF are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\plugin.properties are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\src\test\java\my\company\do_something\ActivatorTest.java are not equal [WARNING] Contents of file README are not equal [WARNING] Contents of file update-site\index.html are not equal [WARNING] Contents of file update-site\pom.xml are not equal [WARNING] Contents of file update-site\site.xml are not equal [WARNING] Contents of file update-site\web\site.xsl are not equal [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.001s [INFO] Finished at: Tue Nov 15 16:02:04 IST 2011 [INFO] Final Memory: 7M/247M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: [ERROR] Archetype IT 'basic' failed: Some content are not equals [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: Archetype IT 'basic' failed: Some content are not equals 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.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.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.MojoExecutionException: Archetype IT 'basic' failed: Some content are not equals at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:152) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [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/MojoExecutionException ====================================================================================

    Sonatype JIRA | 5 years ago | Ankur Trivedi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: Archetype IT 'basic' failed: Some content are not equals
  2. 0

    I get the following error while using this archetype. The env used is: Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\Maven\apache-maven-3.0.3 Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_27\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" I have taken the project and unzipped it in c:\data\time when I run mvn clean install I get the following error message: ================================================================================== [WARNING] Contents of file features\my.company.do_something.feature\build.properties are not equal [WARNING] Contents of file features\my.company.do_something.feature\feature.properties are not equal [WARNING] Contents of file features\my.company.do_something.feature\feature.xml are not equal [WARNING] Contents of file features\my.company.do_something.feature\license.html are not equal [WARNING] Contents of file features\my.company.do_something.feature\pom.xml are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\build.properties are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\feature.properties are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\feature.xml are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\license.html are not equal [WARNING] Contents of file features\my.company.do_something.source.feature\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something\build.properties are not equal [WARNING] Contents of file plugins\my.company.do_something\META-INF\MANIFEST.MF are not equal [WARNING] Contents of file plugins\my.company.do_something\plugin.properties are not equal [WARNING] Contents of file plugins\my.company.do_something\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something\src\main\java\my\company\do_something\Activator.java are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\build.properties are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\META-INF\MANIFEST.MF are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\plugin.properties are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\pom.xml are not equal [WARNING] Contents of file plugins\my.company.do_something.tests\src\test\java\my\company\do_something\ActivatorTest.java are not equal [WARNING] Contents of file README are not equal [WARNING] Contents of file update-site\index.html are not equal [WARNING] Contents of file update-site\pom.xml are not equal [WARNING] Contents of file update-site\site.xml are not equal [WARNING] Contents of file update-site\web\site.xsl are not equal [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.001s [INFO] Finished at: Tue Nov 15 16:02:04 IST 2011 [INFO] Final Memory: 7M/247M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: [ERROR] Archetype IT 'basic' failed: Some content are not equals [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: Archetype IT 'basic' failed: Some content are not equals 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.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.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.MojoExecutionException: Archetype IT 'basic' failed: Some content are not equals at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:152) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [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/MojoExecutionException ====================================================================================

    Sonatype JIRA | 5 years ago | Ankur Trivedi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:integration-test (default-integration-test) on project new-plugin-project-archetype: Archetype IT 'basic' failed: Some content are not equals
  3. 0

    Problem with 'mvn install' in learnlib-parent

    GitHub | 3 years ago | DerMichi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project core: Archetype IT 'basic' failed: Execution failure: exit code = 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot build archetypes on Windows

    GitHub | 7 months ago | tdiesler
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype- plugin:2.2:integration-test (default-integration-test) on project wildfly-camel-archetype-cdi: Archetype IT 'test-archetype-cdi' failed: Cannot run additions goals.

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Archetype IT 'basic' failed: Some content are not equals

      at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute()
    2. Maven Archetype Plugin
      IntegrationTestMojo.execute
      1. org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:152)
      1 frame
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      4 frames