[ https://issues.apache.org/jira/browse/BEAM-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15743800#comment-15743800 ]
ASF GitHub Bot commented on BEAM-1142: -------------------------------------- GitHub user peihe opened a pull request: https://github.com/apache/incubator-beam/pull/1588 [BEAM-1142] Upgrade maven-invoker to address maven bug ARCHETYPE-488. Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-<Jira issue #>] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt). --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/peihe/incubator-beam fix-archetypes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-beam/pull/1588.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1588 ---- commit b461617aaf3d727ff3319296929cc4e3e2f4c325 Author: Pei He <pe...@google.com> Date: 2016-12-13T01:41:59Z [BEAM-1142] Upgrade maven-invoker to address maven bug ARCHETYPE-488. ---- > maven-archetype-starter failed in Windows OS due to [ARCHETYPE-488] > ------------------------------------------------------------------- > > Key: BEAM-1142 > URL: https://issues.apache.org/jira/browse/BEAM-1142 > Project: Beam > Issue Type: Bug > Components: examples-java > Reporter: Pei He > Assignee: Pei He > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)