Skip to content

Commit 170ac67

Browse files
author
Dave Syer
committed
Fix poms for release
1 parent 2d2e0d8 commit 170ac67

File tree

2 files changed

+89
-8
lines changed

2 files changed

+89
-8
lines changed

pom.xml

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,19 @@
160160
</archive>
161161
</configuration>
162162
</plugin>
163+
<plugin>
164+
<artifactId>maven-javadoc-plugin</artifactId>
165+
<version>${maven-javadoc-plugin.version}</version>
166+
<executions>
167+
<execution>
168+
<id>javadoc</id>
169+
<goals>
170+
<goal>jar</goal>
171+
</goals>
172+
<phase>package</phase>
173+
</execution>
174+
</executions>
175+
</plugin>
163176
<plugin>
164177
<groupId>org.apache.maven.plugins</groupId>
165178
<artifactId>maven-source-plugin</artifactId>
@@ -298,17 +311,10 @@
298311
${project.basedir}/spring-grpc-docs/src/main/javadoc/overview.html</overview>
299312
<detectJavaApiLink>false</detectJavaApiLink>
300313
<doclint>none</doclint>
301-
<!-- <doclint>all,-missing</doclint>-->
314+
<!--<doclint>all,-missing</doclint>-->
302315
<quiet>true</quiet>
303316
</configuration>
304317
<executions>
305-
<execution>
306-
<id>generate-javadocs</id>
307-
<phase>package</phase>
308-
<goals>
309-
<goal>jar</goal>
310-
</goals>
311-
</execution>
312318
<execution>
313319
<id>generate-aggregate-javadocs</id>
314320
<phase>package</phase>
@@ -394,6 +400,33 @@
394400
</repository>
395401
</distributionManagement>
396402
</profile>
403+
<profile>
404+
<id>central</id>
405+
<build>
406+
<plugins>
407+
<plugin>
408+
<groupId>org.apache.maven.plugins</groupId>
409+
<artifactId>maven-gpg-plugin</artifactId>
410+
<version>1.6</version>
411+
<executions>
412+
<execution>
413+
<id>sign-artifacts</id>
414+
<phase>verify</phase>
415+
<goals>
416+
<goal>sign</goal>
417+
</goals>
418+
</execution>
419+
</executions>
420+
<configuration>
421+
<gpgArguments>
422+
<arg>--batch</arg>
423+
<arg>--pinentry-mode=loopback</arg>
424+
</gpgArguments>
425+
</configuration>
426+
</plugin>
427+
</plugins>
428+
</build>
429+
</profile>
397430
</profiles>
398431

399432
<dependencyManagement>

spring-grpc-dependencies/pom.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
</snapshotRepository>
4141
</distributionManagement>
4242

43+
<licenses>
44+
<license>
45+
<name>Apache 2.0</name>
46+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
47+
<distribution>repo</distribution>
48+
</license>
49+
</licenses>
50+
4351
<properties>
4452
<spring-framework.version>6.1.14</spring-framework.version>
4553
<netty.version>4.1.113.Final</netty.version>
@@ -132,6 +140,46 @@
132140
</repository>
133141
</distributionManagement>
134142
</profile>
143+
<profile>
144+
<id>central</id>
145+
<build>
146+
<plugins>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-gpg-plugin</artifactId>
150+
<version>1.6</version>
151+
<executions>
152+
<execution>
153+
<id>sign-artifacts</id>
154+
<phase>verify</phase>
155+
<goals>
156+
<goal>sign</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
<configuration>
161+
<gpgArguments>
162+
<arg>--batch</arg>
163+
<arg>--pinentry-mode=loopback</arg>
164+
</gpgArguments>
165+
</configuration>
166+
</plugin>
167+
</plugins>
168+
</build>
169+
</profile>
135170
</profiles>
136171

172+
<developers>
173+
<developer>
174+
<id>dsyer</id>
175+
<name>Dave Syer</name>
176+
<email>david.syer at broadcom.com</email>
177+
<organization>Broadcom</organization>
178+
<organizationUrl>http://www.spring.io</organizationUrl>
179+
<roles>
180+
<role>lead</role>
181+
</roles>
182+
</developer>
183+
</developers>
184+
137185
</project>

0 commit comments

Comments
 (0)