Add input validation
--------------------

         Key: MNG-1312
         URL: http://jira.codehaus.org/browse/MNG-1312
     Project: Maven 2
        Type: Bug
  Components: maven-archetype-plugin  
    Versions: 2.0    
 Environment: WinXP SP2, JDK 1.5.0_05
 Reporter: Jon Ekdahl
    Priority: Minor


Add input verification and proper error message(s) in the case of invalid input.

The command
mvn archetype:create -DgroupId=my-group -DarchetypeId=my-app

creates an application with a generated App.java file that starts with the 
line: 
package my-group;

my-group is not a valid package definition, so the code won't compile ("mvn 
compile" fails).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to