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

Robert Scholte closed ARCHETYPE-516.
------------------------------------
       Resolution: Duplicate
         Assignee: Robert Scholte
    Fix Version/s:     (was: 2.x)

Fixed as part of ARCHETYPE-488

> 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
>            Assignee: Robert Scholte
>              Labels: maven, windows
>
> 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)

Reply via email to