I was hoping to be able to do something like the following to specify
my parent pom, so that it would automatically obtain the latest
version. The parent pom doesn't change often but we should be using
the latest version automatically if it does.
<parent>
<groupId>Dummy-groupId</groupId>
<artifactId>Dummy-artifactId</artifactId>
<version>[1.0,)</version>
</parent>
But when I run mvn -N install I get the following error
[INFO] Scanning for projects...
Downloading:
http://<proxy-url>/repository/<groupId>/<dummy>-pom-bootstrap/[1.0,)/<dummy>-pom-bootstrap-[1.0,).pom
[WARNING] Unable to get resource from repository maven-proxy
(http://<proxy-url>/repository)
Downloading:
http://<proxy-url>/repository//<groupId>/<dummy>-pom-bootstrap/[1.0,)/<dummy>-pom-bootstrap-[1.0,).pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: <groupId>
ArtifactId: <dummy>-pom-bootstrap
Version: [1.0,)
Which seems to indicate that the parent element does not support version ranges.
Is this a bug or intended behaviour?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]