maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <>
Subject Re: plugin version ranges errors with Maven 3.1.1
Date Fri, 06 Dec 2013 20:19:11 GMT
Version ranges are generally a bad idea.

What is the point of allowing an older version of shade? Are there bugs 
that have been fixed in newer version that you depend on? But then why 
would you want Maven to pick a newer one.

Why not pick one that works with your version of Maven and stick with it?

You can also omit the version and let Maven pick one but this is not 

We specify a version in the dependencyManagement section of the parent 
and are sure that every build uses the right version.

is a nice discussion of version ranges.
It shows that your syntax should work.
It appears that maven is having trouble recognizing the "[" as the start 
of a version. Is it possible that there is a character (space or 
non-printing) before the "[".


On 06/12/2013 2:12 PM, John Dix wrote:
> I am trying to specify a version range in a pom.xml in order to support our build by
doing the following:
> <plugin>
> <groupId> org.apache.maven.plugins</groupId>
> <artifactId> maven-shade-plugin</artifactId>
> <version>[2.0, )</version>
> </plugin>
> And I am getting this error:
> [ERROR] Plugin org.apache.maven.plugins:maven-shade-plugin:[2.0,) or one of its dependencies
could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-shade-plugin:jar:[2.0,):
Could not transfer artifact org.apache.maven.plugins:maven-shade-plugin:pom:[2.0,) from/to
qpass-nexus-hosted-releases (http://xxxx:8081/nexus/content/repositories/releases): Illegal
character in path at index 115: http://xxx:8081/nexus/content/repositories/releases/org/apache/maven/plugins/maven-shade-plugin/[2.0,)/maven-shade-plugin-[2.0,).pom
-> [Help 1]
> According to the examples and documentation I have seen, this should work.
> Any idea?
> John "Caolan" Dix
> Programming Sr. SME, Digital Commerce
> Amdocs Mobile Financial Services Division
> o: 206-288-0308 m: 425.351.7340
> Did you know...?
> A global consumer survey by Analysys Mason and Amdocs reveals that cash is past its prime.
Download the new white paper, "Mobile Financial Services: The Evolution of Payment" here<>.
> Read the latest on<> and the Amdocs blog network<>
- and follow us on Facebook<>, Twitter<>,
LinkedIn<>, YouTube<>
and Google+<>
> This message and the information contained herein is proprietary and confidential and
subject to the Amdocs policy statement,
> you may review at

Ron Wheeler
Artifact Software Inc
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message