Martin Gainty wrote:
[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plu
gins:maven-remote-resources-plugin:1.0:process': Unable to load the mojo 'org.ap
ache.maven.plugins:maven-remote-resources-plugin:1.0:process' in the plugin 'org
.apache.maven.plugins:maven-remote-resources-plugin'. A required class is missin
g: org/apache/velocity/context/Context
org.apache.velocity.context.Context
So now you hoped to another issue? What changed since your first error
report? Again, we're missing information about the context.
the solution seems to be to repackage maven-remote-resources-plugin-1.0.jar
with Download.jar at
http://www.java2s.com/Code/Jar/MNOPQR/Downloadmavendownloader10jar.htm
i have a feeling that sticking in all these missing classes into
maven-remote-resources-plugin-1.0.jar
is not the right solution but i dont know a alternative
As can be seen in the maven-remote-resources-plugin-1.0.pom [0], both
velocity-dep:1.4 and maven-downloader:1.1 are declared as dependencies
of the plugin, so the question is why are those classes actually missing
in the plugin class path for you?
One reason could be that Maven downloaded some broken POMs/JARs, AFAIK
certain HTTP error pages occasionally make it into the local repo. So
you should retry after wiping out your local repo, and pay attention to
checksum failures while Maven re-downloads.
Benjamin
[0]
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-remote-resources-plugin/1.0/maven-remote-resources-plugin-1.0.pom
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org