Hi,

I have raised a JIRA : http://jira.codehaus.org/browse/MECLIPSE-515

Thank you!






"Barrie Treloar" <baerr...@gmail.com> 
17.12.2008 21:53
Bitte antworten an
"Maven Users List" <users@maven.apache.org>


An
"Maven Users List" <users@maven.apache.org>
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,  <thomas.rosend...@bg-phoenics.de> 
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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


Reply via email to