[ http://jira.codehaus.org/browse/MECLIPSE-66?page=comments#action_61598 ]
Trustin Lee commented on MECLIPSE-66:
-------------------------------------
Sorry for the previous complaints. It seems like this issue already has been
resolved in maven-eclipse-plugin-2.1 and nightly build of Maven 2.0.3-SNAPSHOT.
Please add a plugin to your pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.1</version>
</plugin>
...
> Java Build Path of dependency with scope "system" is prefixed with the
> M2_REPO system classpath variable
> --------------------------------------------------------------------------------------------------------
>
> Key: MECLIPSE-66
> URL: http://jira.codehaus.org/browse/MECLIPSE-66
> Project: Maven 2.x Eclipse Plugin
> Type: Bug
> Environment: M2 2.0.2
> Reporter: Kristian Nordal
>
>
> I have a dependency defined like this:
> <dependency>
> <groupId>oink</groupId>
> <artifactId>oink</artifactId>
> <version>1.0.0</version>
> <scope>system</scope>
> <systemPath>${basedir}/oink/oink/1.0.0/oink-1.0.0.jar</systemPath>
> </dependency>
> mvn eclipse:eclipse puts an entry in .classpath like this:
> <classpathentry kind="var"
> path="M2_REPO//Users/kristian/hisp/scm/trunk/dhis-2-web/dhis-rt/oink/oink/1.0.0/oink-1.0.0.jar"/>
> I guess it should be something like this:
> <classpathentry kind="lib"
> path="/Users/kristian/hisp/scm/trunk/dhis-2-web/dhis-rt/oink/oink/1.0.0/oink-1.0.0.jar"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira