You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alberto Brandolini (JIRA)" <ji...@codehaus.org> on 2008/08/08 17:16:27 UTC

[jira] Created: (MECLIPSE-476) A wrongly spelled Artifac ID acusess a NullPointerException

A wrongly spelled Artifac ID acusess a NullPointerException
-----------------------------------------------------------

                 Key: MECLIPSE-476
                 URL: http://jira.codehaus.org/browse/MECLIPSE-476
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Improvement
          Components: Core : Workspace settings
         Environment: Ganymede on Vista, Maven2Integration 0.95
            Reporter: Alberto Brandolini


When creating a new MavenEnabled project I am prompted to put in grou Id and artifact ID. I left a space in the arifact ID String and had a NullPointerException (and another non significant message from eclipse).

Given that Group ID and Artifact ID have strict syntax requirement it would be nice if the plugin could validate against them instead of leaving us  with a somewhat misleading message. Some contextual information (Toolitips, for example) might come in handy. Maven is somewhat complex to startup and  groupID and artifact ID are "advanced concepts" that a new comer has to face from the very frist moment without appreciating the benefits (... yet).

-- 
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