Skip to content

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

Merged
marevol merged 1 commit into
masterfrom
build/fix-duplicate-sources-jar
Jun 12, 2026
Merged

build(pom): pin maven-source-plugin to 3.2.1 to avoid duplicate sources jar#24
marevol merged 1 commit into
masterfrom
build/fix-duplicate-sources-jar

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) in the release profile 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 -Prelease succeeds locally and the sources jar is built and attached correctly

…es jar

maven-source-plugin 3.3.x fails with "We have duplicated artifacts
attached" when the attach-sources execution runs in a build that also
invokes source:jar on the command line (MSOURCES-143), which is how the
Jenkins deploy job runs. Pin to 3.2.1, matching fess-parent.

See https://issues.apache.org/jira/browse/MSOURCES-143
@marevol marevol merged commit d367224 into master Jun 12, 2026
3 checks 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