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 triedmvn 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:
question from:https://stackoverflow.com/questions/65853093/how-to-run-spring-boot-repackage-goal[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