Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParserNotFoundException on dependency-updates-aggregate-report (2.16.2) #1046

Open
znerd opened this issue Feb 7, 2024 · 2 comments
Open

Comments

@znerd
Copy link

znerd commented Feb 7, 2024

It appears that the dependency-updates-aggregate-report goal is completely broken in 2.16.2. There is a workaround, but it requires linking to doxia-core 2.0.0-M6 (and not to a later version).

All of the below is tested with the latest stable version of Apache Maven 3.9.6.

Steps to Reproduce

  1. Have a multi-module Maven project.
  2. Run the command mvn org.codehaus.mojo:versions-maven-plugin:2.16.2:dependency-updates-aggregate-report.

Expected Result

  1. File target/dependency-updates-aggregate-report.xml is generated.
  2. Command finishes successfully, without any error message.

Actual Result

  1. NOK: File is not generated.
  2. NOK: Command fails, with this output:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] root                                                               [pom]
[INFO] module1                                                            [jar]
[INFO] module2                                                            [jar]
[INFO]
[INFO] --------------------------< com.acmeinc:root >--------------------------
[INFO] Building root 0-SNAPSHOT                                           [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.16.2:dependency-updates-aggregate-report (default-cli) @ root ---
[WARNING] Error injecting: org.apache.maven.doxia.siterenderer.DefaultSiteRenderer
java.lang.NoClassDefFoundError: org/apache/maven/doxia/parser/module/ParserModuleNotFoundException
    at java.lang.Class.getDeclaredConstructors0 (Native Method)
    at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
    at java.lang.Class.getDeclaredConstructors (Class.java:2555)
    at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
    at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
    at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get (PlexusRequirements.java:250)
    at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
    at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:160)
    at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:124)
    at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
    at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:98)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:93)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:306)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.parser.module.ParserModuleNotFoundException
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
    at java.lang.Class.getDeclaredConstructors0 (Native Method)
    at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
    at java.lang.Class.getDeclaredConstructors (Class.java:2555)
    at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
    at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
    at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get (PlexusRequirements.java:250)
    at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
    at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:160)
    at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:124)
    at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
    at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:98)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:93)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:306)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[WARNING] Error injecting: org.codehaus.mojo.versions.DependencyUpdatesAggregateReportMojo
java.lang.NoClassDefFoundError: org/apache/maven/doxia/parser/module/ParserModuleNotFoundException
    at java.lang.Class.getDeclaredConstructors0 (Native Method)
    at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
    at java.lang.Class.getDeclaredConstructors (Class.java:2555)
    at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
    at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
    at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get (PlexusRequirements.java:250)
    at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
    at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:160)
    at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:124)
    at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
    at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:98)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:93)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:306)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.doxia.parser.module.ParserModuleNotFoundException
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
    at java.lang.Class.getDeclaredConstructors0 (Native Method)
    at java.lang.Class.privateGetDeclaredConstructors (Class.java:3373)
    at java.lang.Class.getDeclaredConstructors (Class.java:2555)
    at com.google.inject.spi.InjectionPoint.forConstructorOf (InjectionPoint.java:245)
    at com.google.inject.internal.ConstructorBindingImpl.create (ConstructorBindingImpl.java:115)
    at com.google.inject.internal.InjectorImpl.createUninitializedBinding (InjectorImpl.java:706)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:930)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:120)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:168)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:39)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get (PlexusRequirements.java:250)
    at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
    at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:160)
    at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:124)
    at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
    at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:98)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:93)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:306)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:85)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:66)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112)
    at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1050)
    at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
    at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
    at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for root 0-SNAPSHOT:
