Skip to content
This repository was archived by the owner on Jun 1, 2019. It is now read-only.

Commit 0a9b61d

Browse files
committed
Add configuration to comply with Sonatype's requirements.
1 parent 11ef385 commit 0a9b61d

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

externs/pom.xml

+15
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,21 @@
5959
<groupId>org.apache.maven.plugins</groupId>
6060
<artifactId>maven-resources-plugin</artifactId>
6161
</plugin>
62+
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-gpg-plugin</artifactId>
66+
<version>1.5</version>
67+
<executions>
68+
<execution>
69+
<id>sign-artifacts</id>
70+
<phase>verify</phase>
71+
<goals>
72+
<goal>sign</goal>
73+
</goals>
74+
</execution>
75+
</executions>
76+
</plugin>
6277
</plugins>
6378
<resources>
6479
<resource>

pom-main.xml

+23
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@
230230
<detectLinks>true</detectLinks>
231231
<excludePackageNames>*.gwt.*:*.testing.*:*.debugger.*:*.webservice.*:*.debugging.*:*.ant.*</excludePackageNames>
232232
</configuration>
233+
<executions>
234+
<execution>
235+
<id>attach-javadocs</id>
236+
<goals>
237+
<goal>jar</goal>
238+
</goals>
239+
</execution>
240+
</executions>
233241
</plugin>
234242

235243
<plugin>
@@ -259,6 +267,21 @@
259267
</execution>
260268
</executions>
261269
</plugin>
270+
271+
<plugin>
272+
<groupId>org.apache.maven.plugins</groupId>
273+
<artifactId>maven-gpg-plugin</artifactId>
274+
<version>1.5</version>
275+
<executions>
276+
<execution>
277+
<id>sign-artifacts</id>
278+
<phase>verify</phase>
279+
<goals>
280+
<goal>sign</goal>
281+
</goals>
282+
</execution>
283+
</executions>
284+
</plugin>
262285
</plugins>
263286
</build>
264287

pom.xml

+28
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222
<name>Closure Compiler Parent for Java 6</name>
2323
<version>v20160517</version>
2424

25+
<distributionManagement>
26+
<snapshotRepository>
27+
<id>ossrh</id>
28+
<url>https://oss.sonatype.org/content/repositories/shapshots</url>
29+
</snapshotRepository>
30+
<repository>
31+
<id>ossrh</id>
32+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
33+
</repository>
34+
</distributionManagement>
35+
2536
<url>https://github.com/scala-js/closure-compiler/</url>
2637
<description>
2738
Closure Compiler is a JavaScript optimizing compiler. It parses your
@@ -201,6 +212,23 @@
201212
</plugin>
202213
</plugins>
203214
</pluginManagement>
215+
216+
<plugins>
217+
<plugin>
218+
<groupId>org.apache.maven.plugins</groupId>
219+
<artifactId>maven-gpg-plugin</artifactId>
220+
<version>1.5</version>
221+
<executions>
222+
<execution>
223+
<id>sign-artifacts</id>
224+
<phase>verify</phase>
225+
<goals>
226+
<goal>sign</goal>
227+
</goals>
228+
</execution>
229+
</executions>
230+
</plugin>
231+
</plugins>
204232
</build>
205233

206234
<profiles>

0 commit comments

Comments
 (0)