Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10
-
Fix Version/s: 1.11
-
Labels:None
-
Environment:Maven 1.0.2 and Eclipse (OS neutral)
-
Number of attachments :
Description
The maven-eclipse-plugin creates a .project file with a name of $
{pom.artifactId}, which is fine if working with a single version of that single project, but when working on multiple version (maintenance on an old version, bug fixing current release, and active research on a future release) then that simple of a name makes things confusing in eclipse.
The patch (hopefully attached) will allow for a maven.eclipse.project.prefix variable that will prepend some text to the project name to allow for eclipse to have multiple versions of the same project loaded.
Ideally, this approach would also allow for a multiproject ecilpse generation with all of the projects having the same prefix (since Eclipse sorts the projects by name, this would have the effect of grouping all of those related multiprojects together)
Joakin,
Rather than providing a prefix, we should use a property for the whole name; something like this:
on plugin.properties:
maven.eclipse.project.name=$
{pom.artifactId}on project.jelly:
<name>$
{maven.eclipse.project.name}</name>
Could you update your code (including the test cases) with this property and send a new patch so I could apply it to SVN? (unfortunately, I'm lacking the time to do the change myself).
Tks,
– Felipe