diff options
author | Éamonn McManus <emcmanus@google.com> | 2021-12-14 14:07:03 -0800 |
---|---|---|
committer | Google Java Core Libraries <java-libraries-firehose+copybara@google.com> | 2021-12-14 14:10:31 -0800 |
commit | 7dfa54165a3da99f41de69ca259282001ddea3e7 (patch) | |
tree | 2f7bb2e176071b09ae096ac3a29dac9410a86b64 | |
parent | 000b10c37c94b8f8b3ba1abc35b5d586181be378 (diff) | |
download | auto-7dfa54165a3da99f41de69ca259282001ddea3e7.tar.gz |
Copy the `oss-parent` configuration into `value/pom.xml`.
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
-rw-r--r-- | value/pom.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/value/pom.xml b/value/pom.xml index 1229b004..481cb3e4 100644 --- a/value/pom.xml +++ b/value/pom.xml @@ -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> |