Skip to content

Instantly share code, notes, and snippets.

@headius
Created September 11, 2020 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/0a47b351ec440decc0aaba574e0892d3 to your computer and use it in GitHub Desktop.
Save headius/0a47b351ec440decc0aaba574e0892d3 to your computer and use it in GitHub Desktop.
Using versions:display-plugin-updates to show Maven plugin version negotiation
[] ~/projects/jnr-ffi $ mvn versions:display-plugin-updates
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.github.jnr:jnr-ffi >-----------------------
[INFO] Building jnr-ffi 2.2.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.8.1:display-plugin-updates (default-cli) @ jnr-ffi ---
[INFO]
[INFO] The following plugin updates are available:
[INFO] com.github.github:site-maven-plugin ................... 0.6 -> 0.12
[INFO] org.apache.felix:maven-bundle-plugin ............... 2.3.7 -> 2.5.4
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING] maven-clean-plugin ........................ (from super-pom) 2.2
[WARNING] maven-compiler-plugin ................... (from super-pom) 2.0.2
[WARNING] maven-deploy-plugin ....................... (from super-pom) 2.4
[WARNING] maven-install-plugin ...................... (from super-pom) 2.2
[WARNING] maven-resources-plugin .................... (from super-pom) 2.2
[WARNING] maven-site-plugin .................. (from super-pom) 2.0-beta-4
[INFO]
[WARNING] Project does not define minimum Maven version, default is: 2.0
[INFO] Plugins require minimum Maven version of: 3.1.0
[INFO] Note: the super-pom from Maven 3.5.4 defines some of the plugin
[INFO] versions and may be influencing the plugins required minimum Maven
[INFO] version.
[INFO]
[ERROR] Project does not define required minimum version of Maven.
[ERROR] Update the pom.xml to contain maven-enforcer-plugin to
[ERROR] force the Maven version which is needed to build this project.
[ERROR] See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[ERROR] Using the minimum version of Maven: 3.1.0
[INFO]
[INFO] Require Maven 2.0.1 to use the following plugin updates:
[INFO] maven-antrun-plugin .................................... 1.1 -> 1.2
[INFO]
[INFO] Require Maven 2.0.2 to use the following plugin updates:
[INFO] maven-javadoc-plugin ................................. 3.2.0 -> 2.2
[INFO] maven-site-plugin ............................. 3.9.1 -> 2.0-beta-7
[INFO]
[INFO] Require Maven 2.0.4 to use the following plugin updates:
[INFO] maven-antrun-plugin .................................... 1.1 -> 1.3
[INFO]
[INFO] Require Maven 2.0.5 to use the following plugin updates:
[INFO] maven-gpg-plugin ............................... 1.4 -> 1.0-alpha-4
[INFO]
[INFO] Require Maven 2.0.6 to use the following plugin updates:
[INFO] maven-antrun-plugin .................................... 1.1 -> 1.6
[INFO] maven-clean-plugin ................................... 3.1.0 -> 2.5
[INFO] maven-deploy-plugin ............................. 3.0.0-M1 -> 2.8.1
[INFO] maven-gpg-plugin ....................................... 1.4 -> 1.5
[INFO] maven-install-plugin ............................ 3.0.0-M1 -> 2.5.1
[INFO] maven-jar-plugin ..................................... 2.3.1 -> 2.4
[INFO] maven-javadoc-plugin ................................. 3.2.0 -> 2.3
[INFO] maven-resources-plugin ............................... 3.2.0 -> 2.6
[INFO] maven-site-plugin .................................. 3.9.1 -> 2.0.1
[INFO] maven-source-plugin ................................ 2.2.1 -> 2.1.2
[INFO] maven-surefire-plugin .............................. 2.4.2 -> 2.4.3
[INFO]
[INFO] Require Maven 2.0.8 to use the following plugin updates:
[INFO] maven-javadoc-plugin ................................. 3.2.0 -> 2.4
[INFO]
[INFO] Require Maven 2.0.9 to use the following plugin updates:
[INFO] maven-compiler-plugin ................................ 3.8.1 -> 3.1
[INFO] maven-javadoc-plugin ............................... 3.2.0 -> 2.8.1
[INFO] maven-source-plugin ......................................... 2.2.1
[INFO] maven-surefire-plugin ............................... 2.4.2 -> 2.17
[INFO]
[INFO] Require Maven 2.0.11 to use the following plugin updates:
[INFO] maven-antrun-plugin .................................... 1.1 -> 1.7
[INFO]
[INFO] Require Maven 2.1.0 to use the following plugin updates:
[INFO] maven-site-plugin .................................. 3.9.1 -> 2.1.1
[INFO]
[INFO] Require Maven 2.2.0 to use the following plugin updates:
[INFO] maven-site-plugin .................................... 3.9.1 -> 3.0
[INFO]
[INFO] Require Maven 2.2.1 to use the following plugin updates:
[INFO] maven-antrun-plugin .................................... 1.1 -> 1.8
[INFO] maven-clean-plugin ................................. 3.1.0 -> 2.6.1
[INFO] maven-compiler-plugin ................................ 3.8.1 -> 3.3
[INFO] maven-deploy-plugin ............................. 3.0.0-M1 -> 2.8.2
[INFO] maven-gpg-plugin ....................................... 1.4 -> 1.6
[INFO] maven-install-plugin ............................ 3.0.0-M1 -> 2.5.2
[INFO] maven-jar-plugin ..................................... 2.3.1 -> 2.6
[INFO] maven-javadoc-plugin .............................. 3.2.0 -> 2.10.3
[INFO] maven-resources-plugin ............................... 3.2.0 -> 2.7
[INFO] maven-site-plugin .................................... 3.9.1 -> 3.4
[INFO] maven-source-plugin .................................. 2.2.1 -> 2.4
[INFO] maven-surefire-plugin ............................... 2.4.2 -> 2.20
[INFO]
[INFO] Require Maven 3.0 to use the following plugin updates:
[INFO] maven-clean-plugin .......................................... 3.1.0
[INFO] maven-jar-plugin ................................... 2.3.1 -> 3.1.0
[INFO] maven-javadoc-plugin ............................... 3.2.0 -> 3.0.1
[INFO] maven-resources-plugin ............................. 3.2.0 -> 3.1.0
[INFO] maven-site-plugin .................................. 3.9.1 -> 3.7.1
[INFO] maven-surefire-plugin ............................. 2.4.2 -> 2.22.0
[INFO]
[INFO] Require Maven 3.0.4 to use the following plugin updates:
[INFO] maven-compiler-plugin .............................. 3.8.1 -> 3.7.0
[INFO] maven-source-plugin ................................ 2.2.1 -> 3.0.1
[INFO]
[INFO] Require Maven 3.0.5 to use the following plugin updates:
[INFO] org.apache.felix:maven-bundle-plugin ............... 2.3.7 -> 4.0.0
[INFO] maven-antrun-plugin .................................. 1.1 -> 3.0.0
[INFO] maven-compiler-plugin ....................................... 3.8.1
[INFO] maven-deploy-plugin ...................................... 3.0.0-M1
[INFO] maven-install-plugin ..................................... 3.0.0-M1
[INFO] maven-jar-plugin ................................... 2.3.1 -> 3.2.0
[INFO] maven-javadoc-plugin ........................................ 3.2.0
[INFO] maven-site-plugin ........................................... 3.9.1
[INFO] maven-source-plugin ................................ 2.2.1 -> 3.2.1
[INFO] maven-surefire-plugin ........................... 2.4.2 -> 3.0.0-M5
[INFO]
[INFO] Require Maven 3.1.0 to use the following plugin updates:
[INFO] maven-resources-plugin ...................................... 3.2.0
[INFO]
[INFO] Require Maven 3.5.0 to use the following plugin updates:
[INFO] org.apache.felix:maven-bundle-plugin ............... 2.3.7 -> 5.1.1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.304 s
[INFO] Finished at: 2020-09-11T14:52:42-05:00
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment