I am using STS for spring roo project. when i execute command i get the following error
Build errors for articles;
org.apache.maven.lifecycle.LifecycleExecutionException:
Failed to execute goal
org.codehaus.mojo:aspectj-maven-plugin:1.0:compile
(default) on project articles:
Execution default of goal
org.codehaus.mojo:aspectj-maven-plugin:1.0:compile
failed: Plugin
org.codehaus.mojo:aspectj-maven-plugin:1.0
or one of its dependencies could not
be resolved: The following artifacts
could not be resolved:
org.aspectj:aspectjtools:jar:1.6.11.M1,
org.codehaus.plexus:plexus-utils:jar:1.1:
The repository system is offline but
the artifact
org.aspectj:aspectjtools:jar:1.6.11.M1
is not available in the local
repository.`
My internet is working fine. other dependencies download fine but not above one
I don’t know where this funny version comes from, but it’s certainly not to be found in Maven Central:
org.aspectj:aspectjtoolsversionsyou can do a
mvn dependency:tree -Dincludes=org.aspectjto see where the dependency is coming from and then set the dependency version to the current version (1.6.10).But apart from that,
this sounds like a needed repository was not available. Maybe a server is / was down, the error doesn’t have to be on your side.