maven 에서 repackging 이라는걸로 인해서 이렇게 바뀐다는데
file로 보면 war는 data과 war.original은 zip archive data 라고 되어있는데 무슨 차이인지 감이 안오네..
The answer is that you are using repackage goal in your spring-boot-maven-plugin. So, What it does? Maven first builds your project and packages your classes and resources into a WAR (${artifactId}.war) file. Then, repackaging happens. In this goal, all the dependencies mentioned in the pom.xml are packaged inside a new WAR (${artifactId}.war) and the previously generated war is renamed to ${artifactId}.war.original. |
[링크 : https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html]
[링크 : http://repackage.org/]
Repackages existing JAR and WAR archives so that they can be executed from the command line using java -jar. With layout=NONE can also be used simply to package a JAR with nested dependencies (and no main class, so not executable). |
[링크 : https://docs.spring.io/spring-boot/docs/current/maven-plugin/repackage-mojo.html]
'Programming > Java(Spring)' 카테고리의 다른 글
WARNING: An illegal reflective access operation has occurred (0) | 2019.06.05 |
---|---|
spring에 angluar 통합하기 (0) | 2019.06.04 |
java app 메모리 상태 확인하기 (0) | 2019.04.18 |
Transaction was marked for rollback only; cannot commit (0) | 2019.03.25 |
spring boot cassandra (0) | 2019.03.08 |