You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/12/27 11:22:53 UTC

[GitHub] [maven] pavelhoral commented on pull request #940: [MNG-7648] Fix locationTracking in DefaultModelBuildingRequest copy constructor.

pavelhoral commented on PR #940:
URL: https://github.com/apache/maven/pull/940#issuecomment-1365831055

   I can verify that with the fixed version I am able to successfully build my test project (i.e. this fix fixes problems in enforcer):
   
   ```console
   $ ../apache-maven-4.0.0-alpha-4-SNAPSHOT/bin/mvn -s ../settings.xml verify -f project/pom.xml
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ------------------------------------------< org.example:enforcer-test-project >-------------------------------------------
   [INFO] Building enforcer-test-project 1.0.0-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] ---------------------------------------------------------[ pom ]----------------------------------------------------------
   [INFO] 
   [INFO] --- enforcer:3.1.1-SNAPSHOT:enforce (enforce-plugin-versions) @ enforcer-test-project ---
   [INFO] Executing rule: org.apache.maven.plugins.enforcer.RequirePluginVersions
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   [INFO] Total time:  0.552 s
   [INFO] Finished at: 2022-12-27T12:21:02+01:00
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   ```
   
   Previously:
   
   ```console
   $ ../apache-maven-4.0.0-alpha-3/bin/mvn -s ../settings.xml verify -f project/pom.xml
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ------------------------------------------< org.example:enforcer-test-project >-------------------------------------------
   [INFO] Building enforcer-test-project 1.0.0-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] ---------------------------------------------------------[ pom ]----------------------------------------------------------
   [INFO] 
   [INFO] --- enforcer:3.1.1-SNAPSHOT:enforce (enforce-plugin-versions) @ enforcer-test-project ---
   [INFO] Executing rule: org.apache.maven.plugins.enforcer.RequirePluginVersions
   [ERROR] Rule 0: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
   Some plugins are missing valid versions or depend on Maven 4.0.0-alpha-3 defaults: (LATEST RELEASE SNAPSHOT are not allowed)
   org.apache.maven.plugins:maven-clean-plugin.    The version currently in use is 3.2.0 via super POM or default lifecycle bindings
   org.apache.maven.plugins:maven-wrapper-plugin.  The version currently in use is 3.1.1 via super POM or default lifecycle bindings
   org.apache.maven.plugins:maven-install-plugin.  The version currently in use is 3.0.1 via super POM or default lifecycle bindings
   org.apache.maven.plugins:maven-site-plugin.     The version currently in use is 4.0.0-M4 via super POM or default lifecycle bindings
   org.apache.maven.plugins:maven-deploy-plugin.   The version currently in use is 3.0.0 via super POM or default lifecycle bindings
   org.apache.maven.plugins:maven-enforcer-plugin.         The version currently in use is 3.1.1-SNAPSHOT via super POM or default lifecycle bindings
   
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   [INFO] Total time:  0.573 s
   [INFO] Finished at: 2022-12-27T12:22:15+01:00
   [INFO] --------------------------------------------------------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.1.1-SNAPSHOT:enforce (enforce-plugin-versions) on project enforcer-test-project: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch
   [ERROR] Re-run Maven using the '-X' switch to enable verbose output
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   ```
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org