On 2/12/06, Chris Markle <[EMAIL PROTECTED]> wrote:
> Sorry for my dense-ness here but I do not understand this. I am playing
> with the javadoc plugin which is invoked by the maven-report-impl code.

Actually, the report-impl code is used by the javadoc plugin, which is
invoked by the site plugin.

> But when I put a dependency in my-app for maven-report-impl, maven still
> seems to select the 2.0 version. I will include the -X output for
> running in my-app the "mvn -X javadoc:javadoc" goal (ignore my debug
> stmts in the javadoc plugin) and also my pom for my-app. You can see
> that it selects maven-report-impl 2.0 for runtime after claiming at the
> top that it will select maven-report-impl 2.0.3-SNAPSHOT... Am I using
> the dependency right in here?

It's not very clear, but there are resolution steps for each plugin,
as well as the project itself. the 2.0.3 one is for your project,
where you have asked to use the snapshot. The other one is for the
plugin, that asks to use the old version.

> When you said above "You need to change the <dependencies> element in
> whichever plugin or project needs to use it, then reinstall them" what
> does "them" refer to?

It seems you want to change the dependency in the javadoc plugin's
pom.xml, then run mvn install on the javadoc plugin sources.

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to