You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2015/01/15 08:43:34 UTC
[jira] [Closed] (COCOON-2343) Maven Dependencies with same
artifactId but different classifier
[ https://issues.apache.org/jira/browse/COCOON-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò closed COCOON-2343.
------------------------------------------
Resolution: Fixed
Patch applied, thanks.
I have also uploaded the 1.0.3-SNAPSHOT artifact.
> 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
> Assignee: Francesco Chicchiriccò
> Fix For: 2.2.1
>
> Attachments: handle_classifier_in_artifacts.patch
>
>
> 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.
> [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
> 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)