eidner" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Fri, 18 Apr 2008 15:13:13 +0200
Subject: Re: Maven Microsoft Windows PowerShell
Hi James,
I never tried PowerShell before. Just thought that it will work out of
the box.
The suggestion with the quotes (also mentioned b
ell on top of Maven, so it certainly works with
2.0.9 if you add in the escaping.
Martin.
- Original message -
From: "Marc Weidner" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Fri, 18 Apr 2008 15:13:13 +0200
Subject: Re: Maven Microsoft Windows PowerShell
Hi James,
I never tried PowerShell before. Just thought that it will work out of
the box.
The suggestion with the quotes (also mentioned by Raphaël Piéroni) just
worked fine:
mvn.bat archetype:create "-DgroupId=com.mycompany.app" -DartifactId=my-app
I think there are also other issues rega
Have you tried adding some
double-quotes around arguments?
like:
mvn.bat archetype:create "-DgroupId=com.mycompany.app" -DartifactId=my-app
I don't have a powershell to test,
but as you can saw " Invalid task '.mycompany.app' "
means that the argument line was split incorrectly
Maybe it is the 'c
Marc,
It might be worth opening a JIRA for this one - I don't think
PowerShell is supported.
Had this been working correctly for you before hand? Does quoting the
arguments help?
James
On 18/04/2008, at 8:02 PM, Marc Weidner wrote:
Hi,
I'm having issues regarding using Maven 2.0.9 with
Hi,
I'm having issues regarding using Maven 2.0.9 with Microsoft Windows
PowerShell 1.0 and JDK 1.6.0_05.
I start PowerShell and set the JAVA_HOME environment variable via
$env:JAVA_HOME = "path-to-jdk".
When I issue the command mvn -version I get the version information
displayed. Then I