Hello,

I try to upgrade maven from 2.0.8 to 2.0.9. I have pb with a system dependency:
Here are the dependencies in a parent pom:
  <dependencyManagement>
          <dependency>
              <groupId>com.sun</groupId>
              <artifactId>tools</artifactId>
              <version>1.4.2</version>
              <scope>system</scope>
              <systemPath>${java.home}/../lib/tools.jar</systemPath>
          </dependency>

When i try to compile a child project of this pom, i have this error:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun:tools:jar:1.4.2

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
      1) com.xxxxxxx:common:jar:2.1-SNAPSHOT
      2) com.sun:tools:jar:1.4.2

----------
1 required artifact is missing.

for artifact:
com.xxxxxxx:common:jar:2.1-SNAPSHOT

from the specified remote repositories:
repository-snapshots
repository-releases


Is there a known bugs of this (i found nothing in JIRA) ? Or there is a thing to do when i upgrade?

Thanks for Help

Jérémy SOULA



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



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

Reply via email to