maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-669) dependencySet does not resolve transient dependencies in reactor build
Date Fri, 07 Mar 2014 19:49:59 GMT

     [ https://jira.codehaus.org/browse/MASSEMBLY-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Heinz Marbaise closed MASSEMBLY-669.
-----------------------------------------

    Resolution: Not A Bug

The first problem i see in your example is that your given [version ranges are wrong|http://maven.apache.org/enforcer/enforcer-rules/versionRanges.html]
cause what you wrote in your dependencies is:

{{[0,]}} which means 0 <= x <= ?
So the question is what represent the "?"

So in other words i see the error message as a correct one cause an artifact with the given
version 0..  does not exist only artifacts with versio {{1.0.0}} do exist.

Apart from that i would ask why are you using version ranges in that case this can simply
solved by using {{$\{project.version\}}} so no need for them.
So i will close the issue. If you have further details please don't hesitate to reopen the
issue.

> dependencySet does not resolve transient dependencies in reactor build
> ----------------------------------------------------------------------
>
>                 Key: MASSEMBLY-669
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-669
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.2-beta-5, 2.4
>         Environment: linux
>            Reporter: Christoph
>         Attachments: assembly_bug.tar.gz
>
>
> using an assembly descriptor with a dependencySet will fail to resolve transient dependencies
that are build in the same reactor.
> having artifacts one, two, three. With a dependeny chain: three -> two -> one
> Artifact three runs an assembly during package phase. It succeeds in finding the artifact
two in the reactor. But the transient dependency pointing to artifact one can't be resolved.
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single
(make-assembly) on project three: Failed to create assembly: Unable to resolve dependencies
for assembly 'foo': Failed to resolve dependencies for assembly: No versions are present in
the repository for the artifact with a range [0,]
> [ERROR] de.gsi.cs.co.maven.assembly_bug:one:jar:null
> A sample project structure is attached. 



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message