Maven 2 Cartridges Eclipse .classpath descriptor is no longer generated 
starting with version 2.2 of the maven-eclipse-plugin
-----------------------------------------------------------------------------------------------------------------------------

         Key: MAVEN-53
         URL: http://jira.andromda.org/browse/MAVEN-53
     Project: Maven Plugins
        Type: Bug

  Components: Cartridge  
    Versions: 3.2-RC1    
 Environment: maven-eclipse-plugin 2.2
    Reporter: Cédric Vidal
 Assigned to: Chad Brandon 
    Priority: Critical


Starting with version 2.2 of the maven-eclipse-plugin, the plugin considers 
that a project is a Java project if the language of the artifact is "java", if 
not, it doesn't generate the .classpath descriptor:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java?r1=390798&r2=391400

This is a problem with the andromda-cartridge-plugin's ArtifactHandler because 
the language is missing.

The solution is to simply add <language>java</language> to the <configuration/> 
of the org.apache.maven.artifact.handler.ArtifactHandler <component/> (after 
line 10).
http://andromda.cvs.sourceforge.net/andromda/maven/2/cartridge/src/main/resources/META-INF/plexus/components.xml?annotate=1.1

Cheers


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Reply via email to