Open znerd opened 9 months ago
I checked with various versions of the plugin:
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.
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
It appears that the
dependency-updates-aggregate-report
goal is completely broken in 2.16.2. There is a workaround, but it requires linking todoxia-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
mvn org.codehaus.mojo:versions-maven-plugin:2.16.2:dependency-updates-aggregate-report
.Expected Result
target/dependency-updates-aggregate-report.xml
is generated.Actual Result
Sample
Here is a sample setup. Have this
pom.xml
in the top-level folder:Have this as
module1/pom.xml
:And finally this as the
module2/pom.xml
:Workaround
Workaround is to link to a newer version of
doxia-core
, but not the newest version. With version2.0.0-M6
it works, but not with2.0.0-M9
: