aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorelharo <elharo@google.com>2019-04-12 10:45:48 -0700
committerRon Shapiro <shapiro.rd@gmail.com>2019-04-16 17:58:52 -0400
commit23e4ad3ee650aa2954a7c9c5e60410de9cb342c9 (patch)
treec87bc9537df8a66dd052f7fc02deee3770fb27eb /pom.xml
parent0194a8d1e65a5dbd732fdde7253744887e8e35cf (diff)
downloadguava-23e4ad3ee650aa2954a7c9c5e60410de9cb342c9.tar.gz
Remove obsolete parent per https://github.com/sonatype/oss-parents
and Fixes https://github.com/google/guava/issues/2756 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=243291402
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml64
1 files changed, 59 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index b40d8ffbf..25f05060d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,11 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>9</version>
- </parent>
<groupId>com.google.guava</groupId>
<artifactId>guava-parent</artifactId>
<version>HEAD-jre-SNAPSHOT</version>
@@ -208,6 +203,16 @@
</pluginManagement>
</build>
<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>
<site>
<id>guava-site</id>
<name>Guava Documentation Site</name>
@@ -301,4 +306,53 @@
</dependency>
</dependencies>
</dependencyManagement>
+ <profiles>
+ <profile>
+ <id>sonatype-oss-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <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>
+ <version>${maven-javadoc-plugin.version}</version>
+ <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>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>