|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 2 | +<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"> |
4 | 3 |
|
5 | 4 | <modelVersion>4.0.0</modelVersion> |
6 | 5 |
|
|
12 | 11 |
|
13 | 12 | <groupId>com.code54.mojo</groupId> |
14 | 13 | <artifactId>buildversion-plugin</artifactId> |
15 | | - <version>1.0.0</version> |
| 14 | + <version>1.0.1</version> |
16 | 15 | <packaging>maven-plugin</packaging> |
17 | 16 |
|
18 | 17 | <name>buildversion-plugin</name> |
|
36 | 35 | <connection>scm:git:git://github.com/code54/buildversion-plugin.git</connection> |
37 | 36 | <developerConnection>scm:git:ssh://git@github.com:code54/buildversion-plugin.git</developerConnection> |
38 | 37 | <url>https://github.com/code54/buildversion-plugin</url> |
| 38 | + <tag>v1.0.1</tag> |
39 | 39 | </scm> |
40 | 40 |
|
41 | 41 | <properties> |
42 | | - <!-- <clojureMaven.version>0.3.2-SNAPSHOT</clojureMaven.version> --> |
43 | | - <clojureMaven.version>0.3.1</clojureMaven.version> |
| 42 | + <clojureMaven.version>0.3.2</clojureMaven.version> |
44 | 43 | <maven.version>3.0.4</maven.version> |
45 | 44 | </properties> |
46 | 45 |
|
| 46 | + |
| 47 | + <profiles> |
| 48 | + <profile> |
| 49 | + <id>release-sign-artifacts</id> |
| 50 | + <activation> |
| 51 | + <property> |
| 52 | + <name>performRelease</name> |
| 53 | + <value>true</value> |
| 54 | + </property> |
| 55 | + </activation> |
| 56 | + <build> |
| 57 | + <plugins> |
| 58 | + <plugin> |
| 59 | + <groupId>org.apache.maven.plugins</groupId> |
| 60 | + <artifactId>maven-gpg-plugin</artifactId> |
| 61 | + <version>1.1</version> |
| 62 | + <executions> |
| 63 | + <execution> |
| 64 | + <id>sign-artifacts</id> |
| 65 | + <phase>verify</phase> |
| 66 | + <goals> |
| 67 | + <goal>sign</goal> |
| 68 | + </goals> |
| 69 | + </execution> |
| 70 | + </executions> |
| 71 | + </plugin> |
| 72 | + </plugins> |
| 73 | + </build> |
| 74 | + </profile> |
| 75 | + </profiles> |
| 76 | + |
| 77 | + |
47 | 78 | <build> |
48 | 79 | <sourceDirectory>src/main/clojure</sourceDirectory> |
49 | 80 | <resources> |
|
149 | 180 | </initScript> |
150 | 181 | </configuration> |
151 | 182 | </plugin> |
| 183 | + |
| 184 | + <plugin> |
| 185 | + <groupId>org.apache.maven.plugins</groupId> |
| 186 | + <artifactId>maven-release-plugin</artifactId> |
| 187 | + <version>2.3.2</version> |
| 188 | + <configuration> |
| 189 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 190 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 191 | + <localCheckout>true</localCheckout> |
| 192 | + <pushChanges>false</pushChanges> |
| 193 | + |
| 194 | + </configuration> |
| 195 | + </plugin> |
152 | 196 | </plugins> |
153 | 197 |
|
154 | 198 | </build> |
|
168 | 212 | <scope>test</scope> |
169 | 213 | </dependency> |
170 | 214 |
|
171 | | - <!-- <dependency> --> |
172 | | - <!-- <groupId>org.cloudhoist</groupId> --> |
173 | | - <!-- <artifactId>clojure-maven-mojo</artifactId> --> |
174 | | - <!-- <version>${clojureMaven.version}</version> --> |
175 | | - <!-- </dependency> --> |
| 215 | + <dependency> |
| 216 | + <groupId>org.cloudhoist</groupId> |
| 217 | + <artifactId>clojure-maven-mojo</artifactId> |
| 218 | + <version>${clojureMaven.version}</version> |
| 219 | + </dependency> |
176 | 220 |
|
177 | 221 | <dependency> |
178 | 222 | <groupId>org.cloudhoist</groupId> |
|
0 commit comments