Hello,
I tried to define an Eclipse project as dependency in the project.xml.
But after calling maven eclipse maven tries to download a JAR instead
of adding an entry to the .classpath file. I used the sample code at
http://maven.apache.org/reference/plugins/eclipse/. Did I misunderstand
Martin Burger wrote:
Hello,
I tried to define an Eclipse project as dependency in the project.xml.
But after calling maven eclipse maven tries to download a JAR
instead of adding an entry to the .classpath file. I used the sample
code at http://maven.apache.org/reference/plugins/eclipse/.
Im quoting the answer of Tomas for about the same question i made few
months ago:
...
eclipse.dependency does not refer to an Eclipse project but only tells
the Eclipse plugin whether it should add the dependency to the
project's classpath. Since an Eclipse project is not recognized as a
Edmund Urbani schrieb am 30.06.2005 09:36:
The maven eclipse plugin just includes the artifacts from the maven
repository for you. It does not create dependencies between eclipse
projects (even though this would be desirable for SNAPSHOT
dependencies). AFAIK this can't be done with the current
Marcell Manfrin Barbacena schrieb am 30.06.2005 10:02:
However, you can add an Eclipse project to the classpath
by defining the following in your project.properties file:
maven.eclipse.classpath.include=/test1
This adds E:/test1 to the .classpath as classpathentry (note the drive
I agree with you that the docs are misleading...
Try that then:
maven.eclipse.classpath.include=${maven.eclipse.workspace}/project
[]'s
On 6/30/05, Martin Burger [EMAIL PROTECTED] wrote:
Marcell Manfrin Barbacena schrieb am 30.06.2005 10:02:
However, you can add an Eclipse project to the