[ 
https://jira.codehaus.org/browse/MNG-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324707#comment-324707
 ] 

John Lockwood commented on MNG-4521:
------------------------------------

I also can confirm that Andre's patch works perfectly and fixes the issue on 
TakeCommand.

I confirmed fixed on the full, registered version:  TCC  12.10.58   Windows 7 
[Version 6.1.7601], and the following free versions: TCC LE  13.04.63 x64   
Windows 7 [Version 6.1.7601]
TCC LE  13.06.76 x64   Windows 7 [Version 6.1.7601].

Like Jeff I spent a long time trying to figure this one out -- the five minute 
guide 
(http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html) 
doesn't work  without this patch, so for TakeCommand users the impression is 
that the product doesn't work at all.

Recommend applying the patch ASAP.  Thanks.
                
> Using Take Command (LE) you are not able to create a new project
> ----------------------------------------------------------------
>
>                 Key: MNG-4521
>                 URL: https://jira.codehaus.org/browse/MNG-4521
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Windows XP Pro (32-Bit) and Take Command LE(Freeware 
> Edition of JP-Soft)
>            Reporter: Andre von Deetzen
>             Fix For: Issues to be reviewed for 3.x
>
>         Attachments: TCC-JP-Soft_command_line_patch-mvn2.patch, 
> TCC-JP-Soft_command_line_patch-mvn3.patch
>
>
> Creating a new project with the given example from Guide to Webapps 
> (http://maven.apache.org/guides/mini/guide-webapp.html) does not work and 
> results with
> c:\temp> mvn archetype:create -DgroupId=com.mycompany.app 
> -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
> [...]
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Invalid task 'com.mycompany.app': you must specify a valid lifecycle 
> phase, or a goal in the format plugin:goal or 
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> [...]
> If you are doing a 
> echo %MAVEN_CMD_LINE_ARGS% 
> you will see that the equal signs (=) will not be there. This is because of 
> the use of %$ getting all parameters. Maybe this was the default in 4NT but 
> with Take Command you have to use %*
> Tested with TCC LE  11,00,37   Windows XP [Version 5,1,2600]
> Testcase:
> Execute "mvn archetype:create -DgroupId=com.mycompany.app 
> -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp" in Take 
> Command. Using the original mvn.bat it will result in the error above. If 
> this error is fixed, a project will be created successfully.
> Created a little patch for maven2 and 3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to