Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1142

maven-archetype-starter failed in Windows OS due to [ARCHETYPE-488]

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 0.4.0
    • examples-java
    • None

    Description

      mvn clean install -DskipTests failed in maven-archetype-starter
      (Windows OS, maven version 3.3.x)
      Caused by: https://issues.apache.org/jira/browse/ARCHETYPE-488

      Logs:

      [INFO] Invoking post-archetype-generation goals: verify
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 32.082 s
      [INFO] Finished at: 2016-12-13T00:21:12+00:00
      [INFO] Final Memory: 32M/78M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
      .4:integration-test (default-integration-test) on project beam-sdks-java-maven-a
      rchetypes-starter:
      [ERROR] Archetype IT 'basic' failed: Cannot run additions goals.
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
      rg.apache.maven.plugins:maven-archetype-plugin:2.4:integration-test (default-int
      egration-test) on project beam-sdks-java-maven-archetypes-starter:
      Archetype IT 'basic' failed: Cannot run additions goals.
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:212)
      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.buildProje
      ct(LifecycleModuleBuilder.java:116)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:80)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
      adedBuilder.build(SingleThreadedBuilder.java:51)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
      eStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      356)
      Caused by: org.apache.maven.plugin.MojoExecutionException:
      Archetype IT 'basic' failed: Cannot run additions goals.
      at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(Integrat
      ionTestMojo.java:269)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
      BuildPluginManager.java:134)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:207)
      ... 20 more
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
      xception

      Attachments

        Issue Links

          Activity

            People

              peihe0@gmail.com Pei He
              peihe0@gmail.com Pei He
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: