Skip to content

Commit

Permalink
ci: add deployment to Maven Central
Browse files Browse the repository at this point in the history
Refs: #26
  • Loading branch information
ariwk committed Jun 27, 2024
1 parent ae83641 commit d1a4b42
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
16 changes: 16 additions & 0 deletions pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<maven-dependency-plugin.version>3.7.1</maven-dependency-plugin.version>
<exec-maven-plugin.version>3.3.0</exec-maven-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>

<!-- Test dependencies -->
<junit.version>5.10.2</junit.version>
Expand Down Expand Up @@ -432,6 +433,21 @@
<pluginManagement>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand Down

0 comments on commit d1a4b42

Please sign in to comment.