Skip to content

Commit e3f418b

Browse files
committed
chore: fix release
1 parent c704086 commit e3f418b

File tree

1 file changed

+49
-62
lines changed

1 file changed

+49
-62
lines changed

pom.xml

Lines changed: 49 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<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/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>fr.maif</groupId>
45
<artifactId>izanami-client</artifactId>
@@ -32,18 +33,6 @@
3233
<tag>v2.3.3</tag>
3334
</scm>
3435

35-
<distributionManagement>
36-
<snapshotRepository>
37-
<id>ossrh</id>
38-
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
39-
</snapshotRepository>
40-
<repository>
41-
<id>ossrh</id>
42-
<url>https://ossrh-staging-api.central.sonatype.com/service/local/</url>
43-
</repository>
44-
</distributionManagement>
45-
46-
4736
<developers>
4837
<developer>
4938
<name>Benjamin Cavy</name>
@@ -53,70 +42,68 @@
5342
</developer>
5443
</developers>
5544

56-
<build>
57-
<finalName>izanami-java-client</finalName>
58-
<plugins>
59-
<plugin>
60-
<groupId>org.apache.maven.plugins</groupId>
61-
<artifactId>maven-jar-plugin</artifactId>
62-
<version>${maven-jar-plugin.version}</version>
63-
</plugin>
64-
<plugin>
65-
<groupId>org.apache.maven.plugins</groupId>
66-
<artifactId>maven-source-plugin</artifactId>
67-
<version>3.3.0</version>
68-
<executions>
69-
<execution>
70-
<id>attach-sources</id>
71-
<goals>
72-
<goal>jar-no-fork</goal>
73-
</goals>
74-
</execution>
75-
</executions>
76-
</plugin>
77-
<plugin>
78-
<groupId>org.apache.maven.plugins</groupId>
79-
<artifactId>maven-javadoc-plugin</artifactId>
80-
<version>3.6.3</version>
81-
<executions>
82-
<execution>
83-
<id>attach-javadocs</id>
84-
<goals>
85-
<goal>jar</goal>
86-
</goals>
87-
</execution>
88-
</executions>
89-
<configuration>
90-
<doclint>all,-missing</doclint>
91-
</configuration>
92-
</plugin>
93-
<plugin>
94-
<groupId>org.apache.maven.plugins</groupId>
95-
<artifactId>maven-release-plugin</artifactId>
96-
<version>3.0.1</version>
97-
<configuration>
98-
<tagNameFormat>v@{project.version}</tagNameFormat>
99-
</configuration>
100-
</plugin>
101-
</plugins>
102-
</build>
10345

10446
<profiles>
10547
<profile>
106-
<id>ci-cd</id>
48+
<!-- required, used in .github/workflows/sonatype-publish.yml -->
49+
<id>sonatypeDeploy</id>
10750
<build>
10851
<plugins>
52+
<plugin>
53+
<groupId>org.sonatype.central</groupId>
54+
<artifactId>central-publishing-maven-plugin</artifactId>
55+
<version>0.3.0</version>
56+
<extensions>true</extensions>
57+
<configuration>
58+
<publishingServerId>central</publishingServerId>
59+
<tokenAuth>true</tokenAuth>
60+
<autoPublish>true</autoPublish>
61+
<waitUntil>published</waitUntil>
62+
</configuration>
63+
</plugin>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-source-plugin</artifactId>
67+
<version>3.3.0</version>
68+
<executions>
69+
<execution>
70+
<id>attach-sources</id>
71+
<goals>
72+
<goal>jar-no-fork</goal>
73+
</goals>
74+
</execution>
75+
</executions>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-javadoc-plugin</artifactId>
80+
<version>3.6.3</version>
81+
<executions>
82+
<execution>
83+
<id>attach-javadocs</id>
84+
<goals>
85+
<goal>jar</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
10990
<plugin>
11091
<groupId>org.apache.maven.plugins</groupId>
11192
<artifactId>maven-gpg-plugin</artifactId>
112-
<version>3.2.1</version>
93+
<version>3.1.0</version>
11394
<executions>
11495
<execution>
11596
<id>sign-artifacts</id>
11697
<phase>verify</phase>
11798
<goals>
11899
<goal>sign</goal>
119100
</goals>
101+
<configuration>
102+
<gpgArguments>
103+
<arg>--pinentry-mode</arg>
104+
<arg>loopback</arg>
105+
</gpgArguments>
106+
</configuration>
120107
</execution>
121108
</executions>
122109
</plugin>

0 commit comments

Comments
 (0)