aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Decker <cgdecker@google.com>2021-01-05 12:38:41 -0800
committerJimfs Team <java-libraries-discuss+copybara@google.com>2021-01-05 12:39:11 -0800
commit437e670c316f18d4a8b3571450ded3b71446a42d (patch)
tree04cca804247dcd1c97da5a6c7d30bdcb74181a6f
parent7871582b38806a64ab85d68da58d7fba4f41610e (diff)
downloadjimfs-437e670c316f18d4a8b3571450ded3b71446a42d.tar.gz
Remove sonatype-oss-parent.
RELNOTES=n/a PiperOrigin-RevId: 350197931
-rw-r--r--pom.xml62
1 files changed, 57 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index 44a668f..e9a411b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,11 +19,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs-parent</artifactId>
@@ -84,6 +79,19 @@
<url>http://github.com/google/jimfs/issues</url>
</issueManagement>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>sonatype-nexus-snapshots</id>
+ <name>Sonatype Nexus Snapshots</name>
+ <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ <repository>
+ <id>sonatype-nexus-staging</id>
+ <name>Nexus Release Repository</name>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository>
+ </distributionManagement>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<auto-service.version>1.0-rc7</auto-service.version>
@@ -330,6 +338,50 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>sonatype-oss-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>s
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>