Details
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:
Attachments
Issue Links
- duplicates
-
ARCHETYPE-488 Goal integration-test of maven-archetype-plugin fails with 'Cannot run additions goals." in version 3.3.1
- Closed