[INFO]
[INFO] root ............................................... FAILURE [  0.401 s]
[INFO] module1 ............................................ SKIPPED
[INFO] module2 ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.470 s
[INFO] Finished at: 2024-02-07T09:31:38+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.16.2:dependency-updates-aggregate-report (default-cli) on project root: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.16.2:dependency-updates-aggregate-report failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.16.2:dependency-updates-aggregate-report: org/apache/maven/doxia/parser/module/ParserModuleNotFoundException
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:versions-maven-plugin:2.16.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/mojo/versions-maven-plugin/2.16.2/versions-maven-plugin-2.16.2.jar
[ERROR] urls[1] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/mojo/versions/versions-model/2.16.2/versions-model-2.16.2.jar
[ERROR] urls[2] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-utils/4.0.0/plexus-utils-4.0.0.jar
[ERROR] urls[3] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-xml/3.0.0/plexus-xml-3.0.0.jar
[ERROR] urls[4] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/mojo/versions/versions-model-report/2.16.2/versions-model-report-2.16.2.jar
[ERROR] urls[5] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/mojo/versions/versions-common/2.16.2/versions-common-2.16.2.jar
[ERROR] urls[6] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/mojo/versions/versions-api/2.16.2/versions-api-2.16.2.jar
[ERROR] urls[7] = file:/Users/ernstdehaan/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
[ERROR] urls[8] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/3.2.0/maven-reporting-impl-3.2.0.jar
[ERROR] urls[9] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.1.1/maven-reporting-api-3.1.1.jar
[ERROR] urls[10] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[11] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar
[ERROR] urls[12] = file:/Users/ernstdehaan/.m2/repository/commons-io/commons-io/2.15.0/commons-io-2.15.0.jar
[ERROR] urls[13] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.11.1/doxia-decoration-model-1.11.1.jar
[ERROR] urls[14] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-integration-tools/1.11.1/doxia-integration-tools-1.11.1.jar
[ERROR] urls[15] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.3.2/maven-common-artifact-filters-3.3.2.jar
[ERROR] urls[16] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-core/1.12.0/doxia-core-1.12.0.jar
[ERROR] urls[17] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.12.0/doxia-logging-api-1.12.0.jar
[ERROR] urls[18] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
[ERROR] urls[19] = file:/Users/ernstdehaan/.m2/repository/org/apache/commons/commons-text/1.11.0/commons-text-1.11.0.jar
[ERROR] urls[20] = file:/Users/ernstdehaan/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
[ERROR] urls[21] = file:/Users/ernstdehaan/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[ERROR] urls[22] = file:/Users/ernstdehaan/.m2/repository/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar
[ERROR] urls[23] = file:/Users/ernstdehaan/.m2/repository/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar
[ERROR] urls[24] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.12.0/doxia-sink-api-1.12.0.jar
[ERROR] urls[25] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.11.1/doxia-site-renderer-1.11.1.jar
[ERROR] urls[26] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-skin-model/1.11.1/doxia-skin-model-1.11.1.jar
[ERROR] urls[27] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.11.1/doxia-module-xhtml-1.11.1.jar
[ERROR] urls[28] = file:/Users/ernstdehaan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml5/1.11.1/doxia-module-xhtml5-1.11.1.jar
[ERROR] urls[29] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar
[ERROR] urls[30] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.2/plexus-velocity-1.2.jar
[ERROR] urls[31] = file:/Users/ernstdehaan/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
[ERROR] urls[32] = file:/Users/ernstdehaan/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] urls[33] = file:/Users/ernstdehaan/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
[ERROR] urls[34] = file:/Users/ernstdehaan/.m2/repository/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar
[ERROR] urls[35] = file:/Users/ernstdehaan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
[ERROR] urls[36] = file:/Users/ernstdehaan/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
[ERROR] urls[37] = file:/Users/ernstdehaan/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[ERROR] urls[38] = file:/Users/ernstdehaan/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[39] = file:/Users/ernstdehaan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[40] = file:/Users/ernstdehaan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
[ERROR] urls[41] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.1/plexus-interactivity-api-1.1.jar
[ERROR] urls[42] = file:/Users/ernstdehaan/.m2/repository/com/fasterxml/woodstox/woodstox-core/6.5.1/woodstox-core-6.5.1.jar
[ERROR] urls[43] = file:/Users/ernstdehaan/.m2/repository/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar
[ERROR] urls[44] = file:/Users/ernstdehaan/.m2/repository/org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.apache.maven.doxia.parser.module.ParserModuleNotFoundException
[ERROR] -> [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 full debug logging.
[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/PluginContainerException

Sample

Here is a sample setup. Have this pom.xml in the top-level folder:

<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.acmeinc</groupId>
  <artifactId>root</artifactId>
  <version>0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <modules>
    <module>module1</module>
    <module>module2</module>
  </modules>
</project>

Have this as module1/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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.acmeinc</groupId>
    <artifactId>root</artifactId>
    <version>0-SNAPSHOT</version>
  </parent>

  <artifactId>module1</artifactId>
</project>

And finally this as the module2/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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.acmeinc</groupId>
    <artifactId>root</artifactId>
    <version>0-SNAPSHOT</version>
  </parent>

  <artifactId>module2</artifactId>
</project>

Workaround

Workaround is to link to a newer version of doxia-core, but not the newest version. With version 2.0.0-M6 it works, but not with 2.0.0-M9:

<build>
  <pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
        <version>2.16.2</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.doxia</groupId>
            <artifactId>doxia-core</artifactId>
            <version>2.0.0-M6</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </pluginManagement>
</build>
@znerd
Copy link
Author

znerd commented Feb 8, 2024

I checked with various versions of the plugin:

  • 🔴 2.16.2 fails
  • 🔴 2.16.1 fails
  • 🔴 2.16.0 fails
  • 🔴 2.15.0 fails
  • 🟢 2.14.2 succeeds
  • 🟢 2.14.1 succeeds
  • 🟢 2.14.0 succeeds

So it appears this issue was introduced in 2.15.0.

Looking at the release notes, the problem may be related to the Doxia Core 2.0.0 preparation issue #905.

@andrzejj0
Copy link
Contributor

andrzejj0 commented Feb 24, 2024

Couldn't not reproduce the reported issue with Maven 3.9.6.
Please keep in mind that the plugin already includes a similar integration test, which passes.

Tried reproducing the issue with https://github.com/jarmoniuk/versions-maven-plugin/tree/issue-1046/versions-maven-plugin/src/it/it-dependency-updates-aggregate-report-issue-1046

Please see the result:

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/apache-maven-3.9.6
Java version: 21.0.2, vendor: GraalVM Community, runtime: /Users/ajarmoniuk/Library/Java/JavaVirtualMachines/graalvm-ce-21.0.2/Contents/Home
Default locale: en_NL, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.graph < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.util < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: plain
[DEBUG] Reading global settings from /opt/apache-maven-3.9.6/conf/settings.xml
[DEBUG] Reading user settings from /Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/it/interpolated-settings.xml
[DEBUG] Reading global toolchains from /opt/apache-maven-3.9.6/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/ajarmoniuk/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo
[INFO] Scanning for projects...
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for snapshots (http://localhost:50851).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project localhost:root:pom:0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project localhost:module1:jar:0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project localhost:module2:jar:0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] root                                                               [pom]
[INFO] module1                                                            [jar]
[INFO] module2                                                            [jar]
[DEBUG] Creating adapter using nameMapper 'gav' and factory 'rwlock-local'
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions-maven-plugin/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions-maven-plugin/2.16.3-SNAPSHOT/maven-metadata.xml (779 B at 6.6 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions-maven-plugin/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] Skipped remote request for org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT/maven-metadata.xml, already updated during this session
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions/2.16.3-SNAPSHOT/maven-metadata.xml (598 B at 75 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions/versions/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: localhost:root:pom:0-SNAPSHOT
[DEBUG] Tasks:   [org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT:dependency-updates-aggregate-report]
[DEBUG] Style:   Aggregating
[DEBUG] =======================================================================
[INFO] 
[INFO] ---------------------------< localhost:root >---------------------------
[INFO] Building root 0-SNAPSHOT                                           [1/3]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       localhost:root:0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [runtime]
[DEBUG] Repositories (dependencies): [mrm-maven-plugin (http://localhost:50851, default, releases+snapshots)]
[DEBUG] Repositories (plugins)     : [mrm-maven-plugin (http://localhost:50851, default, releases+snapshots)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT:dependency-updates-aggregate-report (default-cli)
[DEBUG] Style:         Aggregating
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowSnapshots default-value="false">${allowSnapshots}</allowSnapshots>
  <comparisonMethod>${comparisonMethod}</comparisonMethod>
  <formats default-value="html">${dependencyUpdatesReportFormats}</formats>
  <ignoredVersions>${maven.version.ignore}</ignoredVersions>
  <inputEncoding default-value="${project.build.sourceEncoding}">${encoding}</inputEncoding>
  <localRepository default-value="${localRepository}"/>
  <mojoExecution default-value="${mojoExecution}"/>
  <onlyProjectDependencies default-value="false">${onlyProjectDependencies}</onlyProjectDependencies>
  <onlyUpgradable default-value="false">${onlyUpgradable}</onlyUpgradable>
  <outputDirectory default-value="${project.reporting.outputDirectory}"/>
  <outputEncoding default-value="${project.reporting.outputEncoding}">${outputEncoding}</outputEncoding>
  <processDependencyManagement default-value="true">${processDependencyManagement}</processDependencyManagement>
  <processDependencyManagementTransitive default-value="true">${processDependencyManagementTransitive}</processDependencyManagementTransitive>
  <project default-value="${project}"/>
  <remoteRepositories default-value="${project.remoteArtifactRepositories}"/>
  <rulesUri>${maven.version.rules}</rulesUri>
  <serverId default-value="serverId">${maven.version.rules.serverId}</serverId>
  <session default-value="${session}"/>
  <skip>${versions.skip}</skip>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=54373, ConflictMarker.markTime=102554, ConflictMarker.nodeCount=1, ConflictIdSorter.graphTime=17153, ConflictIdSorter.topsortTime=537795, ConflictIdSorter.conflictIdCount=0, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1491682, ConflictResolver.conflictItemCount=0, DfDependencyCollector.collectTime=134564, DfDependencyCollector.transformTime=3838478}
[DEBUG] localhost:root:pom:0-SNAPSHOT
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=14651, ConflictMarker.markTime=44344, ConflictMarker.nodeCount=1, ConflictIdSorter.graphTime=2783, ConflictIdSorter.topsortTime=6622, ConflictIdSorter.conflictIdCount=0, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=17191, ConflictResolver.conflictItemCount=0, DfDependencyCollector.collectTime=3389, DfDependencyCollector.transformTime=100435}
[DEBUG] localhost:module1:jar:0-SNAPSHOT
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=13697, ConflictMarker.markTime=44883, ConflictMarker.nodeCount=1, ConflictIdSorter.graphTime=2732, ConflictIdSorter.topsortTime=5143, ConflictIdSorter.conflictIdCount=0, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=15935, ConflictResolver.conflictItemCount=0, DfDependencyCollector.collectTime=2854, DfDependencyCollector.transformTime=98895}
[DEBUG] localhost:module2:jar:0-SNAPSHOT
[INFO] 
[INFO] --- versions:2.16.3-SNAPSHOT:dependency-updates-aggregate-report (default-cli) @ root ---
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-model/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-model/2.16.3-SNAPSHOT/maven-metadata.xml (781 B at 43 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions/versions-model/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] Skipped remote request for org.codehaus.mojo.versions:versions-model:2.16.3-SNAPSHOT/maven-metadata.xml, already updated during this session
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for oss.snapshots (https://oss.sonatype.org/content/repositories/plexus-snapshots/).
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-model-report/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-model-report/2.16.3-SNAPSHOT/maven-metadata.xml (788 B at 49 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions/versions-model-report/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] Skipped remote request for org.codehaus.mojo.versions:versions-model-report:2.16.3-SNAPSHOT/maven-metadata.xml, already updated during this session
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-common/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-common/2.16.3-SNAPSHOT/maven-metadata.xml (782 B at 41 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions/versions-common/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] Skipped remote request for org.codehaus.mojo.versions:versions-common:2.16.3-SNAPSHOT/maven-metadata.xml, already updated during this session
[DEBUG] Using transporter HttpTransporter with priority 5.0 for http://localhost:50851
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:50851
[INFO] Downloading from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-api/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from mrm-maven-plugin: http://localhost:50851/org/codehaus/mojo/versions/versions-api/2.16.3-SNAPSHOT/maven-metadata.xml (779 B at 41 kB/s)
[DEBUG] Writing tracking file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/org/codehaus/mojo/versions/versions-api/2.16.3-SNAPSHOT/resolver-status.properties'
[DEBUG] Skipped remote request for org.codehaus.mojo.versions:versions-api:2.16.3-SNAPSHOT/maven-metadata.xml, already updated during this session
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for apache.snapshots (https://repository.apache.org/snapshots).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for plexus.snapshots (https://oss.sonatype.org/content/repositories/plexus-snapshots).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for repository.jboss.org (http://repository.jboss.org/maven2).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for snapshots.jboss.org (http://snapshots.jboss.org/maven2).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/repositories/jboss-snapshots).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for codehaus.snapshots (http://snapshots.repository.codehaus.org).
[DEBUG] Using mirror mrm-maven-plugin (http://localhost:50851) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=2192893, ConflictMarker.markTime=609094, ConflictMarker.nodeCount=207, ConflictIdSorter.graphTime=747595, ConflictIdSorter.topsortTime=151325, ConflictIdSorter.conflictIdCount=77, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=10434858, ConflictResolver.conflictItemCount=170, DfDependencyCollector.collectTime=824285176, DfDependencyCollector.transformTime=14193843}
[DEBUG] org.codehaus.mojo:versions-maven-plugin:jar:2.16.3-SNAPSHOT
[DEBUG]    org.codehaus.mojo.versions:versions-model:jar:2.16.3-SNAPSHOT:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:4.0.0:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-xml:jar:3.0.0:compile (version managed from default)
[DEBUG]    org.codehaus.mojo.versions:versions-model-report:jar:2.16.3-SNAPSHOT:compile
[DEBUG]    org.codehaus.mojo.versions:versions-common:jar:2.16.3-SNAPSHOT:compile
[DEBUG]       org.codehaus.mojo.versions:versions-api:jar:2.16.3-SNAPSHOT:compile
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:3.5.3:compile
[DEBUG]       org.apache.commons:commons-collections4:jar:4.4:compile (version managed from default)
[DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:3.2.0:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:3.1.1:compile (version managed from default)
[DEBUG]       org.apache.maven:maven-core:jar:3.2.5:provided (scope managed from default) (version managed from default)
[DEBUG]          org.apache.maven:maven-model:jar:3.2.5:provided (scope managed from default) (version managed from default)
[DEBUG]          org.apache.maven:maven-settings:jar:3.2.5:provided (scope managed from default) (version managed from default)
[DEBUG]          org.apache.maven:maven-settings-builder:jar:3.2.5:provided
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.2.5:provided
[DEBUG]          org.apache.maven:maven-model-builder:jar:3.2.5:provided
[DEBUG]          org.apache.maven:maven-aether-provider:jar:3.2.5:provided
[DEBUG]             org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:provided
[DEBUG]          org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:provided
[DEBUG]          org.eclipse.aether:aether-api:jar:1.0.0.v20140518:provided
[DEBUG]          org.eclipse.aether:aether-util:jar:1.0.0.v20140518:provided
[DEBUG]          org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0.M1:provided
[DEBUG]             javax.enterprise:cdi-api:jar:1.0:provided
[DEBUG]                javax.annotation:jsr250-api:jar:1.0:provided
[DEBUG]             org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1:provided
[DEBUG]          org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.3:provided
[DEBUG]             javax.inject:javax.inject:jar:1:provided
[DEBUG]             aopalliance:aopalliance:jar:1.0:provided
[DEBUG]             com.google.guava:guava:jar:16.0.1:provided
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.21:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.5.2:provided
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:provided
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.4:provided
[DEBUG]       org.apache.maven:maven-artifact:jar:3.2.5:provided (scope managed from default) (version managed from default)
[DEBUG]       org.apache.maven:maven-plugin-api:jar:3.2.5:provided (scope managed from default) (version managed from default)
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile
[DEBUG]          commons-io:commons-io:jar:2.15.1:compile (version managed from default)
[DEBUG]       org.apache.maven.doxia:doxia-decoration-model:jar:1.11.1:compile
[DEBUG]       org.apache.maven.doxia:doxia-integration-tools:jar:1.11.1:compile (version managed from default) (exclusions managed from default)
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:3.3.2:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.36:compile
[DEBUG]    org.apache.maven.doxia:doxia-core:jar:1.12.0:compile (exclusions managed from default)
[DEBUG]       org.apache.maven.doxia:doxia-logging-api:jar:1.12.0:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:compile
[DEBUG]       org.apache.commons:commons-text:jar:1.11.0:compile (version managed from default)
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[DEBUG]          commons-logging:commons-logging:jar:1.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.16.1:compile (version managed from default)
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.12.0:compile
[DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.11.1:compile (exclusions managed from default)
[DEBUG]       org.apache.maven.doxia:doxia-skin-model:jar:1.11.1:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-xhtml:jar:1.11.1:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-xhtml5:jar:1.11.1:compile
[DEBUG]       org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10:compile
[DEBUG]       org.codehaus.plexus:plexus-velocity:jar:1.2:compile
[DEBUG]       org.apache.velocity:velocity:jar:1.7:compile
[DEBUG]          commons-lang:commons-lang:jar:2.4:compile
[DEBUG]       org.apache.velocity:velocity-tools:jar:2.0:compile
[DEBUG]          commons-beanutils:commons-beanutils:jar:1.9.4:compile (version managed from default)
[DEBUG]          commons-digester:commons-digester:jar:1.8:compile
[DEBUG]          commons-chain:commons-chain:jar:1.1:compile
[DEBUG]          dom4j:dom4j:jar:1.6.1:compile (version managed from default)
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]          oro:oro:jar:2.0.8:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.2:compile
[DEBUG]    org.codehaus.plexus:plexus-interactivity-api:jar:1.3:compile
[DEBUG]    com.fasterxml.woodstox:woodstox-core:jar:6.6.0:compile
[DEBUG]       org.codehaus.woodstox:stax2-api:jar:4.2.2:compile
[DEBUG]    org.apache.commons:commons-lang3:jar:3.14.0:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT
[DEBUG]   Included: org.codehaus.mojo:versions-maven-plugin:jar:2.16.3-SNAPSHOT
[DEBUG]   Included: org.codehaus.mojo.versions:versions-model:jar:2.16.3-SNAPSHOT
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:4.0.0
[DEBUG]   Included: org.codehaus.plexus:plexus-xml:jar:3.0.0
[DEBUG]   Included: org.codehaus.mojo.versions:versions-model-report:jar:2.16.3-SNAPSHOT
[DEBUG]   Included: org.codehaus.mojo.versions:versions-common:jar:2.16.3-SNAPSHOT
[DEBUG]   Included: org.codehaus.mojo.versions:versions-api:jar:2.16.3-SNAPSHOT
[DEBUG]   Included: org.apache.commons:commons-collections4:jar:4.4
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:3.2.0
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.21
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG]   Included: commons-io:commons-io:jar:2.15.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.11.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-integration-tools:jar:1.11.1
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.3.2
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.12.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.12.0
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:2.1.0
[DEBUG]   Included: org.apache.commons:commons-text:jar:1.11.0
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.16.1
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.14
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.12.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.11.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-skin-model:jar:1.11.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.11.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml5:jar:1.11.1
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.2
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.7
[DEBUG]   Included: commons-lang:commons-lang:jar:2.4
[DEBUG]   Included: org.apache.velocity:velocity-tools:jar:2.0
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.9.4
[DEBUG]   Included: commons-digester:commons-digester:jar:1.8
[DEBUG]   Included: commons-chain:commons-chain:jar:1.1
[DEBUG]   Included: dom4j:dom4j:jar:1.6.1
[DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG]   Included: oro:oro:jar:2.0.8
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.3
[DEBUG]   Included: com.fasterxml.woodstox:woodstox-core:jar:6.6.0
[DEBUG]   Included: org.codehaus.woodstox:stax2-api:jar:4.2.2
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.14.0
[DEBUG] Loading mojo org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT:dependency-updates-aggregate-report from plugin realm ClassRealm[plugin>org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@18b4aac2]
[DEBUG] Setting property: velocimacro.permissions.allow.inline.to.replace.global => 'true'.
[DEBUG] Setting property: eventhandler.include.class => 'org.apache.velocity.app.event.implement.IncludeRelativePath'.
[DEBUG] Setting property: velocimacro.messages.on => 'false'.
[DEBUG] Setting property: file.resource.loader.path => ''.
[DEBUG] Setting property: resource.loader => 'classpath,file'.
[DEBUG] Setting property: file.resource.loader.class => 'org.apache.velocity.runtime.resource.loader.FileResourceLoader'.
[DEBUG] Setting property: runtime.log.invalid.references => 'false'.
[DEBUG] Setting property: resource.manager.logwhenfound => 'false'.
[DEBUG] Setting property: classpath.resource.loader.class => 'org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader'.
[DEBUG] Initializing Velocity, Calling init()...
[DEBUG] *******************************************************************
[DEBUG] Starting Apache Velocity v1.7 (compiled: 2010-11-19 12:14:37)
[DEBUG] RuntimeInstance initializing.
[DEBUG] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[DEBUG] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[DEBUG] ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[DEBUG] ClasspathResourceLoader : initialization complete.
[DEBUG] ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
[DEBUG] FileResourceLoader : initialization starting.
[DEBUG] Do unicode file recognition:  false
[DEBUG] FileResourceLoader : adding path ''
[DEBUG] FileResourceLoader : initialization complete.
[DEBUG] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
[DEBUG] Default ResourceManager initialization complete.
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Stop
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Define
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Break
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[DEBUG] Created '20' parsers.
[DEBUG] Velocimacro : initialization starting.
[DEBUG] Velocimacro : allowInline = true : VMs can be defined inline in templates
[DEBUG] Velocimacro : allowInlineToOverride = true : VMs defined inline may replace previous VM definitions
[DEBUG] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[DEBUG] Velocimacro : autoload off : VM system will not automatically reload global library macros
[DEBUG] Velocimacro : Velocimacro : initialization complete.
[DEBUG] RuntimeInstance successfully initialized.
[DEBUG] Configuring mojo execution 'org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT:dependency-updates-aggregate-report:default-cli' with basic configurator -->
[DEBUG]   (f) allowSnapshots = false
[DEBUG]   (f) formats = [html]
[DEBUG]   (f) ignoredVersions = []
[DEBUG]   (f) localRepository =       id: local
      url: file:///Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/local-repo/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]
   blocked: false

[DEBUG]   (f) mojoExecution = org.codehaus.mojo:versions-maven-plugin:2.16.3-SNAPSHOT:dependency-updates-aggregate-report {execution: default-cli}
[DEBUG]   (f) onlyProjectDependencies = false
[DEBUG]   (f) onlyUpgradable = false
[DEBUG]   (f) outputDirectory = /Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/it/it-dependency-updates-aggregate-report-issue-1046/target/site
[DEBUG]   (f) processDependencyManagement = true
[DEBUG]   (f) processDependencyManagementTransitive = true
[DEBUG]   (f) project = MavenProject: localhost:root:0-SNAPSHOT @ /Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/it/it-dependency-updates-aggregate-report-issue-1046/pom.xml
[DEBUG]   (f) remoteRepositories = [      id: mrm-maven-plugin
      url: http://localhost:50851
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => daily]
   blocked: false
]
[DEBUG]   (f) serverId = serverId
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@d611f1c
[DEBUG] -- end configuration --
[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[DEBUG] Skin doxia-sitetools prerequisite: 1.9.1, current: 1.11.1, matched = true
[DEBUG] The file '/Users/ajarmoniuk/IdeaProjects/versions-maven-plugin/versions-maven-plugin/target/it/it-dependency-updates-aggregate-report-issue-1046/target/site/css/site.css' does not exist. Creating an empty file.
[DEBUG] Collecting dependencies for project root
[DEBUG] Collecting managed dependencies for project root
[DEBUG] Collecting managed dependencies for project module1
[DEBUG] Collecting managed dependencies for project module2
[DEBUG] Dependency versions:
[DEBUG] Dependency management versions:
[DEBUG] Processing Velocity for template org/apache/maven/doxia/siterenderer/resources/default-site.vm on dependency-updates-aggregate-report.html
[DEBUG] Velocimacro : added VM link: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM image: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM banner: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM links: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM breadcrumbs: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM displayTree: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM menuItem: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM mainMenu: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM copyright: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM publishDate: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM poweredByLogo: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM googleAnalytics: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[DEBUG] Velocimacro : added VM generatedBy: source=org/apache/maven/doxia/siterenderer/resources/default-site-macros.vm
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for root 0-SNAPSHOT:
[INFO] 
[INFO] root ............................................... SUCCESS [  2.032 s]
[INFO] module1 ............................................ SKIPPED
[INFO] module2 ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.676 s
[INFO] Finished at: 2024-02-24T10:34:54+01:00
[INFO] ------------------------------------------------------------------------
[DEBUG] Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[DEBUG] Shutting down 'file-lock' factory
[DEBUG] Shutting down 'rwlock-local' factory
[DEBUG] Shutting down 'semaphore-local' factory
[DEBUG] Shutting down 'noop' factory

andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants