Skip to content

Commit b88b407

Browse files
author
Rob Austin
committed
OHFT-6 - Set Up TeamCity for all projects - moved the release stuff into the main pom
1 parent 0599a6d commit b88b407

2 files changed

Lines changed: 80 additions & 73 deletions

File tree

affinity/pom.xml

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -81,42 +81,6 @@
8181

8282
<build>
8383

84-
<pluginManagement>
85-
<plugins>
86-
87-
<plugin>
88-
<groupId>org.apache.maven.plugins</groupId>
89-
<artifactId>maven-gpg-plugin</artifactId>
90-
<version>1.5</version>
91-
</plugin>
92-
93-
<plugin>
94-
<groupId>org.apache.maven.plugins</groupId>
95-
<artifactId>maven-javadoc-plugin</artifactId>
96-
<version>2.9.1</version>
97-
</plugin>
98-
99-
<plugin>
100-
<groupId>org.apache.maven.plugins</groupId>
101-
<artifactId>maven-scm-publish-plugin</artifactId>
102-
<version>1.0-beta-2</version>
103-
</plugin>
104-
105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-source-plugin</artifactId>
108-
<version>2.2.1</version>
109-
</plugin>
110-
111-
<plugin>
112-
<groupId>org.apache.felix</groupId>
113-
<artifactId>maven-bundle-plugin</artifactId>
114-
<version>2.3.7</version>
115-
</plugin>
116-
117-
</plugins>
118-
</pluginManagement>
119-
12084
<plugins>
12185
<plugin>
12286
<artifactId>maven-compiler-plugin</artifactId>
@@ -176,18 +140,6 @@
176140
</build>
177141

178142

179-
<distributionManagement>
180-
<snapshotRepository>
181-
<id>sonatype-nexus-snapshots</id>
182-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
183-
</snapshotRepository>
184-
<repository>
185-
<id>sonatype-nexus-staging</id>
186-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
187-
</repository>
188-
</distributionManagement>
189-
190-
191143
<url>http://www.openhft.net</url>
192144
<licenses>
193145
<license>
@@ -205,29 +157,6 @@
205157
</developer>
206158
</developers>
207159

208-
<profiles>
209-
<profile>
210-
<id>sign-artifact</id>
211-
<build>
212-
<plugins>
213-
<plugin>
214-
<groupId>org.apache.maven.plugins</groupId>
215-
<artifactId>maven-gpg-plugin</artifactId>
216-
<executions>
217-
<execution>
218-
<id>sign-artifacts</id>
219-
<phase>verify</phase>
220-
<goals>
221-
<goal>sign</goal>
222-
</goals>
223-
</execution>
224-
</executions>
225-
</plugin>
226-
</plugins>
227-
</build>
228-
229-
</profile>
230-
</profiles>
231160

232161
<repositories>
233162
<repository>

pom.xml

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xmlns="http://maven.apache.org/POM/4.0.0"
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222

@@ -31,4 +31,82 @@
3131
<modules>
3232
<module>affinity</module>
3333
</modules>
34+
35+
36+
<build>
37+
38+
<pluginManagement>
39+
<plugins>
40+
41+
<plugin>
42+
<groupId>org.apache.maven.plugins</groupId>
43+
<artifactId>maven-gpg-plugin</artifactId>
44+
<version>1.5</version>
45+
</plugin>
46+
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-javadoc-plugin</artifactId>
50+
<version>2.9.1</version>
51+
</plugin>
52+
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-scm-publish-plugin</artifactId>
56+
<version>1.0-beta-2</version>
57+
</plugin>
58+
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-source-plugin</artifactId>
62+
<version>2.2.1</version>
63+
</plugin>
64+
65+
<plugin>
66+
<groupId>org.apache.felix</groupId>
67+
<artifactId>maven-bundle-plugin</artifactId>
68+
<version>2.3.7</version>
69+
</plugin>
70+
71+
</plugins>
72+
</pluginManagement>
73+
74+
</build>
75+
76+
<profiles>
77+
<profile>
78+
<id>sign-artifact</id>
79+
<build>
80+
<plugins>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-gpg-plugin</artifactId>
84+
<executions>
85+
<execution>
86+
<id>sign-artifacts</id>
87+
<phase>verify</phase>
88+
<goals>
89+
<goal>sign</goal>
90+
</goals>
91+
</execution>
92+
</executions>
93+
</plugin>
94+
</plugins>
95+
</build>
96+
97+
</profile>
98+
</profiles>
99+
100+
101+
<distributionManagement>
102+
<snapshotRepository>
103+
<id>sonatype-nexus-snapshots</id>
104+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
105+
</snapshotRepository>
106+
<repository>
107+
<id>sonatype-nexus-staging</id>
108+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
109+
</repository>
110+
</distributionManagement>
111+
34112
</project>

0 commit comments

Comments
 (0)