-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Description
Issue:
Getting the following error when running mvn spring-boot:repackage as standalone command
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.1.RELEASE:repackage (default-cli) on project ce360-manager-service: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.2.1.RELEASE:repackage failed: Source file must be provided
Steps to reproduce
Have a Spring boot application that successfully builds when using the command
mvn clean package spring-boot:repackage
Try running the commands in separate invocation
mvn clean
mvn package
mvn spring-boot:repackage
Spring boot version 2.2.1.RELEASE
λ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00)
Maven home: C:\tools\apache-maven-3.3.9
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: C:\tools\jdk1.8.0_162\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
I have console logs to show more detail but I am unable to attach files to the issue (fetch-json.js:16 POST https://github.com/upload/policies/assets 503 (Service Unavailable)) so I will provide them in-line if needed