Skip to content

Commit

Permalink
setup gpg sign on profile
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallibenzi committed Jan 2, 2025
1 parent 0146965 commit d6288ba
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 75 deletions.
15 changes: 0 additions & 15 deletions java-odoo-json-rpc-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,6 @@
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</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-release-plugin</artifactId>
Expand Down
15 changes: 0 additions & 15 deletions java-odoo-rpc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,6 @@
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</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-release-plugin</artifactId>
Expand Down
18 changes: 2 additions & 16 deletions java-odoo-xml-rpc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
~
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>java-odoo-xml-rpc-core</artifactId>
<name>java-odoo-xml-rpc-core</name>
Expand Down Expand Up @@ -140,21 +141,6 @@
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</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-release-plugin</artifactId>
Expand Down
15 changes: 0 additions & 15 deletions java-odoo-xml-rpc-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,21 +179,6 @@
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin> -->

<plugin>
<groupId>gg.jte</groupId>
<artifactId>jte-maven-plugin</artifactId>
Expand Down
40 changes: 26 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,23 +211,35 @@
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<outputDirectory>target</outputDirectory>
<plugins>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin> -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
Expand Down

0 comments on commit d6288ba

Please sign in to comment.