Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
JDK1.5
Description
When a sub-project tries to copy dependencies from another sub-project some of the artifacts are ActiveProjectArtifact's which doesn't cast to DefaultArtifact but to Artifact. Changing the casting fixes that.
[INFO] [dependency:copy-dependencies
{execution: copy-dependencies}]
[INFO] Including Transitive Dependencies.
[INFO] ----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] org.apache.maven.project.artifact.ActiveProjectArtifact
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArtifact
at org.codehaus.mojo.dependency.CopyDependenciesMojo.execute(CopyDependenciesMojo.java:63)
Attachments
Attachments
Issue Links
- duplicates
-
MDEP-7 [dependency-maven-plugin] ClassCastException caused by DefaultArtifact vs. ActiveProjectArtifact
- Closed