Hello,
When I try and run the 'mvn test' target via command line or in
IntelliJ I get the below error. I am completely new to Maven. I
tried following the steps on the 10mindemo page and also by svn
checking out the finished demo project. Thank you.
ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) sun.jdk:tools:jar:1.5.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools -
Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=sun.jdk -DartifactId=tools -
Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to dependency:
1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.3
2) sun.jdk:tools:jar:1.5.0
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.3
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-
repository),
central (http://repo1.maven.org/maven2),
kungfuters-thirdparty-releases-repo (http://kungfuters.org/nexus/
content/repositories/thirdparty),
openqa-release-repo (http://archiva.openqa.org/repository/releases),
kungfuters-public-releases-repo (http://maven.kungfuters.org/content/
repositories/releases),
caja (http://google-caja.googlecode.com/svn/maven),
kungfuters-public-snapshots-repo (http://maven.kungfuters.org/
content/repositories/snapshots)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Jan 29 11:33:45 MST 2010
[INFO] Final Memory: 28M/79M
[INFO]
------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en.