maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter Zoons (JIRA)" <>
Subject [jira] Commented: (MDEP-7) [dependency-maven-plugin] ClassCastException caused by DefaultArtifact vs. ActiveProjectArtifact
Date Fri, 26 May 2006 08:29:41 GMT
    [ ] 

Wouter Zoons commented on MDEP-7:

is the patch going to be applied ? I'm systematically getting this error too in a multi-project/module
build, the only way not to have this error is by building locally in the offending project
as Christian explained

> [dependency-maven-plugin] ClassCastException caused by DefaultArtifact vs. ActiveProjectArtifact
> ------------------------------------------------------------------------------------------------
>          Key: MDEP-7
>          URL:
>      Project: Maven 2.x Dependency Plugin
>         Type: Bug

>     Reporter: Christian Schulte
>     Assignee: Brian Fox
>     Priority: Trivial
>  Attachments: ActiveProjectArtifact.patch
> I reproducible got a ClassCastException during copy-dependencies goal. There is a cast
to DefaultArtifact which fails if the actual instance is ActiveProjectArtifact which does
not extend DefaultArtifact. After patching the plugin and trying the old version again to
verify reproducibility the exception magically never appeared again so I cannot reproduce
the stacktrace somehow. However, the cast to DefaultArtifact can be changed to Artifact, I

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message