mvn clean deploy -Dmaven.test.skip=true
https://www.baeldung.com/maven-deploy-nexushttps://www.lesstif.com/java/maven-deploy-plugin-8912900.html
https://joochang.tistory.com/109
https://devocean.sk.com/blog/techBoardDetail.do?ID=163425
<distributionManagement>
<repository>
<id>release</id>
<name>nexus repository</name>
<url>${repository.server}/repository/maven-release</url>
</repository>
<snapshotRepository>
<id>snapshot</id>
<name>Public Repository(snapshot)</name>
<url>${repository.server}/repository/maven-snapshots</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
</distributionManagement>
version에 -SNAPSHOT이 붙으면 <snapshotRepository>에 deploy
version에 -RELEASE가 붙거나 없으면 <repository>에 deploy
groupId, artifactId를 환경별로 다르게 줄 수도 있음
- snapshot timestamp
https://www.baeldung.com/maven-snapshot-release-repository
'maven' 카테고리의 다른 글
maven을 이용해 js, css minify 하기 (0) | 2022.06.20 |
---|---|
maven error at eclipse Plugin execution not covered by lifecycle configuration (0) | 2022.05.26 |
repository server http 사용하도록 하는 설정 - http repository blocking 오류 해결 (0) | 2022.05.12 |
Skipping Tests With Maven (0) | 2022.03.08 |
maven-resources-plugin Input length = 1 오류 (0) | 2022.02.14 |