Nexus Repository 추가
1. hosted Repository Add
2. Artifact Upload
1) From POM
2) GAV Parameters
3. 새로 생성된 Repository에 추가된 Index 확인
4. Public Repositories에 추가
5. Public Repositories에 추가된 Index 확인
6. 적용
- pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<repositories>
<repository>
<id>central</id>
<url>http://서버주소:8081/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe</id>
<!-- <url>http://maven.egovframe.kr:8080/maven/</url> -->
<url>http://서버주소:8081/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe2</id>
<!-- <url>http://www.egovframe.go.kr/maven/</url> -->
<url>http://서버주소:8081/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://서버주소:8081/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
[출처 및 참고]
This post is licensed under CC BY 4.0 by the author.