You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Alok, Niraj" <ni...@gs.com> on 2007/06/27 12:24:46 UTC
Dependency downloads
Guys,
This is getting really confusing as I am not able to make any heads of
it.
I have a dependency, say moduleA's 0-SNAPSHOT. If this dependency in
mentioned in the normal project -> dependencies tag, it gets downloaded
as
Downloading from repository -> moduleA - timestamp - buildnumber.jar
If this same dependency is moved to a plugin's dependency list, it says:
Downloading from repository -> moduleA -0-SNAPSHOT.jar and then fails to
download it.
It is getting quite critical and any help in resolving this would be
very appreciated.
Thanks !
Niraj
RE: Dependency downloads
Posted by "Alok, Niraj" <ni...@gs.com>.
Guys,
This is really getting murkier and I am looking for any clues et al.
The same dependency which was not getting downloaded on Friday is
getting downloaded today without any problems. I also cleaned out my .m2
to replicate but it worked well !
The only difference that happened was a nightly build of the module. I
am very much clueless and any help would be really appreciated..
Thanks,
Niraj
> _____________________________________________
> From: Alok, Niraj
> Sent: Wednesday, June 27, 2007 7:04 PM
> To: 'Maven Users List'
> Subject: RE: Dependency downloads
>
>
> Now I see that there are a bunch of modules that have the below issue
> while some others work nicely.
>
> The one that's working, its metadata is:
> <metadata>
> <groupId>something</groupId>
> <artifactId>working</artifactId>
> <version>0-SNAPSHOT</version>
> <versioning>
> <snapshot>
> <timestamp>20070627.062621</timestamp>
> <buildNumber>228</buildNumber>
> </snapshot>
> <lastUpdated>20070627062622</lastUpdated>
> </versioning>
> </metadata>
>
> Jar in repo is: working-0-20070627.062621-228.jar
>
> The one's that not working is:
> <metadata>
> <groupId>something</groupId>
> <artifactId>not.working</artifactId>
> <version>0-SNAPSHOT</version>
> <versioning>
> <snapshot>
> <timestamp>20070627.100227</timestamp>
> <buildNumber>201</buildNumber>
> </snapshot>
> <lastUpdated>20070627100229</lastUpdated>
> </versioning>
> </metadata>
> The jar in repo is notworking-0-20070627.100227-201.jar
>
> Pls let me know what am I doing wrong.
>
> Thanks,
> Niraj
>
>
> _____________________________________________
> From: Alok, Niraj
> Sent: Wednesday, June 27, 2007 3:55 PM
> To: 'Maven Users List'
> Subject: Dependency downloads
>
> Guys,
>
> This is getting really confusing as I am not able to make any
> heads of it.
> I have a dependency, say moduleA's 0-SNAPSHOT. If this
> dependency in mentioned in the normal project -> dependencies tag, it
> gets downloaded as
> Downloading from repository -> moduleA - timestamp -
> buildnumber.jar
>
> If this same dependency is moved to a plugin's dependency list,
> it says:
> Downloading from repository -> moduleA -0-SNAPSHOT.jar and then
> fails to download it.
>
> It is getting quite critical and any help in resolving this
> would be very appreciated.
>
> Thanks !
> Niraj
>
RE: Dependency downloads
Posted by "Alok, Niraj" <ni...@gs.com>.
Now I see that there are a bunch of modules that have the below issue
while some others work nicely.
The one that's working, its metadata is:
<metadata>
<groupId>something</groupId>
<artifactId>working</artifactId>
<version>0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20070627.062621</timestamp>
<buildNumber>228</buildNumber>
</snapshot>
<lastUpdated>20070627062622</lastUpdated>
</versioning>
</metadata>
Jar in repo is: working-0-20070627.062621-228.jar
The one's that not working is:
<metadata>
<groupId>something</groupId>
<artifactId>not.working</artifactId>
<version>0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20070627.100227</timestamp>
<buildNumber>201</buildNumber>
</snapshot>
<lastUpdated>20070627100229</lastUpdated>
</versioning>
</metadata>
The jar in repo is notworking-0-20070627.100227-201.jar
Pls let me know what am I doing wrong.
Thanks,
Niraj
> _____________________________________________
> From: Alok, Niraj
> Sent: Wednesday, June 27, 2007 3:55 PM
> To: 'Maven Users List'
> Subject: Dependency downloads
>
> Guys,
>
> This is getting really confusing as I am not able to make any heads of
> it.
> I have a dependency, say moduleA's 0-SNAPSHOT. If this dependency in
> mentioned in the normal project -> dependencies tag, it gets
> downloaded as
> Downloading from repository -> moduleA - timestamp - buildnumber.jar
>
> If this same dependency is moved to a plugin's dependency list, it
> says:
> Downloading from repository -> moduleA -0-SNAPSHOT.jar and then fails
> to download it.
>
> It is getting quite critical and any help in resolving this would be
> very appreciated.
>
> Thanks !
> Niraj
>