I am trying to build a project that has a parent pom version 1.2-SNAPSHOT as a dependency. Maven complains that it can't find 1.2-SNAPSHOT. So I check Artifactory and sure enough it is there. So why can't Maven find it?
My only guess is that something is wrong with the maven-metadata.xml. It looks something like:
I am trying to build a project that has a parent pom version 1.2-SNAPSHOT as a dependency. Maven complains that it can't find 1.2-SNAPSHOT. So I check Artifactory and sure enough it is there. So why can't Maven find it?
My only guess is that something is wrong with the maven-metadata.xml. It looks something like:
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.company</groupId>
<artifactId>my-parentpom</artifactId>
<version>1.1-SNAPSHOT</version>
<versioning>
<versions>
<version>1.1-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
</versions>
<lastUpdated>20080502182028</lastUpdated>
</versioning>
</metadata>
Shouldn't the "version" attribute say 1.2-SNAPSHOT instead of 1.1-SNAPSHOT?
Why is that not being updated?