Skip to content

Commit fd61a81

Browse files
committed
add distributionManagement element
1 parent 346ffe0 commit fd61a81

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

pom.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@
214214
<artifactId>maven-jar-plugin</artifactId>
215215
<version>2.6</version>
216216
</plugin>
217+
218+
<plugin>
219+
<groupId>org.apache.maven.plugins</groupId>
220+
<artifactId>maven-gpg-plugin</artifactId>
221+
<version>3.0.1</version>
222+
</plugin>
223+
217224
</plugins>
218225
</pluginManagement>
219226
<plugins>
@@ -228,4 +235,28 @@
228235
</plugins>
229236
</build>
230237

238+
239+
<distributionManagement>
240+
<repository>
241+
<id>webank-releases</id>
242+
<name>webank-releases</name>
243+
<url>http://maven.weoa.com/nexus/content/repositories/releases</url>
244+
</repository>
245+
<snapshotRepository>
246+
<id>webank-snapshots</id>
247+
<name>webank-snapshots</name>
248+
<url>http://maven.weoa.com/nexus/content/repositories/snapshots</url>
249+
</snapshotRepository>
250+
</distributionManagement>
251+
252+
253+
<profiles>
254+
<profile>
255+
<id>product</id>
256+
<properties>
257+
<project.release.version>1.0.0-SNAPSHOT</project.release.version>
258+
</properties>
259+
</profile>
260+
</profiles>
261+
231262
</project>

0 commit comments

Comments
 (0)