You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Michael Hartmeier (JIRA)" <ji...@codehaus.org> on 2006/01/10 22:29:01 UTC

[jira] Commented: (MNG-1946) indirect snapshot dependency not in fileset

    [ http://jira.codehaus.org/browse/MNG-1946?page=comments#action_55449 ] 

Michael Hartmeier commented on MNG-1946:
----------------------------------------

The work-around in note 2 is wrong, sorry.

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org