Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-26 Thread sebb
I uploaded commons-parent POM 19-SNAPSHOT to the snapshot repo [1], and then deleted it from my local repo (because I want to test how it will work for others). When I try to depend on it as a parent, i.e. org.apache.commons commons-parent 19-SNAPSHOT I get the

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread Stevo Slavić
I doubt it is intentional behavior. You didn't mention which version of maven are you using, or maven-dependency-plugin - like with any OSS project, latest maven is the greatest, and configure plugin version in pluginManagement section. You also didn't provide snapshots repository definition snippe

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread sebb
On 27 February 2011 13:41, Stevo Slavić wrote: > I doubt it is intentional behavior. You didn't mention which version > of maven are you using, or maven-dependency-plugin - like with any OSS > project, latest maven is the greatest, and configure plugin version in > pluginManagement section. You al

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread Stevo Slavić
snapshotRepository element is available only in distributionManagement (see maven pom XSD here http://maven.apache.org/xsd/maven-4.0.0.xsd ) and in it you define destination repository where snapshots of your project should be released - it has nothing to do with resolving dependencies tho. For sna

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2011-02-27 Thread sebb
On 27 February 2011 21:01, Stevo Slavić wrote: > snapshotRepository element is available only in distributionManagement > (see maven pom XSD here http://maven.apache.org/xsd/maven-4.0.0.xsd ) > and in it you define destination repository where snapshots of your > project should be released - it ha

Re: Cannot retrieve parent snapshot pom, but can depend on it - why?

2013-09-30 Thread NRO
t_snapshot/ true always false never [...] -- View this message in context: http://maven.40175.n5.nabble.com/Cannot-retrieve-parent-snapshot-pom-but-can-depend