Remove classpathentry entries for maven dependencies
----------------------------------------------------

                 Key: MECLIPSE-644
                 URL: http://jira.codehaus.org/browse/MECLIPSE-644
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Dependencies resolution and build path (.classpath)
    Affects Versions: 2.8
         Environment: maven 2.2.1
            Reporter: Saravanan V


In the below eclipse:eclipse generated classpath file, the entries for maven 
dependencies are added. This should be removed since 
org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER includes the maven 
dependencies. Due to this classpath entry, the war file does not include the 
jar files in lib folder.

<classpath>
        <classpathentry excluding="test/" 
including="resources|src/test/resources|src/test/java|**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
        <classpathentry excluding="**/*.java" kind="src" 
output="target/test-classes" path="src/test/resources"/>
        <classpathentry excluding="test/" 
including="resources|src/test/resources|src/test/java|**/*.java" kind="src" 
path="src"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-2.5.0.jar"/>
        <classpathentry kind="con" 
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
                        <attributes>
                                <attribute 
name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
                        </attributes>
                </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
</classpath>

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

        

Reply via email to