[ 
http://jira.codehaus.org/browse/MNG-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94824
 ] 

Jacob Robertson commented on MNG-2968:
--------------------------------------

Let me give an example of where you might like to have dots which follow the 
expected java package structure inside a project.

project name:webservices.util
cvs module name:webservices.util
groupId:com.mycompany.webservices
artifactId:webservices.util

project name:webservices.xfire
cvs module name:webservices.xfire
groupId:com.mycompany.webservices
artifactId:webservices.xfire

We wouldn't want to have an artifact id of just "util" for the first project, 
because that would be confusing and problematic with tools like 
copy-dependencies since we'd undoubtably have more than one project with an 
artifact of "util".  So, we'd be more likely to do "webservices-util" which now 
means our artifact id is out of synch with (A) the project name, (B) the cvs 
module name and (C) the java package name.

> Forbid dots in artifactId
> -------------------------
>
>                 Key: MNG-2968
>                 URL: http://jira.codehaus.org/browse/MNG-2968
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: POM
>    Affects Versions: 2.0.6, 2.1-alpha-1
>            Reporter: Carlos Sanchez
>             Fix For: 2.1-alpha-1
>
>
> artifactIds with dots are potential trouble. They prevent using 
> groupId.artifactId as identifier and later parse it back

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

        

Reply via email to