Skip to content

build(pom): pin maven-source-plugin to 3.2.1 to avoid duplicate sources jar - #13

Merged
marevol merged 1 commit into
mainfrom
build/pin-maven-source-plugin
Jun 12, 2026
Merged

marevol merged 1 commit into
mainfrom
build/pin-maven-source-plugin

Conversation

@marevol

@marevol marevol commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The Jenkins deploy job fails with We have duplicated artifacts attached because the attach-sources execution (maven-source-plugin 3.3.1) attaches a sources jar that the job's command-line source:jar goal has already attached. Since 3.3.0, maven-source-plugin fails on duplicate attachment instead of silently overwriting (MSOURCES-143).

Changes Made

Testing

  • mvn clean source:jar package -DskipTests succeeds locally and the sources jar is built and attached correctly

@marevol
marevol merged commit bb88caf into main Jun 12, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant