Skip to content

Commit 01ba292

Browse files
authored
Merge pull request #220 from mmusgrov/issue169
issue169 Sign artefacts with the gpg plugin
2 parents 552c879 + 7e92030 commit 01ba292

1 file changed

Lines changed: 44 additions & 1 deletion

File tree

pom.xml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
<checkstyle.version>3.0.0</checkstyle.version>
3535
<checkstyle.methodNameFormat>^_?[a-z][a-zA-Z0-9]*$</checkstyle.methodNameFormat>
3636
<autorelease>false</autorelease>
37+
<!-- keeping closed repos with failure - default is false because the errors are visible in the maven output, but true will leave the repo open for investigation in Sonatype Nexus -->
38+
<keepStagingReposOnFailure>false</keepStagingReposOnFailure>
3739
</properties>
3840

3941
<licenses>
@@ -55,6 +57,13 @@
5557
<url>https://github.com/eclipse/microprofile-lra/issues</url>
5658
</issueManagement>
5759

60+
<developers>
61+
<developer>
62+
<name>MicroProfile Community</name>
63+
<url>https://groups.google.com/forum/#!forum/microprofile</url>
64+
</developer>
65+
</developers>
66+
5867
<scm>
5968
<connection>scm:git:https://github.com/eclipse/microprofile-lra.git</connection>
6069
<developerConnection>scm:git:https://github.com/eclipse/microprofile-lra.git</developerConnection>
@@ -109,6 +118,11 @@
109118
<name>Project Repository - Releases</name>
110119
<url>https://repo.eclipse.org/content/groups/cbi/</url>
111120
</pluginRepository>
121+
<pluginRepository>
122+
<id>microprofile.repo.eclipse.org</id>
123+
<name>Microprofile Project Repository - Releases</name>
124+
<url>https://repo.eclipse.org/content/groups/microprofile/</url>
125+
</pluginRepository>
112126
</pluginRepositories>
113127

114128
<build>
@@ -124,6 +138,16 @@
124138
<artifactId>maven-jar-plugin</artifactId>
125139
<version>3.0.2</version>
126140
</plugin>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-source-plugin</artifactId>
144+
<version>3.0.1</version>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-javadoc-plugin</artifactId>
149+
<version>2.10.4</version>
150+
</plugin>
127151
<plugin>
128152
<groupId>org.apache.maven.plugins</groupId>
129153
<artifactId>maven-release-plugin</artifactId>
@@ -132,13 +156,20 @@
132156
<autoVersionSubmodules>true</autoVersionSubmodules>
133157
<pushChanges>false</pushChanges>
134158
<localCheckout>true</localCheckout>
159+
<useReleaseProfile>false</useReleaseProfile>
160+
<arguments>${arguments} -Prelease -Drevremark=${revremark}</arguments>
135161
</configuration>
136162
</plugin>
137163
<plugin>
138164
<groupId>org.eclipse.cbi.maven.plugins</groupId>
139165
<artifactId>eclipse-jarsigner-plugin</artifactId>
140166
<version>1.1.4</version>
141167
</plugin>
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-gpg-plugin</artifactId>
171+
<version>1.6</version>
172+
</plugin>
142173
</plugins>
143174
</pluginManagement>
144175
<plugins>
@@ -247,7 +278,6 @@
247278
</excludes>
248279
</configuration>
249280
</plugin>
250-
251281
</plugins>
252282
</build>
253283

@@ -285,6 +315,19 @@
285315
</execution>
286316
</executions>
287317
</plugin>
318+
<plugin>
319+
<groupId>org.apache.maven.plugins</groupId>
320+
<artifactId>maven-gpg-plugin</artifactId>
321+
<executions>
322+
<execution>
323+
<id>sign-artifacts</id>
324+
<phase>verify</phase>
325+
<goals>
326+
<goal>sign</goal>
327+
</goals>
328+
</execution>
329+
</executions>
330+
</plugin>
288331
</plugins>
289332
</build>
290333
</profile>

0 commit comments

Comments
 (0)