You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by "jherkel (via GitHub)" <gi...@apache.org> on 2024/12/02 19:48:15 UTC

Re: [PR] Pin plugins in archetypes so that they don't use the latest 4.x ones [karaf]

jherkel commented on PR #1885:
URL: https://github.com/apache/karaf/pull/1885#issuecomment-2512619879

   @gnodet   I tried the latest mvnd 4.0 rc1 and I could see this exception:
   `Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.exists()" because the return value of "org.apache.maven.execution.MavenExecutionRequest.getUserSettingsFile()" is null
       at org.apache.karaf.tooling.VerifyMojo.execute(VerifyMojo.java:198)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:144)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:339)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:310)
   `
   
   Sorry for reusing this issue but I'm not sure if your commit also solves exception above or there must be checks for null value returned by MavenExecutionRequest.getUserSettingsFile().


-- 
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: commits-unsubscribe@karaf.apache.org

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