cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lennart Reuther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COCOON-2343) Maven Dependencies with same artifactId but different classifier
Date Wed, 14 Jan 2015 21:17:35 GMT
Lennart Reuther created COCOON-2343:
---------------------------------------

             Summary: Maven Dependencies with same artifactId but different classifier
                 Key: COCOON-2343
                 URL: https://issues.apache.org/jira/browse/COCOON-2343
             Project: Cocoon
          Issue Type: Bug
          Components: - Build System: Maven
            Reporter: Lennart Reuther
             Fix For: 2.1.13, 2.2.1


The {cocoon-maven-plugin} does not handle dependencies with the same artifactId but different
classifiern. This prevents projects using e.g. saxon in combination with saxon-dom from being
build correctly in a given Cocoon block.

{{code}}
[ERROR] Failed to execute goal org.apache.cocoon:cocoon-maven-plugin:1.0.2:prepare (default)
on project myBlock1: There are at least two artifacts with the ID 'saxon':
[ERROR] net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:compile
[ERROR] com.mycompany:myBlock1:jar:1.0.1-SNAPSHOT
[ERROR] net.sourceforge.web-harvest:webharvest-core:jar:2.1.0-RC1
[ERROR] net.sourceforge.saxon:saxon:jar:9.1.0.8
[ERROR] net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:compile
[ERROR] com.mycompany:myBlock1:jar:1.0.1-SNAPSHOT
[ERROR] net.sourceforge.web-harvest:webharvest-core:jar:2.1.0-RC1
[ERROR] net.sourceforge.saxon:saxon:jar:dom:9.1.0.8
{{code}}

A possible patch for {cocoon-maven-plugin}  version 1.0.3-SNAPSHOT is attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message