I also discovered the bit with removing the /repository causing the subsequent ClassNotFoundException. I think it's due to the fact that plugin dependencies are assumed to have been satisfied once plugins have been initialized the first time. I believe there may be a Jira entry for this.
Robles, Rogelio wrote:
Under this circumstances, relative file URLs, Maven is unable to supply jar dependencies to its plugins.
I'm using the jar:install goal in my component, and the first plugin to be loaded it seems that is maven-artifact-plugin-1.0-SNAPSHOT and Maven couldn't find its dependencies.
If I use an absolute file URL for maven.repo.remote everything works fine, but I cannot use this as a solution since other developers will have different SCM work directories.
In other things I found the following, if I erase the "/repository"
directory from my local repository I get a java.lang.ClassNotFoundException:
velocity at the middle of the jar dependencies copying, if I run maven
again, everything works fine :-\. I erased that directory when I was trying
to have a new local repository but just the jar files.
I don't know if this new or not, I'll post it into JIRA anyway.
Rogelio
-----Original Message----- From: Robles, Rogelio [mailto:[EMAIL PROTECTED]
overrides-----Original Message----- From: Colin Sampaleanu [mailto:[EMAIL PROTECTED]
However, note that there are some _severe_ issues with repo
and plugins. Plugins don't seem to be able to pick up remote and local repo overrides from a project's property files.Yes, now I'm stuck at the same place as you (I'm using maven-beta-10), some
plugins dependencies are not being copied over from the remote repositories.
I need to find out which plugins are and how they are getting their dependencies.
--------------------------------------------------------------------- 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]
