Skip to content
This repository was archived by the owner on Feb 6, 2019. It is now read-only.

Commit 902466a

Browse files
committed
Add distributionManagement for artifact storage
To store the build SNAPSHOTS of artifacts a distributionManagement section is required in the pom.xml Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
1 parent 8464427 commit 902466a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pom.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,18 @@
3939
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4040
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4141
<java.version>1.8</java.version>
42+
<nexusproxy>https://nexus.edgexfoundry.org</nexusproxy>
43+
<repobasepath>content/repositories</repobasepath>
4244
</properties>
4345

46+
<distributionManagement>
47+
<snapshotRepository>
48+
<id>snapshots</id>
49+
<name>EdgeX Snapshot Repository</name>
50+
<url>${nexusproxy}/${repobasepath}/snapshots</url>
51+
</snapshotRepository>
52+
</distributionManagement>
53+
4454
<parent>
4555
<groupId>org.springframework.boot</groupId>
4656
<artifactId>spring-boot-starter-parent</artifactId>
@@ -195,4 +205,4 @@
195205
</plugin>
196206
</plugins>
197207
</build>
198-
</project>
208+
</project>

0 commit comments

Comments
 (0)