Skip to content

Commit

Permalink
Copy the oss-parent configuration into value/pom.xml.
Browse files Browse the repository at this point in the history
When we stopped using `org.sonatype.oss:oss-parent` we lost this configuration. It turns out to be needed in order to release new versions.

This change fixes AutoValue. We will need to make a similar change later for AutoFactory.

RELNOTES=n/a
PiperOrigin-RevId: 416390801
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Dec 14, 2021
1 parent 000b10c commit 7dfa541
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions value/pom.xml
Expand Up @@ -196,4 +196,56 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</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>3.3.1</version>
<configuration>
<failOnError>false</failOnError>
</configuration>
<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>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 7dfa541

Please sign in to comment.