maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MNG-6072) Cannot build archetypes on Windows
Date Fri, 29 Jul 2016 15:00:22 GMT

     [ https://issues.apache.org/jira/browse/MNG-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Diesler updated MNG-6072:
--------------------------------
    Environment: 
{code}
Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:27+01:00)
Maven home: C:\Program Files\Java\apache-maven-3.3.1
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_101\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "dos"
{code}

  was:
Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:27+01:00)
Maven home: C:\Program Files\Java\apache-maven-3.3.1
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_101\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "dos"


> Cannot build archetypes on Windows
> ----------------------------------
>
>                 Key: MNG-6072
>                 URL: https://issues.apache.org/jira/browse/MNG-6072
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1, 3.3.3, 3.3.9
>         Environment: {code}
> Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:27+01:00)
> Maven home: C:\Program Files\Java\apache-maven-3.3.1
> Java version: 1.8.0_101, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_101\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "dos"
> {code}
>            Reporter: Thomas Diesler
>
> {code}
> [INFO] --- maven-archetype-plugin:2.2:integration-test (default-integration-test) @ wildfly-camel-archetype-cdi
---
> [INFO] Processing Archetype IT project: test-archetype-cdi
> [INFO] ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating project from Archetype: wildfly-camel-archetype-cdi:4.2.0-SNAPSHOT
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: org.wildfly.camel.archetype.test
> [INFO] Parameter: artifactId, Value: wildfly-camel-archetype-cdi-test
> [INFO] Parameter: version, Value: 1.0
> [INFO] Parameter: package, Value: org.wildfly.camel.archetype.test
> [INFO] Parameter: packageInPathFormat, Value: org/wildfly/camel/archetype/test
> [INFO] Parameter: version-wildfly-arquillian, Value: 1.0.2.Final
> [INFO] Parameter: version-jboss-arquillian, Value: 1.1.10.Final
> [INFO] Parameter: version-wildfly, Value: 10.0.0.Final
> [INFO] Parameter: groupId, Value: org.wildfly.camel.archetype.test
> [INFO] Parameter: version-junit, Value: 4.11
> [INFO] Parameter: version, Value: 1.0
> [INFO] Parameter: version-maven-war-plugin, Value: 2.5
> [INFO] Parameter: version-apache-camel, Value: 2.17.2
> [INFO] Parameter: package, Value: org.wildfly.camel.archetype.test
> [INFO] Parameter: version-wildfly-maven-plugin, Value: 1.1.0.Alpha7
> [INFO] Parameter: version-maven-compiler-plugin, Value: 3.1
> [INFO] Parameter: artifactId, Value: wildfly-camel-archetype-cdi-test
> [INFO] Parameter: version-wildfly-camel, Value: 4.2.0-SNAPSHOT
> [INFO] Parameter: version-maven-surefire-plugin, Value: 2.18.1
> [INFO] project created from Archetype in dir: C:\Users\Administrator\git\wildfly-camel\archetypes\archetype-cdi\target\t
> est-classes\projects\test-archetype-cdi\project\wildfly-camel-archetype-cdi-test
> [INFO] Invoking post-archetype-generation goals: verify -Parq-managed -Djboss.home=C:\\Users\\Administrator\\git\\wildfl
> y-camel\\archetypes\\archetype-cdi\\target\\wildfly-10.0.0.Final -Dserver.config=standalone.xml
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10.142 s
> [INFO] Finished at: 2016-07-29T11:30:52+02:00
> [INFO] Final Memory: 65M/762M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test
(default-integration
> -test) on project wildfly-camel-archetype-cdi:
> [ERROR] Archetype IT 'test-archetype-cdi' failed: Cannot run additions goals.
> [ERROR] -> [Help 1]
> 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.
>         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.buildProject(LifecycleModuleBuilder.java:116)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.
> java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.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(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException:
> Archetype IT 'test-archetype-cdi' failed: Cannot run additions goals.
>         at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:268)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.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 read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> PS C:\Users\Administrator\git\wildfly-camel\archetypes\archetype-cdi>
> {code}
> This still works with maven-3.2.5, but breaks from maven-3.3.1 onward
> To reproduce
> {code}
> > git clone -b 4.1.0 https://github.com/wildfly-extras/wildfly-camel.git
> > cd wildfly-camel
> > mvn clean install -pl .\archetypes\archetype-cdi -am -Dts.all
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message