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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…