Hi, I have raised a JIRA : http://jira.codehaus.org/browse/MECLIPSE-515
Thank you! "Barrie Treloar" <[email protected]> 17.12.2008 21:53 Bitte antworten an "Maven Users List" <[email protected]> An "Maven Users List" <[email protected]> Kopie Thema Re: maven-eclipse-plugin generates bad source-folders in combination with relative folders Can you raise a JIRA with a test case please? On Wed, Dec 17, 2008 at 10:04 PM, <[email protected]> wrote: > Hi, > > I want to migrate some existing projects to maven. > > My Directory-Stucture looks following: > > D:\ > - Projekte > - Maven > -maven-user-list > - maven-project-dir > - existing-src-dir > > I need to add the Sources in "existing-src-dir" to the pom in > "maven-project-dir". > > In my pom.xml I have only added the sourceDirectory: > > <build> > <sourceDirectory>../existing-src-dir</sourceDirectory> > </build> > > the goal eclipse:eclipse generates a wrong .classpath -File. > .classpath-File > <classpath> > <classpathentry kind="src" path="src/test/java" output= > "target/test-classes"/> > <classpathentry kind="src" path= > "D:/Projekte/Maven/maven-user-list/existing-src-dir"/> > <classpathentry kind="output" path="target/classes"/> > <classpathentry kind="con" path= > "org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="var" path= > "M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath= > "M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/> > </classpath> > > Eclipse showes following Error: > > Project 'maven-project-dir' is missing required source folder: > 'D:/Projekte/Maven/maven-user-list/existing-src-dir' maven-project-dir > Build path 1229511521041 2372324 > > > Can anybody help me? > > Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
