The vote will be canceled. I will remove staging repo with next release, so if someone else will test, you can still do it.
czw., 26 sty 2023 o 21:39 Slawomir Jaranowski <[email protected]> napisał(a): > Thanks Delany, > > I see ...packaging is not important, > There are more places for NPE in this rule ... > > You can try with mvn ... -Denforcer.skipRules=RequirePluginVersions > > > czw., 26 sty 2023 o 21:19 Delany <[email protected]> napisał(a): > >> Only happens with type POM >> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >> goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.0:enforce (fail) >> on >> project maven-parent: >> Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with >> message: >> Cannot invoke "org.apache.maven.model.Reporting.getPlugins()" because the >> return value of "org.apache.maven.model.Profile.getReporting()" is null >> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 >> (MojoExecutor.java:375) >> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute >> (MojoExecutor.java:351) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:215) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:171) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:163) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:117) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call >> (MultiThreadedBuilder.java:210) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call >> (MultiThreadedBuilder.java:195) >> at java.util.concurrent.FutureTask.run (FutureTask.java:317) >> at java.util.concurrent.Executors$RunnableAdapter.call >> (Executors.java:577) >> at java.util.concurrent.FutureTask.run (FutureTask.java:317) >> at java.util.concurrent.ThreadPoolExecutor.runWorker >> (ThreadPoolExecutor.java:1144) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run >> (ThreadPoolExecutor.java:642) >> at java.lang.Thread.run (Thread.java:1588) >> Caused by: org.apache.maven.plugin.MojoExecutionException: >> Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with >> message: >> Cannot invoke "org.apache.maven.model.Reporting.getPlugins()" because the >> return value of "org.apache.maven.model.Profile.getReporting()" is null >> at org.apache.maven.plugins.enforcer.EnforceMojo.execute >> (EnforceMojo.java:271) >> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo >> (DefaultBuildPluginManager.java:137) >> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 >> (MojoExecutor.java:370) >> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute >> (MojoExecutor.java:351) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:215) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:171) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:163) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:117) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call >> (MultiThreadedBuilder.java:210) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call >> (MultiThreadedBuilder.java:195) >> at java.util.concurrent.FutureTask.run (FutureTask.java:317) >> at java.util.concurrent.Executors$RunnableAdapter.call >> (Executors.java:577) >> at java.util.concurrent.FutureTask.run (FutureTask.java:317) >> at java.util.concurrent.ThreadPoolExecutor.runWorker >> (ThreadPoolExecutor.java:1144) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run >> (ThreadPoolExecutor.java:642) >> at java.lang.Thread.run (Thread.java:1588) >> [ERROR] org.apache.maven.cli.MavenCli - >> [ERROR] org.apache.maven.cli.MavenCli - >> [ERROR] org.apache.maven.cli.MavenCli - For more information about the >> errors and possible solutions, please read the following articles: >> [ERROR] org.apache.maven.cli.MavenCli - [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> >> >> On Thu, 26 Jan 2023 at 20:59, Slawomir Jaranowski <[email protected] >> > >> wrote: >> >> > Hi, >> > >> > Can you provide me with your project when I can reproduce it? >> > Or full stack. >> > >> > >> > czw., 26 sty 2023 o 19:21 Delany <[email protected]> >> napisał(a): >> > >> > > Thank you for this. My build on 3.8.7 is failing though: >> > > >> > > [ERROR] org.apache.maven.cli.MavenCli - Rule 0: >> > > org.apache.maven.enforcer.rules.RequirePluginVersions failed with >> > message: >> > > [ERROR] org.apache.maven.cli.MavenCli - Cannot invoke >> > > "org.apache.maven.model.Reporting.getPlugins()" because the return >> value >> > of >> > > "org.apache.maven.model.Profile.getReporting()" is null >> > > >> > > Delany >> > > >> > > On Thu, 26 Jan 2023 at 19:56, Slawomir Jaranowski < >> > [email protected]> >> > > wrote: >> > > >> > > > Hi, >> > > > >> > > > We solved 40 issues: >> > > > >> > > > >> > > >> > >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317520&version=12351838 >> > > > >> > > > There are still a couple of issues left in JIRA: >> > > > >> > > > >> > > >> > >> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MENFORCER%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC >> > > > >> > > > Staging repo: >> > > > https://repository.apache.org/content/repositories/maven-1858/ >> > > > >> > > > >> > > >> > >> https://repository.apache.org/content/repositories/maven-1858/org/apache/maven/enforcer/enforcer/3.2.0/enforcer-3.2.0-source-release.zip >> > > > >> > > > Source release checksum(s): >> > > > enforcer-3.2.0-source-release.zip - SHA-512 : >> > > > >> > > > >> > > >> > >> f8c33722b25f19ac40c23c2385d26a4cc5b3f352d5e8c0bd30b0c750215a38b00dc965809b206b802ce443bff52d3e02aa15a6569c286ddd04d2d2fd0585530a >> > > > >> > > > Staging site: >> > > > https://maven.apache.org/enforcer-archives/enforcer-LATEST/ >> > > > >> > > > Guide to testing staged releases: >> > > > >> > https://maven.apache.org/guides/development/guide-testing-releases.html >> > > > >> > > > Vote open for at least 72 hours. >> > > > >> > > > [ ] +1 >> > > > [ ] +0 >> > > > [ ] -1 >> > > > >> > > > -- >> > > > Sławomir Jaranowski >> > > > >> > > >> > >> > >> > -- >> > Sławomir Jaranowski >> > >> > > > -- > Sławomir Jaranowski > -- Sławomir Jaranowski
