Maven Versionen

  • Beitrags-Autor:
  • Beitrags-Kategorie:Java
mvn versions:display-dependency-updates
mvn versions:display-plugin-updates
 
mvn dependency:analyze
mvn dependency:analyze-dep-mgt
mvn dependency:analyze-duplicate
 
mvn dependency:tree -Dverbose
 
mvn enforcer:enforce
 
mvn help:effective-pom
mvn -Dplugin=org.codehaus.mojo:appassembler-maven-plugin help:describe

siehe auch POM-Referenz und License & Version Checks

Range Meaning
1.2 Version equals to 1.2 or is starting with 1.2
(,1.2] Any version less than 1.2. Version 1.2 included. x <= 1.2
(,1.2) Any version less than 1.2. Version 1.2 excluded. x < 1.2
[1.2] Only version 1.2. x == 1.2
[1.2,) Any version greater than 1.2. Version 1.2 included. x >= 1.2
(1.2,) Any version greater than 1.2. Version 1.2 excluded. x > 1.2
(1.2,2.2) Version between 1.2 and 2.2. Both excluded. 1.0 < x < 2.2
[1.2,2.2] Version between 1.2 and 2.2. Both included. 1.2 <= x <= 2.2
(,1.2],[2.2,) Version either less than 1.2 or greater than 2.2. Both included. x <= 1.2 or x >= 2.2