[ http://jira.codehaus.org/browse/MECLIPSE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnaud Heritier updated MECLIPSE-326: ------------------------------------- Testcase included: yes > m2eclipse goal does not respect additionalBuildcommands and > additionalProjectnatures defined in pom > --------------------------------------------------------------------------------------------------- > > Key: MECLIPSE-326 > URL: http://jira.codehaus.org/browse/MECLIPSE-326 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: M2Eclipse support > Affects Versions: 2.4 > Environment: win xp, jre/jdk 1.6, maven 2.0.7, maven-eclipse-plugin > 2.4 > Reporter: Tom Pasierb > Assignee: Arnaud Heritier > Fix For: 2.5.2 > > Attachments: m2eclipseMojoPatch.patch, > m2eclipseMojoPatchWithUnitTest.patch > > > I have defined additional buildCommand and projectNature in my pom.xml > After running eclipse:m2eclipse on my project, the produced eclipse project > descriptors contain neither of the above. > From what I saw in the source code the m2eclipseMojo uses the > setAdditionalBuildcommands and setAdditionalProjectnatures methods not > considering that the collections may already contain some entries. > I'm attaching a patch that solves this issue, however I have no experience in > developing mojos so I'm not sure if I'm doing it the right way. Should it be > acceptable please apply the patch. -- 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