[ http://jira.codehaus.org/browse/MNG-827?page=comments#action_45732 ] 

Mark Hobson commented on MNG-827:
---------------------------------

Not too sure about that since we'd end up with rather verbose project names, 
e.g. myproject-1.5.3-SNAPSHOT.  If any SNAPSHOT suffix was dropped then perhaps 
it could be managable.

Linking to projects within the workspace is a nice idea, although I'm not too 
sure about how maven's strict dependency versioning could still be maintained.  
For example, if a:1.0 depended on b:1.0 and b:1.1 was in the workspace would a 
be linked to b?  If so then eclipse could happily compile a with b:1.1 during 
coding, but then maven might break at buildtime since it expects b:1.0.

A solution might be to use the full artifactId:version for the project name, 
but still things could get out of sync when SNAPSHOTs are involved - eclipse 
would be working with the latest source code whereas maven would be working 
with the last installed SNAPSHOTs.  We then have the complexity of groupIds to 
add into the mix - how would we deal with like-named artifactIds that belong to 
different groupIds within the same workspace?

I personally like the non-linking behaviour of .classpath files since you know 
for sure that eclipse and maven are seeing eye-to-eye.

> Allow eclipse plugin .project name to be customised
> ---------------------------------------------------
>
>          Key: MNG-827
>          URL: http://jira.codehaus.org/browse/MNG-827
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson

>
>
> Currently the EclipseWriter uses the POM artifactId as the eclipse project 
> name in .project.  This should be configurable for use-cases where different 
> versions of the same project are used within the same eclipse workspace 
> (since eclipse project names must be unique within workspaces).

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