Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0
-
None
-
None
-
Java 1.5
Description
I use
<artifact:dependencies filesetId="fileset">
<dependency groupId="myGroup" artifactId="first" version="0.86">
</dependency>
<artifact:remoteRepository url="http://myCompany/repository/">
<snapshots updatePolicy="always" enabled="true"/>
<releases updatePolicy="always" enabled="true"/>
</artifact:remoteRepository>
</artifact:dependencies>
to fetch "first" and all dependent jar files. First's pom contains
<dependency>
<groupId>myGroup</groupId>
<artifactId>second</artifactId>
<version>0.5-SNAPSHOT</version>
</dependency>
Problem: the "second" jar file is in not in the fileset.
Note 1: Everything work's fine if "second"'s version is 0.5.
Note 2: I can work-around the problem by adding a second dependencies call
<artifact:dependencies filesetId="fileset.second">
<dependency groupId="myGroup" artifactId="second" version="0.5-SNAPSHOT">
</dependency>
<artifact:remoteRepository url="http://myCompany/repository/">
<snapshots updatePolicy="always" enabled="true"/>
<releases updatePolicy="always" enabled="true"/>
</artifact:remoteRepository>
</artifact:dependencies>
to my build file (and use to fileset references). However, having a single dependencies
call with two dependency lines does not help.