Skip to content

Depend on the released Doxia 1.12.0, not the snapshot - #241

Merged
slachiewicz merged 1 commit into
apache:maven-reporting-impl-3.xfrom
slachiewicz:doxia-1.12.0-release
Aug 4, 2026
Merged

Depend on the released Doxia 1.12.0, not the snapshot#241
slachiewicz merged 1 commit into
apache:maven-reporting-impl-3.xfrom
slachiewicz:doxia-1.12.0-release

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

This branch's build fails before it compiles anything:

[ERROR] Failed to execute goal on project maven-reporting-impl: Could not resolve dependencies
[ERROR] dependency: org.apache.maven.doxia:doxia-sink-api:jar:1.12.0-SNAPSHOT (compile)
[ERROR]   Could not find artifact org.apache.maven.doxia:doxia-sink-api:jar:1.12.0-SNAPSHOT in Nexus

doxiaVersion is still 1.12.0-SNAPSHOT. That snapshot is long gone from the snapshot repository, and 1.12.0 was released — so this is just dropping the suffix. It is the only -SNAPSHOT dependency in the POM; the project's own 3.3.0-SNAPSHOT version is untouched.

dependency:resolve succeeds afterwards, picking up doxia-sink-api, doxia-core and doxia-logging-api at 1.12.0 alongside the sitetools artifacts already pinned at 1.11.1.

I could not run a full build locally — the branch targets Java 7 and my JDK is too new (Source option 7 is no longer supported); CI builds it on JDK 8/11/17. Dependency resolution is the part that was failing and it is what I verified.

Heads-up for the next build: this branch is also on parent maven-shared-components 34, whose apache-rat 0.13 rejects the .mvn/wrapper/maven-wrapper.properties that the Jenkins shared library now generates. Once resolution is fixed, the build will most likely reach the RAT check and fail there. apache/maven-reporting-api#77 is the same fix for the sibling repository. Context in apache/maven#12676.

The branch still asks for doxia 1.12.0-SNAPSHOT, which is long gone from
the snapshot repository, so every build fails before it compiles:

  Could not find artifact org.apache.maven.doxia:doxia-sink-api:jar:1.12.0-SNAPSHOT

1.12.0 was released, so this is just dropping the -SNAPSHOT suffix.
dependency:resolve succeeds afterwards and picks up doxia-sink-api,
doxia-core and doxia-logging-api at 1.12.0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@slachiewicz slachiewicz added the dependencies Pull requests that update a dependency file label Aug 4, 2026
@slachiewicz
slachiewicz merged commit aac8e5f into apache:maven-reporting-impl-3.x Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

@slachiewicz The PR can't be associated to a milestone, because there are multiple open milestones. Please add the text "branch: maven-reporting-impl-3.x" to the description to the milestone where this PR belongs to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant