You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthias Wessendorf <ma...@apache.org> on 2006/10/09 20:31:56 UTC
[repo] Snapshot vs. release (or "vaild" repo in pom file)
Hi,
I have some *strange* download behaivor, when being behind a firewall and using
*corperate* repos (mirror of ibiblio for instance)
There is a released JAR (called shale-test version 1.03).
That has a dependency to a *pom*, called shale-master-1.pom.
That depends on "apache-2.pom".
So far so good.
The *released* shale-master.pom file has this as distr. management
(see above)
When runing the build, I get this:
Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/apache/2/apache-2.pom
[WARNING] Unable to get resource from repository apache.snapshots
(http://people.apache.org/maven-snapshot-repository)
to me it looks like that shale-master-1 is *only* looking at the
snapshot-reop for "apache-2.pom"
But one of our *main* m2_repos has that file
(and it is downloadable)
http://mrmaven/mirrors/www.ibiblio.org/maven2/org/apache/apache/2/apache-2.pom
Is that a bug?
Or how can I enforce, that the shale-master-1 is looking into other
repos for the apache-2.pom
Thanks!
sniplet from shale-master.pom
-------------------------------------------------------
<distributionManagement>
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot (and Test Build) Repository</name>
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
</repository>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
</snapshotRepository>
<site>
<id>apache-site</id>
<name>Apache Shale Website</name>
<url>scp://people.apache.org/www/shale.apache.org</url>
</site>
</distributionManagement>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org