Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8463

Update lifecycle plugins

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-rc-3
    • Plugins and Lifecycle
    • None

    Description

      With toolbox:lock-plugin-versions and an empty POM (packaging = jar, the default), I have:

      [cstamas@angeleyes test]$ cat pom.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
      
          <modelVersion>4.0.0</modelVersion>
      
          <groupId>org.apache.maven.samples</groupId>
          <artifactId>empty</artifactId>
          <version>1.0.0-SNAPSHOT</version>
      
      </project>
      [cstamas@angeleyes test]$ mvn toolbox:lock-plugin-versions
      [INFO] [stdout] Initializing Simple Event Spy
      [INFO] 
      [INFO] 1 problem was encountered while building the effective settings (use -e to see details)
      [INFO] 
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] --------------------------------------------< org.apache.maven.samples:empty >--------------------------------------------
      [INFO] Building empty 1.0.0-SNAPSHOT
      [INFO]   from pom.xml
      [INFO] ---------------------------------------------------------[ jar ]----------------------------------------------------------
      [INFO] 
      [INFO] --- toolbox:0.6.1:lock-plugin-versions (default-cli) @ empty ---
      [INFO] Checking newest versions of managed plugins (0)
      [INFO] Checking newest versions of plugins (8)
      [INFO] * org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0 -> 3.4.0
      [INFO] * org.apache.maven.plugins:maven-compiler-plugin:jar:3.13.0 is up to date
      [INFO] * org.apache.maven.plugins:maven-surefire-plugin:jar:3.2.5 -> 3.5.2
      [INFO] * org.apache.maven.plugins:maven-jar-plugin:jar:3.4.1 -> 3.4.2
      [INFO] * org.apache.maven.plugins:maven-install-plugin:jar:3.1.1 -> 3.1.3
      [INFO] * org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1 is up to date
      [INFO] * org.apache.maven.plugins:maven-deploy-plugin:jar:3.1.1 -> 3.1.3
      [INFO] * org.apache.maven.plugins:maven-site-plugin:jar:3.12.1 -> 3.21.0
      [INFO] --------------------------------------------------------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] --------------------------------------------------------------------------------------------------------------------------
      [INFO] Total time:  0.291 s
      [INFO] Finished at: 2024-12-20T19:15:57+01:00
      [INFO] --------------------------------------------------------------------------------------------------------------------------
      [INFO] [stdout] Closing Simple Event Spy, checking SettingsBuilderResult event
      [cstamas@angeleyes test]$ 
      

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: