Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-644

Remove classpathentry entries for maven dependencies

    XMLWordPrintableJSON

Details

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            saro Saravanan V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: