Skip to content

Commit

Permalink
Copy the sonatype-oss-release profile from AutoValue to AutoFactory.
Browse files Browse the repository at this point in the history
This makes progress towards fixing #1628, about being able to release AutoFactory.

RELNOTES=n/a
PiperOrigin-RevId: 583842609
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Nov 20, 2023
1 parent 0d28b94 commit 2fb1742
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions factory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,55 @@
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</test.jvm.flags>
</properties>
</profile>
<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 2fb1742

Please sign in to comment.