|
46 | 46 | </developers>
|
47 | 47 |
|
48 | 48 | <scm>
|
49 |
| - <connection>scm:git:https://github.com/bodiam/markdown-to-asciidoc.git</connection> |
50 |
| - <url>https://github.com/bodiam/markdown-to-asciidoc.git</url> |
51 |
| - <developerConnection>scm:git:https://github.com/bodiam/markdown-to-asciidoc.git</developerConnection> |
| 49 | + <connection>scm:git:https://github.com/markdown-asciidoc/markdown-to-asciidoc.git</connection> |
| 50 | + <url>https://github.com/markdown-asciidoc/markdown-to-asciidoc.git</url> |
| 51 | + <developerConnection>scm:git:https://github.com/markdown-asciidoc/markdown-to-asciidoc.git</developerConnection> |
52 | 52 | <tag>HEAD</tag>
|
53 | 53 | </scm>
|
54 | 54 |
|
55 |
| - <distributionManagement> |
56 |
| - <snapshotRepository> |
57 |
| - <id>ossrh</id> |
58 |
| - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
59 |
| - </snapshotRepository> |
60 |
| - <repository> |
61 |
| - <id>ossrh</id> |
62 |
| - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
63 |
| - </repository> |
64 |
| - </distributionManagement> |
65 |
| - |
66 | 55 | <properties>
|
67 | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
68 | 57 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
139 | 128 | <plugin>
|
140 | 129 | <groupId>org.apache.maven.plugins</groupId>
|
141 | 130 | <artifactId>maven-surefire-plugin</artifactId>
|
142 |
| - <version>3.1.2</version> |
| 131 | + <version>3.2.3</version> |
143 | 132 | <configuration>
|
144 | 133 | <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
|
145 | 134 | </configuration>
|
146 | 135 | </plugin>
|
147 |
| - <plugin> |
148 |
| - <groupId>org.apache.maven.plugins</groupId> |
149 |
| - <artifactId>maven-source-plugin</artifactId> |
150 |
| - <version>2.2.1</version> |
151 |
| - <executions> |
152 |
| - <execution> |
153 |
| - <id>attach-sources</id> |
154 |
| - <goals> |
155 |
| - <goal>jar</goal> |
156 |
| - </goals> |
157 |
| - </execution> |
158 |
| - </executions> |
159 |
| - </plugin> |
160 |
| - <plugin> |
161 |
| - <groupId>org.apache.maven.plugins</groupId> |
162 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
163 |
| - <version>3.5.0</version> |
164 |
| - <configuration> |
165 |
| - <!-- disable javadoc warnings --> |
166 |
| - <doclint>none</doclint> |
167 |
| - </configuration> |
168 |
| - <executions> |
169 |
| - <execution> |
170 |
| - <id>attach-javadocs</id> |
171 |
| - <goals> |
172 |
| - <goal>jar</goal> |
173 |
| - </goals> |
174 |
| - </execution> |
175 |
| - </executions> |
176 |
| - </plugin> |
177 | 136 | </plugins>
|
178 | 137 | </build>
|
179 | 138 |
|
180 | 139 | <profiles>
|
181 | 140 | <profile>
|
182 |
| - <id>ci-cd</id> |
| 141 | + <id>ossrh</id> |
| 142 | + <distributionManagement> |
| 143 | + <repository> |
| 144 | + <id>ossrh</id> |
| 145 | + <name>Central Repository OSSRH</name> |
| 146 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 147 | + </repository> |
| 148 | + <snapshotRepository> |
| 149 | + <id>ossrh</id> |
| 150 | + <name>Central Repository OSSRH</name> |
| 151 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 152 | + </snapshotRepository> |
| 153 | + </distributionManagement> |
183 | 154 | <build>
|
184 | 155 | <plugins>
|
185 | 156 | <plugin>
|
186 |
| - <groupId>org.sonatype.plugins</groupId> |
187 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
188 |
| - <version>1.6.13</version> |
189 |
| - <extensions>true</extensions> |
| 157 | + <groupId>org.apache.maven.plugins</groupId> |
| 158 | + <artifactId>maven-gpg-plugin</artifactId> |
| 159 | + <version>3.1.0</version> |
| 160 | + <executions> |
| 161 | + <execution> |
| 162 | + <id>sign-artifacts</id> |
| 163 | + <phase>verify</phase> |
| 164 | + <goals> |
| 165 | + <goal>sign</goal> |
| 166 | + </goals> |
| 167 | + </execution> |
| 168 | + </executions> |
190 | 169 | <configuration>
|
191 |
| - <serverId>ossrh</serverId> |
192 |
| - <nexusUrl>https://s01.oss.sonatype.org</nexusUrl> |
193 |
| - <autoReleaseAfterClose>${env.AUTO_RELEASE_AFTER_CLOSE}</autoReleaseAfterClose> |
| 170 | + <!-- Prevent gpg from using pinentry programs. Fixes: gpg: signing |
| 171 | + failed: Inappropriate ioctl for device --> |
| 172 | + <gpgArguments> |
| 173 | + <arg>--pinentry-mode</arg> |
| 174 | + <arg>loopback</arg> |
| 175 | + </gpgArguments> |
194 | 176 | </configuration>
|
195 | 177 | </plugin>
|
196 | 178 | <plugin>
|
197 | 179 | <groupId>org.apache.maven.plugins</groupId>
|
198 |
| - <artifactId>maven-release-plugin</artifactId> |
199 |
| - <version>2.5.3</version> |
200 |
| - <configuration> |
201 |
| - <tagNameFormat>@{project.version}</tagNameFormat> |
202 |
| - </configuration> |
| 180 | + <artifactId>maven-source-plugin</artifactId> |
| 181 | + <version>3.3.0</version> |
203 | 182 | <executions>
|
204 | 183 | <execution>
|
205 |
| - <id>default</id> |
| 184 | + <id>attach-sources</id> |
206 | 185 | <goals>
|
207 |
| - <goal>perform</goal> |
| 186 | + <goal>jar-no-fork</goal> |
208 | 187 | </goals>
|
209 | 188 | </execution>
|
210 | 189 | </executions>
|
211 | 190 | </plugin>
|
212 | 191 | <plugin>
|
213 | 192 | <groupId>org.apache.maven.plugins</groupId>
|
214 |
| - <artifactId>maven-gpg-plugin</artifactId> |
| 193 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 194 | + <version>3.6.0</version> |
215 | 195 | <executions>
|
216 | 196 | <execution>
|
217 |
| - <id>sign-artifacts</id> |
| 197 | + <id>attach-javadocs</id> |
| 198 | + <goals> |
| 199 | + <goal>jar</goal> |
| 200 | + </goals> |
| 201 | + </execution> |
| 202 | + </executions> |
| 203 | + </plugin> |
| 204 | + <plugin> |
| 205 | + <groupId>org.jetbrains.dokka</groupId> |
| 206 | + <artifactId>dokka-maven-plugin</artifactId> |
| 207 | + <version>1.9.10</version> |
| 208 | + <executions> |
| 209 | + <execution> |
| 210 | + <phase>package</phase> |
| 211 | + <goals> |
| 212 | + <goal>javadocJar</goal> |
| 213 | + </goals> |
| 214 | + </execution> |
| 215 | + </executions> |
| 216 | + </plugin> |
| 217 | + <plugin> |
| 218 | + <groupId>org.apache.maven.plugins</groupId> |
| 219 | + <artifactId>maven-release-plugin</artifactId> |
| 220 | + <version>3.0.1</version> |
| 221 | + <configuration> |
| 222 | + <scmCommentPrefix>[ci skip]</scmCommentPrefix> |
| 223 | + </configuration> |
| 224 | + </plugin> |
| 225 | + </plugins> |
| 226 | + </build> |
| 227 | + </profile> |
| 228 | + <profile> |
| 229 | + <id>github</id> |
| 230 | + <distributionManagement> |
| 231 | + <repository> |
| 232 | + <id>github</id> |
| 233 | + <name>GitHub Packages</name> |
| 234 | + <url>https://maven.pkg.github.com/text2confl/text2confl</url> |
| 235 | + </repository> |
| 236 | + </distributionManagement> |
| 237 | + </profile> |
| 238 | + <profile> |
| 239 | + <id>coverage</id> |
| 240 | + <build> |
| 241 | + <plugins> |
| 242 | + <plugin> |
| 243 | + <groupId>org.jacoco</groupId> |
| 244 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 245 | + <version>0.8.11</version> |
| 246 | + <executions> |
| 247 | + <execution> |
| 248 | + <id>prepare-agent</id> |
| 249 | + <goals> |
| 250 | + <goal>prepare-agent</goal> |
| 251 | + </goals> |
| 252 | + </execution> |
| 253 | + <execution> |
| 254 | + <id>jacoco-report</id> |
218 | 255 | <phase>verify</phase>
|
219 | 256 | <goals>
|
220 |
| - <goal>sign</goal> |
| 257 | + <goal>report</goal> |
221 | 258 | </goals>
|
222 |
| - <configuration> |
223 |
| - <gpgArguments> |
224 |
| - <arg>--pinentry-mode</arg> |
225 |
| - <arg>loopback</arg> |
226 |
| - </gpgArguments> |
227 |
| - </configuration> |
228 | 259 | </execution>
|
229 | 260 | </executions>
|
230 | 261 | </plugin>
|
231 | 262 | </plugins>
|
232 | 263 | </build>
|
233 | 264 | </profile>
|
234 | 265 | </profiles>
|
235 |
| - |
236 | 266 | </project>
|
0 commit comments