Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions android/guava-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
<version>999.0.0-HEAD-android-SNAPSHOT</version>
<packaging>pom</packaging>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
<relativePath></relativePath>
</parent>

<name>Guava BOM</name>
<description>BOM for Guava artifacts</description>
<url>https://github.com/google/guava</url>
Expand Down Expand Up @@ -50,4 +43,23 @@
</dependency>
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
6 changes: 3 additions & 3 deletions android/guava-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<skipPublishing>true</skipPublishing>
</configuration>
</plugin>
<plugin>
Expand Down
8 changes: 0 additions & 8 deletions android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
Expand Down Expand Up @@ -440,10 +436,6 @@
<id>sonatype-nexus-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
</repository>
<site>
<id>guava-site</id>
<name>Guava Documentation Site</name>
Expand Down
26 changes: 19 additions & 7 deletions guava-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
<version>999.0.0-HEAD-jre-SNAPSHOT</version>
<packaging>pom</packaging>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
<relativePath></relativePath>
</parent>

<name>Guava BOM</name>
<description>BOM for Guava artifacts</description>
<url>https://github.com/google/guava</url>
Expand Down Expand Up @@ -55,4 +48,23 @@
</dependency>
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
6 changes: 3 additions & 3 deletions guava-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<skipPublishing>true</skipPublishing>
</configuration>
</plugin>
<plugin>
Expand Down
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
Expand Down Expand Up @@ -435,10 +431,6 @@
<id>sonatype-nexus-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
</repository>
<site>
<id>guava-site</id>
<name>Guava Documentation Site</name>
Expand Down
Loading