Значение по умолчанию для цели org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:не удалось переупаковать: ⇐ JAVA
Значение по умолчанию для цели org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:не удалось переупаковать:
I am trying to build a JAR file out of a spring project. When I try to do a maven install, it throws me the following error
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:repackage (default) on project ABC: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:repackage failed: Unable to rename 'ABC-0.0.1-SNAPSHOT.jar' to 'ABC-0.0.1-SNAPSHOT.jar.original' -> The 'pom' file is as shown below
4.0.0 ABC ABC 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent 1.4.0.RELEASE org.apache.commons commons-configuration2 2.0 com.googlecode.json-simple json-simple 1.1.1 org.springframework spring-core 5.0.0.RELEASE org.springframework spring-beans 5.0.2.RELEASE org.springframework.boot spring-boot-starter 1.5.9.RELEASE org.springframework.boot spring-boot-starter-web 1.5.9.RELEASE io.springfox springfox-swagger2 2.7.0 io.springfox springfox-swagger-ui 2.7.0 javax.servlet javax.servlet-api 3.1.0 provided The build part of the pom file is as shown below
src maven-compiler-plugin 3.3 1.8 1.8 UTF-8 maven-assembly-plugin package single true ABCapp jar-with-dependencies org.springframework.boot spring-boot-maven-plugin true ${start-class} JAR true repackage I tried to look in SO and other forums for a possible solution. But none of them worked. Any pointers as to where the problem might be ?
Источник: https://stackoverflow.com/questions/489 ... -plugin1-4
I am trying to build a JAR file out of a spring project. When I try to do a maven install, it throws me the following error
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:repackage (default) on project ABC: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:repackage failed: Unable to rename 'ABC-0.0.1-SNAPSHOT.jar' to 'ABC-0.0.1-SNAPSHOT.jar.original' -> The 'pom' file is as shown below
4.0.0 ABC ABC 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent 1.4.0.RELEASE org.apache.commons commons-configuration2 2.0 com.googlecode.json-simple json-simple 1.1.1 org.springframework spring-core 5.0.0.RELEASE org.springframework spring-beans 5.0.2.RELEASE org.springframework.boot spring-boot-starter 1.5.9.RELEASE org.springframework.boot spring-boot-starter-web 1.5.9.RELEASE io.springfox springfox-swagger2 2.7.0 io.springfox springfox-swagger-ui 2.7.0 javax.servlet javax.servlet-api 3.1.0 provided The build part of the pom file is as shown below
src maven-compiler-plugin 3.3 1.8 1.8 UTF-8 maven-assembly-plugin package single true ABCapp jar-with-dependencies org.springframework.boot spring-boot-maven-plugin true ${start-class} JAR true repackage I tried to look in SO and other forums for a possible solution. But none of them worked. Any pointers as to where the problem might be ?
Источник: https://stackoverflow.com/questions/489 ... -plugin1-4
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение