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

build: remove useless maven-source-plugin #220

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Conversation

yndu13
Copy link
Contributor

@yndu13 yndu13 commented Jul 22, 2024

No description provided.

@yndu13
Copy link
Contributor Author

yndu13 commented Jul 22, 2024

不需要插件配置maven-source-plugin,我们发布时会显式调用mvn source:jar。maven-source-plugin 3.3.1版本会强制校验冲突,不能配置多次。报错:Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.1:jar (attach-sources) on project tea: Presumably you have configured maven-source-plugin to execute twice in your build. You have to configure a classifier for at least one of them.
当没有额外的source目标需求(除source:jar以外),则可以不显式配置。

@JacksonTian JacksonTian merged commit 0928d6f into master Jul 22, 2024
6 checks passed
@JacksonTian JacksonTian deleted the remove-plugin branch July 22, 2024 03:47
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.

2 participants