[EMAIL PROTECTED] a écrit :
Emmanuel Hugonnet <[EMAIL PROTECTED]> schrieb am 28.11.2006
14:24:44:
I have to edit the pom.xml of
maven-plugin-tools-java to set the version of qdox to 1.6.1 and then all
is fine.
My solution in such a case:
- Download the source for the broken plugin
- Fix the dependencies
- Increment the version by 1 (i.e. 2.0.2 in this case).
- Deploy the new plugin to a local repository
Now, you can use this version in your projects until the bug is fixed.
You might also want to add -SNAPSHOT to the version but then, you have to
make sure that you're not getting into conflicts with the official
snapshots.
If the plugin is released with the very same version, you have to delete
it manually on your side but until then, you can work.
How about a -PATCH version? :-)
Regards,
Hi,
This is a temporary solution I use with a proximity proxy and an
overriding pom.xml but my question is more theorical than practical ;-)
Why can't I override this dependency ? To me this is a core maven
problem, it seems that since it is the core of maven plugin management
that doesn't take into account the configuration set in my pom.xml.
While I agree that you have these dependencies to core
maven-plugin-tools, I think it should be overridable.
I am no maven guru and I don't understand all of its arcane and this is
a bit to much hard-core for me, that's why I didn't post a Jira. I don't
know if its a feature or a bug :oP
Regards,
Emmanuel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]