[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:2.4:create-from-project
(default-cli) on project samplestore: Error configuring command-line.
Reason: Maven executable not found at:
C:\apache\apache-maven-3.3.9-bin\apache-maven-3.3.9\bin\mvn.bat -> [Help 1]

It is looking for a bat file, and in my maven 3.3.9 I have mvn.cmd file.
When I copy the mvn.cmd and rename it to mvn.bat it works fine.

This only happens with maven archetype.

Does any one know why is it looking for a bat file?

2016-04-27 12:16 GMT+02:00 Petar Tahchiev <paranoia...@gmail.com>:

> Hi guys,
>
> I'm on windows 10 now (yeah I know). I have a project and I want to
> generate archetype out of it.
>
> I do the command that works on linux but now it gives this:
>
>
>
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> ---
> Public PGP Key at:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
>



-- 
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Reply via email to