|
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"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 | <groupId>fr.maif</groupId> |
4 | 5 | <artifactId>izanami-client</artifactId> |
|
32 | 33 | <tag>v2.3.3</tag> |
33 | 34 | </scm> |
34 | 35 |
|
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 | | - |
47 | 36 | <developers> |
48 | 37 | <developer> |
49 | 38 | <name>Benjamin Cavy</name> |
|
53 | 42 | </developer> |
54 | 43 | </developers> |
55 | 44 |
|
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> |
103 | 45 |
|
104 | 46 | <profiles> |
105 | 47 | <profile> |
106 | | - <id>ci-cd</id> |
| 48 | + <!-- required, used in .github/workflows/sonatype-publish.yml --> |
| 49 | + <id>sonatypeDeploy</id> |
107 | 50 | <build> |
108 | 51 | <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> |
109 | 90 | <plugin> |
110 | 91 | <groupId>org.apache.maven.plugins</groupId> |
111 | 92 | <artifactId>maven-gpg-plugin</artifactId> |
112 | | - <version>3.2.1</version> |
| 93 | + <version>3.1.0</version> |
113 | 94 | <executions> |
114 | 95 | <execution> |
115 | 96 | <id>sign-artifacts</id> |
116 | 97 | <phase>verify</phase> |
117 | 98 | <goals> |
118 | 99 | <goal>sign</goal> |
119 | 100 | </goals> |
| 101 | + <configuration> |
| 102 | + <gpgArguments> |
| 103 | + <arg>--pinentry-mode</arg> |
| 104 | + <arg>loopback</arg> |
| 105 | + </gpgArguments> |
| 106 | + </configuration> |
120 | 107 | </execution> |
121 | 108 | </executions> |
122 | 109 | </plugin> |
|
0 commit comments