[ 
https://issues.apache.org/jira/browse/MECLIPSE-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MECLIPSE-634.
-----------------------------------
    Resolution: Won't Fix
      Assignee: Robert Scholte

The Apache Maven team has decided to retire the maven-eclipse-plugin, so this 
issue won't be fixed. 


> projectNameTemplate not applied to project references
> -----------------------------------------------------
>
>                 Key: MECLIPSE-634
>                 URL: https://issues.apache.org/jira/browse/MECLIPSE-634
>             Project: Maven Eclipse Plugin (RETIRED)
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.7
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_16
> Java home: C:\Program Files\Java\jdk1.6.0_16\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows"
>            Reporter: Gary Gregory
>            Assignee: Robert Scholte
>
> When I run the command:
> mvn -Psetup.eclipse -Declipse.projectNameTemplate=[artifactId]-2.2.x
> I get .project files like this one:
> {code:xml}
> <projectDescription>
>   <name>cxf-api-2.2.x</name>
>   <comment/>
>   <projects>
>     <project>cxf-common-schemas</project>
>     <project>cxf-common-utilities</project>
>     <project>cxf-xjc-dv</project>
>   </projects>
>   <buildSpec>
>     <buildCommand>
>       <name>org.eclipse.jdt.core.javabuilder</name>
>     </buildCommand>
>     <buildCommand>
>       <name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name>
>     </buildCommand>
>     <buildCommand>
>       <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
>     </buildCommand>
>     <buildCommand>
>       <name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>
>     </buildCommand>
>   </buildSpec>
>   <natures>
>     <nature>org.eclipse.jdt.core.javanature</nature>
>     <nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
>     <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
>     <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
>   </natures>
> </projectDescription>
> {code}
> You will notice the name has been correctly written:
> {code:xml}
> <name>cxf-api-2.2.x</name>
> {code}
> BUT, the references do not have the correct names:
> {code:xml}
>   <projects>
>     <project>cxf-common-schemas</project>
>     <project>cxf-common-utilities</project>
>     <project>cxf-xjc-dv</project>
>   </projects>
> {code}
> They should be:
> {code:xml}
>   <projects>
>     <project>cxf-common-schemas-2.2.x</project>
>     <project>cxf-common-utilities-2.2.x</project>
>     <project>cxf-xjc-dv-2.2.x</project>
>   </projects>
> {code}
> Which cause the projects to be marked with errors in Eclipse and the 
> workspace build cannot complete.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to