Skip to content

Commit df9ce3d

Browse files
committed
SDK-422: New profile for deploying to /nxs/repository/maven-snaphosts/
1 parent c9be9e0 commit df9ce3d

File tree

1 file changed

+32
-11
lines changed

1 file changed

+32
-11
lines changed

yoti-sdk-parent/pom.xml

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,38 @@
5050
<url>http://github.com/getyoti/yoti-java-sdk.git</url>
5151
</scm>
5252

53-
<distributionManagement>
54-
<snapshotRepository>
55-
<id>ossrh</id>
56-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
57-
</snapshotRepository>
58-
<repository>
59-
<id>ossrh</id>
60-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
61-
</repository>
62-
</distributionManagement>
63-
53+
<profiles>
54+
<profile>
55+
<id>sonatype</id>
56+
<activation>
57+
<activeByDefault>false</activeByDefault>
58+
</activation>
59+
<distributionManagement>
60+
<snapshotRepository>
61+
<id>ossrh</id>
62+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
63+
</snapshotRepository>
64+
<repository>
65+
<id>ossrh</id>
66+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
67+
</repository>
68+
</distributionManagement>
69+
</profile>
70+
<profile>
71+
<id>nexus</id>
72+
<activation>
73+
<activeByDefault>false</activeByDefault>
74+
</activation>
75+
<distributionManagement>
76+
<snapshotRepository>
77+
<id>yoti-snapshots</id>
78+
<name>yoti-snapshots</name>
79+
<url>https://nxs/repository/maven-snaphosts/</url>
80+
</snapshotRepository>
81+
</distributionManagement>
82+
</profile>
83+
</profiles>
84+
6485
<properties>
6586
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6687

0 commit comments

Comments
 (0)