|
1 | 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"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | | - <parent> |
5 | | - <groupId>org.sonatype.oss</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>9</version> |
8 | | - </parent> |
9 | | - |
10 | 4 | <groupId>com.sprylab.xar</groupId> |
11 | 5 | <artifactId>parent</artifactId> |
12 | 6 | <version>0.9.10-SNAPSHOT</version> |
|
69 | 63 | <maven.compiler.target>1.8</maven.compiler.target> |
70 | 64 |
|
71 | 65 | <!-- Dependency versions --> |
72 | | - <org.slf4j-version>1.7.30</org.slf4j-version> |
73 | | - <okhttp.version>4.9.0</okhttp.version> |
| 66 | + <commons-cli.version>1.4</commons-cli.version> |
| 67 | + <jcabi-manifests.version>1.2.1</jcabi-manifests.version> |
| 68 | + <org.slf4j-version>2.0.7</org.slf4j-version> |
| 69 | + <okhttp.version>4.10.0</okhttp.version> |
74 | 70 | <okio.version>2.9.0</okio.version> |
75 | | - |
| 71 | + <simple-xml.version>2.7.1</simple-xml.version> |
| 72 | + <joou.version>0.9.4</joou.version> |
| 73 | + |
76 | 74 | <!-- Test dependency versions --> |
77 | | - <junit.version>4.13.1</junit.version> |
78 | | - <assertj-core.version>3.18.1</assertj-core.version> |
| 75 | + <junit.version>4.13.2</junit.version> |
| 76 | + <assertj-core.version>3.24.2</assertj-core.version> |
79 | 77 | <!-- Do NOT upgrade to 2.6 - it requires Java 7 APIs which are not available everywhere (e.g. Android) --> |
80 | 78 | <commons-io.version>2.5</commons-io.version> |
81 | 79 | <commons-codec.version>1.11</commons-codec.version> |
82 | 80 | <commons-lang3.version>3.7</commons-lang3.version> |
83 | 81 | <commons-text.version>1.3</commons-text.version> |
84 | 82 |
|
85 | 83 | <!-- Plugin versions --> |
86 | | - <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version> |
87 | | - <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
88 | | - <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> |
| 84 | + <buildnumber-maven-plugin.version>3.0.0</buildnumber-maven-plugin.version> |
| 85 | + <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> |
| 86 | + <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> |
| 87 | + <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> |
| 88 | + <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> |
| 89 | + <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> |
| 90 | + <maven-release-plugin.version>3.0.0</maven-release-plugin.version> |
| 91 | + <maven-shade-plugin.version>3.4.1</maven-shade-plugin.version> |
| 92 | + <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
89 | 93 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
90 | | - <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> |
91 | 94 | </properties> |
92 | 95 |
|
93 | 96 | <dependencyManagement> |
|
167 | 170 | </dependencies> |
168 | 171 | </dependencyManagement> |
169 | 172 |
|
| 173 | + <distributionManagement> |
| 174 | + <snapshotRepository> |
| 175 | + <id>ossrh</id> |
| 176 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 177 | + </snapshotRepository> |
| 178 | + <repository> |
| 179 | + <id>ossrh</id> |
| 180 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 181 | + </repository> |
| 182 | + </distributionManagement> |
170 | 183 | <build> |
171 | 184 | <pluginManagement> |
172 | 185 | <plugins> |
| 186 | + <plugin> |
| 187 | + <groupId>org.apache.maven.plugins</groupId> |
| 188 | + <artifactId>maven-release-plugin</artifactId> |
| 189 | + <version>${maven-release-plugin.version}</version> |
| 190 | + <configuration> |
| 191 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 192 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 193 | + <useReleaseProfile>false</useReleaseProfile> |
| 194 | + <releaseProfiles>release</releaseProfiles> |
| 195 | + <goals>deploy</goals> |
| 196 | + </configuration> |
| 197 | + </plugin> |
173 | 198 | <plugin> |
174 | 199 | <groupId>org.jacoco</groupId> |
175 | 200 | <artifactId>jacoco-maven-plugin</artifactId> |
|
208 | 233 | <execution> |
209 | 234 | <id>attach-sources</id> |
210 | 235 | <goals> |
211 | | - <goal>jar</goal> |
| 236 | + <goal>jar-no-fork</goal> |
212 | 237 | </goals> |
213 | 238 | </execution> |
214 | 239 | </executions> |
|
228 | 253 | </plugin> |
229 | 254 | </plugins> |
230 | 255 | </pluginManagement> |
| 256 | + <plugins> |
| 257 | + <plugin> |
| 258 | + <groupId>org.apache.maven.plugins</groupId> |
| 259 | + <artifactId>maven-gpg-plugin</artifactId> |
| 260 | + <version>${maven-gpg-plugin.version}</version> |
| 261 | + <executions> |
| 262 | + <execution> |
| 263 | + <id>sign-artifacts</id> |
| 264 | + <phase>verify</phase> |
| 265 | + <goals> |
| 266 | + <goal>sign</goal> |
| 267 | + </goals> |
| 268 | + </execution> |
| 269 | + </executions> |
| 270 | + </plugin> |
| 271 | + <plugin> |
| 272 | + <groupId>org.sonatype.plugins</groupId> |
| 273 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 274 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 275 | + <extensions>true</extensions> |
| 276 | + <configuration> |
| 277 | + <serverId>ossrh</serverId> |
| 278 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 279 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 280 | + </configuration> |
| 281 | + </plugin> |
| 282 | + </plugins> |
231 | 283 | </build> |
232 | 284 | </project> |
233 | 285 |
|
0 commit comments