Skip to content

build: remove useless maven-source-plugin#220

Merged
JacksonTian merged 1 commit intomasterfrom
remove-plugin
Jul 22, 2024
Merged

build: remove useless maven-source-plugin#220
JacksonTian merged 1 commit intomasterfrom
remove-plugin

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
@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