Two other choices / possibilities.

a) Get wagon-2.0-beta2 into maven 2.0.5.

b) Rip out the dependency location section into a seperate maven-advanced-dependencies-report-plugin (madrp?). The dependencies report in MPIR is starting to get out of hand anyway. I also have some dependencies interrelation checks due (2 deps with same class present, transitive dep being overridden, overridden dep is identical version to transitive dep by version and/or bytecode, etc...)

- Joakim

Fabrizio Giustina wrote:
On 8/16/06, Brett Porter <[EMAIL PROTECTED]> wrote:
This seems like a bad thing.
Can we work around it?

The dependency on wagon API 2.0-beta2 was introduced by the code for
the new dependency location detail (disabled by default):
http://jira.codehaus.org/browse/MPIR-55

there is a single method call that is not available in the wagon
version used in maven 2.0.4,  wagon.resourceExists() (see WAGON-58 )
and that can't be emulated using wagon 1.0-alpha-6.

If we want to keep it compatable with maven 2.0.4 we have to remove
the dependency location section. Another pretty dirty solution could
be to automatically disable the dependency location section if the
wagon found in the classpath don't implement the resourceExists()
method.
Thoughts?

fabrizio




- Brett

On 16/08/2006 1:52 AM, [EMAIL PROTECTED] wrote:
> Author: fgiust
> Date: Tue Aug 15 08:52:38 2006
> New Revision: 431626
>
> URL: http://svn.apache.org/viewvc?rev=431626&view=rev
> Log:
> dependencies report doesn't work properly on maven 2.0.4 due to wagon version (missing Wagon.resourceExists(Ljava/lang/String;)Z)
>
> Modified:
>     maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml
>
> Modified: maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml > URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml?rev=431626&r1=431625&r2=431626&view=diff > ============================================================================== > --- maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml (original) > +++ maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml Tue Aug 15 08:52:38 2006
> @@ -39,7 +39,7 @@
>      </contributor>
>    </contributors>
>    <prerequisites>
> -    <maven>2.0.4</maven>
> +    <maven>2.0.5-SNAPSHOT</maven>
>    </prerequisites>
>    <build>
>      <plugins>
>
>


--
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

---------------------------------------------------------------------
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]



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

Reply via email to