Lonzak created ARCHETYPE-516:
--------------------------------

             Summary: 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
             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 plurings 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