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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to