You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lonzak (JIRA)" <ji...@apache.org> on 2017/02/03 11:56:51 UTC

[jira] [Updated] (ARCHETYPE-516) archetype:create-from-project fails on Windows since Maven-3.3.x

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

Lonzak updated ARCHETYPE-516:
-----------------------------
    Description: 
When I execute the following command on my maven multi-module project it fails and I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create-from-project (default-cli) on project com.foo.project: Error configuring command-line. Reason: *Maven executable not found at: C:\Program Files\Maven-3.3\bin\mvn.bat*

Reason:
As of version 3.3.X, Maven renamed mvn.bat to mvn.cmd. This has been already fixed in other plugins like the maven-release-plugin (version 2.5.2) which suffered from the same error:

https://issues.apache.org/jira/browse/MRELEASE-902

  was:
When I execute the following command on my maven multi-module project it fails and I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create-from-project (default-cli) on project com.foo.project: Error configuring command-line. Reason: *Maven executable not found at: C:\Program Files\Maven-3.3\bin\mvn.bat*

Reason:
As of version 3.3.X, Maven renamed mvn.bat to mvn.cmd. This has been already fixed in other plurings like the maven-release-plugin (version 2.5.2) which suffered from the same error:

https://issues.apache.org/jira/browse/MRELEASE-902


> archetype:create-from-project fails on Windows since Maven-3.3.x
> ----------------------------------------------------------------
>
>                 Key: ARCHETYPE-516
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-516
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Creator
>    Affects Versions: 2.4
>         Environment: Windows
>            Reporter: Lonzak
>              Labels: maven, windows
>             Fix For: 2.x
>
>
> When I execute the following command on my maven multi-module project it fails and I get the following error:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create-from-project (default-cli) on project com.foo.project: Error configuring command-line. Reason: *Maven executable not found at: C:\Program Files\Maven-3.3\bin\mvn.bat*
> Reason:
> As of version 3.3.X, Maven renamed mvn.bat to mvn.cmd. This has been already fixed in other plugins like the maven-release-plugin (version 2.5.2) which suffered from the same error:
> https://issues.apache.org/jira/browse/MRELEASE-902



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)