You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Petar Tahchiev <pa...@gmail.com> on 2016/04/27 12:16:41 UTC
Archetype Maven On Windows Is Searching for BAT file
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
Re: Archetype Maven On Windows Is Searching for BAT file
Posted by Robert Scholte <rf...@apache.org>.
I've fixed ARCHETYPE-488
Robert
On Wed, 27 Apr 2016 12:39:14 +0200, Petar Tahchiev <pa...@gmail.com>
wrote:
> Thanks Stuart,
>
> that sounds like it.
>
> 2016-04-27 12:32 GMT+02:00 Stuart McCulloch <mc...@gmail.com>:
>
>> Sounds like https://issues.apache.org/jira/browse/ARCHETYPE-488
>>
>> On Wednesday, 27 April 2016 at 11:17, Petar Tahchiev wrote:
>> > [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 <paranoiabla@gmail.com
>> (mailto:paranoiabla@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
>> >
>> >
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Archetype Maven On Windows Is Searching for BAT file
Posted by Petar Tahchiev <pa...@gmail.com>.
Thanks Stuart,
that sounds like it.
2016-04-27 12:32 GMT+02:00 Stuart McCulloch <mc...@gmail.com>:
> Sounds like https://issues.apache.org/jira/browse/ARCHETYPE-488
>
> On Wednesday, 27 April 2016 at 11:17, Petar Tahchiev wrote:
> > [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 <paranoiabla@gmail.com
> (mailto:paranoiabla@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
> >
> >
>
>
>
--
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
Re: Archetype Maven On Windows Is Searching for BAT file
Posted by Stuart McCulloch <mc...@gmail.com>.
Sounds like https://issues.apache.org/jira/browse/ARCHETYPE-488
On Wednesday, 27 April 2016 at 11:17, Petar Tahchiev wrote:
> [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 <paranoiabla@gmail.com (mailto:paranoiabla@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
>
>
Re: Archetype Maven On Windows Is Searching for BAT file
Posted by Petar Tahchiev <pa...@gmail.com>.
[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 <pa...@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