Skip to content

Commit cad842c

Browse files
cushongoogle-java-format Team
authored andcommitted
Remove obsolete parent per https://github.com/sonatype/oss-parents
PiperOrigin-RevId: 380698526
1 parent 5c69d8e commit cad842c

File tree

1 file changed

+65
-5
lines changed

1 file changed

+65
-5
lines changed

pom.xml

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
22-
<parent>
23-
<groupId>org.sonatype.oss</groupId>
24-
<artifactId>oss-parent</artifactId>
25-
<version>7</version>
26-
</parent>
2722

2823
<groupId>com.google.googlejavaformat</groupId>
2924
<artifactId>google-java-format-parent</artifactId>
@@ -99,6 +94,8 @@
9994
<truth.version>1.0</truth.version>
10095
<checker.version>3.6.1</checker.version>
10196
<errorprone.version>2.7.1</errorprone.version>
97+
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
98+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
10299
</properties>
103100

104101
<dependencyManagement>
@@ -277,4 +274,67 @@
277274
</plugin>
278275
</plugins>
279276
</build>
277+
278+
<distributionManagement>
279+
<snapshotRepository>
280+
<id>sonatype-nexus-snapshots</id>
281+
<name>Sonatype Nexus Snapshots</name>
282+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
283+
</snapshotRepository>
284+
<repository>
285+
<id>sonatype-nexus-staging</id>
286+
<name>Nexus Release Repository</name>
287+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
288+
</repository>
289+
</distributionManagement>
290+
291+
<profiles>
292+
<profile>
293+
<id>sonatype-oss-release</id>
294+
<build>
295+
<plugins>
296+
<plugin>
297+
<groupId>org.apache.maven.plugins</groupId>
298+
<artifactId>maven-source-plugin</artifactId>
299+
<version>${maven-source-plugin.version}</version>
300+
<executions>
301+
<execution>
302+
<id>attach-sources</id>
303+
<goals>
304+
<goal>jar-no-fork</goal>
305+
</goals>
306+
</execution>
307+
</executions>
308+
</plugin>
309+
<plugin>
310+
<groupId>org.apache.maven.plugins</groupId>
311+
<artifactId>maven-javadoc-plugin</artifactId>
312+
<version>${maven-javadoc-plugin.version}</version>
313+
<executions>
314+
<execution>
315+
<id>attach-javadocs</id>
316+
<goals>
317+
<goal>jar</goal>
318+
</goals>
319+
</execution>
320+
</executions>
321+
</plugin>
322+
<plugin>
323+
<groupId>org.apache.maven.plugins</groupId>
324+
<artifactId>maven-gpg-plugin</artifactId>
325+
<version>1.6</version>
326+
<executions>
327+
<execution>
328+
<id>sign-artifacts</id>
329+
<phase>verify</phase>
330+
<goals>
331+
<goal>sign</goal>
332+
</goals>
333+
</execution>
334+
</executions>
335+
</plugin>
336+
</plugins>
337+
</build>
338+
</profile>
339+
</profiles>
280340
</project>

0 commit comments

Comments
 (0)