indirect snapshot dependency not in fileset
-------------------------------------------

         Key: MNG-1946
         URL: http://jira.codehaus.org/browse/MNG-1946
     Project: Maven 2
        Type: Bug

  Components: Ant tasks  
    Versions: 2.0    
 Environment: Java 1.5
    Reporter: Michael Hartmeier


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to