maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alok, Niraj" <niraj.a...@gs.com>
Subject 0-Snapshot numbering for classifiers
Date Fri, 15 Jun 2007 12:26:37 GMT

> Hi,
> 
> I have 2 jars that get installed to the repository for the same
> artifact. One is the application jar, and the other is, say sources
> jar. 
> The repository looks something like this: GroupId -> ArtifactId ->
> app-1.0.jar and app-1.0-sources.jar
> 
> When I include both of them in the pom file as dependencies (using
> classifier for sources), both of them get downloaded to my local .m2
> (provided the jars are versioned)
> If the jars are snapshots, then the numbering system is making the
> jars installed in the repository as app-629.jar and
> app-sources-630.jar (numbers are just an example)
> And when I give 0-SNAPSHOT in my dependendencies, only the jar with
> the higher number gets downloaded. 
> 
> I want to download both the jars in cases of versions or snapshots. Am
> I doing something wrong with the way I am installing them, or should I
> do something else while downloading ? 
> 
> Thanks,
> Niraj
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message