Hello,
I am not reading the mailing lists on a regular basis so please forgive me if that issue was raised already.

I do not want to restructure the SCM, so I made a symbolic link to the source code. That works fine with Maven in general, but the eclipse plugin substitutes the link with the hard path and adds it to the .classpath file when you call 'mvn eclipse:eclipse'. The Eclipse IDE does not except folders outside of the project folder and for that the generated Eclipse project cannot be opened in Eclipse and returns an error.

My current workaround is a shell script that creates a <project base>/src/main/java folder, calls 'mvn eclipse:eclipse' then deletes the java folder and creates the <project base>/src/main/java link to the sources.

Does anybody have a better suggestion?

- Bernhard


Bernhard C Gass
 Apple Computer Inc.
EAI Team
IS&T

T 408.974.3224



Reply via email to