如何通过插件告诉maven 3使用版本范围约定?
Maven / JDK版本:
$ ~/usr/local/netbeans-8.2/java/maven/bin/mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: ~/usr/local/netbeans-8.2/java/maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: ~/usr/local/java/jdk1.8.0_101_x64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-78-generic", arch: "amd64", family: "unix"
来自pom.xml
...
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>[3.0.0,)</version>
</plugin>
</plugins>
</build>
...
执行mvn clean install
Plugin org.apache.maven.plugins:maven-war-plugin:[3.0.0,) or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:[3.0.0,): : Could not transfer artifact org.apache.maven.plugins:maven-war-plugin:pom:[3.0.0,) from/to nexus (http://nexus/content/groups/public): Illegal character in path at index 77: http://nexus/content/groups/public/org/apache/maven/plugins/maven-war-plugin/[3.0.0,)/maven-war-plugin-[3.0.0,).pom