I get the following error message while trying to do a maven build in eclipse:
[ERROR] Failed to execute goal
org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on
project LogicModelDemo: Execution default of goal
org.codehaus.mojo:aspectj-maven-plugin:1.2:compile failed: Plugin
org.codehaus.mojo:aspectj-maven-plugin:1.2 or one of its dependencies
could not be resolved: Missing:
----------
1) com.sun:tools:jar:1.6.0_11
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.6.0_11 -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.6.0_11 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.codehaus.mojo:aspectj-maven-plugin:maven-plugin:1.2
2) com.sun:tools:jar:1.6.0_11
----------
1 required artifact is missing.
for artifact:
org.codehaus.mojo:aspectj-maven-plugin:maven-plugin:1.2
from the specified remote repositories:
appfuse-snapshots
(http://oss.sonatype.org/content/repositories/appfuse-snapshots,
releases=false, snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[ERROR]
Help is appreciated.
Thanks,
Sonia.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]