Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to run only repackage goal that comes from spring-boot-maven-plugin plugin.

I tried

mvn spring-boot-maven-plugin:2.2.0.RELEASE:repackage

but I got:

Plugin not found in any plugin repository

update

I also tried

mvn org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage

I got: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage failed: Source file must be provided

and this is the full error log:

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage (default-cli) on project MyServer: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage failed: Source file must be provided -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage (default-cli) on project MyServer: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.2.0.RELEASE:repackage failed: Source file must be provided

question from:https://stackoverflow.com/questions/65853093/how-to-run-spring-boot-repackage-goal

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...