You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "luigi malpeli (JIRA)" <ji...@codehaus.org> on 2007/11/27 11:24:57 UTC

[jira] Updated: (MECLIPSE-358) plugin installed via eclipse:install-plugins have the wrong name

     [ http://jira.codehaus.org/browse/MECLIPSE-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

luigi malpeli updated MECLIPSE-358:
-----------------------------------

    Attachment: eclipse-create.zip
                eclipse-plugin-patch.txt

Attached is a proposed patch and a maven project that should create an eclipse installation (features will be simply added as resources in the attached test project) in /target/tmp

unfortunately I couldn't find eclipse plugins for the required version in maven central repository
as a starting point you shoud unzip the attached zip and use 
mvn eclipse:to-maven -DeclipseDir=<path to your eclipse 3.2.1 folder>
from the "eclipse-create" folder

then run 
mvn install -DeclipseDir=target/tmp/eclipse

Using the patch the generated eclipse installation will map the original one.

To define the pom I used an eclipse 3.2.1+ rcp delta pack, in case you use a different release, dependencies version or artifacts could be different, anyway to test the different behaviour   just one dependency can be used.

> plugin installed via eclipse:install-plugins have the wrong name
> ----------------------------------------------------------------
>
>                 Key: MECLIPSE-358
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-358
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5
>         Environment: jdk 1.5.0_12 eclipse 3.2.x maven 2.0.7 win xp professional
>            Reporter: luigi malpeli
>         Attachments: eclipse-create.zip, eclipse-plugin-patch.txt
>
>
> when processing eclipse:install-plugins the plugins are installed using just the artifactId as name. This gives problems at least in the following cases:
> 1) when trying to modify/construct from scratch an original eclipse installation;
> 2) when trying to install different plugins with the same artifactId and version but different groupId, the first installed atrifact or the latter wins depending on the overwrite=false/true parameter setting;
> In my opinion the name should be a concat of the groupid a dot and the current proposed name.
> I'll attach a proposed patch and some test files ASAP.

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