[ https://jira.codehaus.org/browse/MECLIPSE-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MECLIPSE-657. ----------------------------------- Resolution: Won't Fix Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out. > eclipse:myeclipse generates wrong .classpath file while eclipse:eclipse > generates correct one > --------------------------------------------------------------------------------------------- > > Key: MECLIPSE-657 > URL: https://jira.codehaus.org/browse/MECLIPSE-657 > Project: Maven Eclipse Plugin > Issue Type: Bug > Components: MyEclipse support > Affects Versions: 2.8 > Environment: Windows XP, Maven 2.2.1 > Reporter: Wayne Fuller > Priority: Minor > > In my pom.xml file for a war project, I have the following entry in the > <build><resources> section > {code:xml|title=pom.xml|borderStyle = solid} > <resources> > <resource> > <directory>src/main/resources</directory> > <filtering>true</filtering> > </resource> > </resources> > <testResources> > <testResource> > <directory>src/test/resources</directory> > </testResource> > </testResources> > {code} > When I generate the eclipse project and classpath files using mvn > eclipse:eclipse the following is generated which is correct. > {code:title=.classpath|borderStype = solid} > <classpathentry kind="src" path="src/test/java" output="target/test-classes" > including="**/*.java"/> > <classpathentry kind="src" path="src/test/resources" > output="target/test-classes" excluding="**/*.java"/> > <classpathentry kind="src" path="src/main/java" including="**/*.java"/> > <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> > <classpathentry kind="output" path="target/classes"/> > {code} > But if I generate using eclipse:myeclipse the following is generated where > the output is wrong. > {code:title=.classpath|borderStype = solid} > <classpathentry kind="src" path="src/test/java" output="target/test-classes" > including="**/*.java"/> > <classpathentry kind="src" path="src/test/resources" > output="target/test-classes" excluding="**/*.java"/> > <classpathentry kind="src" path="src/main/java" > output="/src/main/webapp/WEB-INF/classes" including="**/*.java"/> > <classpathentry kind="src" path="src/main/resources" > output="/src/main/webapp/WEB-INF/classes" excluding="**/*.java"/> > <classpathentry kind="output" path="target/classes"/> > {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)