Skip to content

Commit 8b4833c

Browse files
committed
Merge pull request iipc#11 from nlevitt/unified-pom
pom.xml customizations to allow IA and other 3rd parties to tag builds o...
2 parents ee31051 + ffb68b8 commit 8b4833c

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

pom.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33

4+
<parent>
5+
<groupId>org.sonatype.oss</groupId>
6+
<artifactId>oss-parent</artifactId>
7+
<version>7</version>
8+
</parent>
9+
410
<groupId>org.netpreserve.commons</groupId>
511
<artifactId>webarchive-commons</artifactId>
6-
<version>1.1.1-SNAPSHOT</version>
12+
<version>1.1.1-${build.tag}SNAPSHOT</version>
713
<packaging>jar</packaging>
814

915
<name>webarchive-commons</name>
@@ -47,6 +53,7 @@
4753
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4854
<build.time>${maven.build.timestamp}</build.time>
4955
<maven.build.timestamp.format>yyyyMMddhhmmss</maven.build.timestamp.format>
56+
<build.tag></build.tag>
5057
</properties>
5158

5259
<dependencies>
@@ -233,13 +240,17 @@
233240

234241
</repositories>
235242

236-
237243
<distributionManagement>
238244
<repository>
239245
<id>repository</id>
240246
<!--Pass as command-line system property to maven-->
241247
<url>${repository.url}</url>
242248
</repository>
249+
<snapshotRepository>
250+
<id>repository</id>
251+
<!--Pass as command-line system property to maven-->
252+
<url>${repository.url}</url>
253+
</snapshotRepository>
243254
</distributionManagement>
244-
255+
245256
</project>

0 commit comments

Comments
 (0)