|
31 | 31 | <maven.compiler.release>8</maven.compiler.release>
|
32 | 32 | <testng.version>7.5.1</testng.version>
|
33 | 33 | <junit.version>5.12.1</junit.version>
|
34 |
| - <logback.version>1.3.15</logback.version> |
35 |
| - <compiler-plugin.version>3.10.1</compiler-plugin.version> |
36 |
| - <surefire-plugin.version>3.0.0-M7</surefire-plugin.version> |
37 |
| - <source-plugin.version>3.2.1</source-plugin.version> |
38 |
| - <javadoc-plugin.version>3.4.0</javadoc-plugin.version> |
39 |
| - <gpg-plugin.version>3.0.1</gpg-plugin.version> |
40 |
| - <staging-plugin.version>1.6.13</staging-plugin.version> |
41 |
| - <release-plugin.version>3.0.0-M6</release-plugin.version> |
| 34 | + <logback.version>1.5.13</logback.version> |
| 35 | + <compiler-plugin.version>3.14.0</compiler-plugin.version> |
| 36 | + <surefire-plugin.version>3.5.3</surefire-plugin.version> |
| 37 | + <source-plugin.version>3.3.1</source-plugin.version> |
| 38 | + <javadoc-plugin.version>3.11.2</javadoc-plugin.version> |
| 39 | + <gpg-plugin.version>3.2.8</gpg-plugin.version> |
| 40 | + <staging-plugin.version>1.7.0</staging-plugin.version> |
| 41 | + <release-plugin.version>3.1.1</release-plugin.version> |
42 | 42 | <skipSigning>true</skipSigning>
|
43 | 43 | </properties>
|
44 | 44 |
|
|
52 | 52 | <distributionManagement>
|
53 | 53 | <snapshotRepository>
|
54 | 54 | <id>ossrh</id>
|
55 |
| - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 55 | + <url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url> |
56 | 56 | </snapshotRepository>
|
57 | 57 | <repository>
|
58 | 58 | <id>ossrh</id>
|
59 |
| - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 59 | + <url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url> |
60 | 60 | </repository>
|
61 | 61 | </distributionManagement>
|
62 | 62 |
|
|
95 | 95 | </dependencies>
|
96 | 96 |
|
97 | 97 | <build>
|
98 |
| - <pluginManagement> |
99 |
| - <plugins> |
100 |
| - <plugin> |
101 |
| - <groupId>org.apache.maven.plugins</groupId> |
102 |
| - <artifactId>maven-compiler-plugin</artifactId> |
103 |
| - <version>${compiler-plugin.version}</version> |
104 |
| - </plugin> |
105 |
| - <plugin> |
106 |
| - <groupId>org.apache.maven.plugins</groupId> |
107 |
| - <artifactId>maven-surefire-plugin</artifactId> |
108 |
| - <version>${surefire-plugin.version}</version> |
109 |
| - </plugin> |
110 |
| - <plugin> |
111 |
| - <groupId>org.apache.maven.plugins</groupId> |
112 |
| - <artifactId>maven-source-plugin</artifactId> |
113 |
| - <version>${source-plugin.version}</version> |
114 |
| - </plugin> |
115 |
| - <plugin> |
116 |
| - <groupId>org.apache.maven.plugins</groupId> |
117 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
118 |
| - <version>${javadoc-plugin.version}</version> |
119 |
| - </plugin> |
120 |
| - <plugin> |
121 |
| - <groupId>org.apache.maven.plugins</groupId> |
122 |
| - <artifactId>maven-gpg-plugin</artifactId> |
123 |
| - <version>${gpg-plugin.version}</version> |
124 |
| - </plugin> |
125 |
| - <plugin> |
126 |
| - <groupId>org.sonatype.plugins</groupId> |
127 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
128 |
| - <version>${staging-plugin.version}</version> |
129 |
| - </plugin> |
130 |
| - <plugin> |
131 |
| - <groupId>org.apache.maven.plugins</groupId> |
132 |
| - <artifactId>maven-release-plugin</artifactId> |
133 |
| - <version>${release-plugin.version}</version> |
134 |
| - </plugin> |
135 |
| - </plugins> |
136 |
| - </pluginManagement> |
137 | 98 | <plugins>
|
138 | 99 | <plugin>
|
139 |
| - <groupId>org.apache.maven.plugins</groupId> |
140 | 100 | <artifactId>maven-compiler-plugin</artifactId>
|
| 101 | + <version>${compiler-plugin.version}</version> |
141 | 102 | </plugin>
|
142 | 103 | <plugin>
|
143 |
| - <groupId>org.apache.maven.plugins</groupId> |
144 | 104 | <artifactId>maven-surefire-plugin</artifactId>
|
| 105 | + <version>${surefire-plugin.version}</version> |
145 | 106 | </plugin>
|
146 | 107 | <plugin>
|
147 |
| - <groupId>org.apache.maven.plugins</groupId> |
148 | 108 | <artifactId>maven-source-plugin</artifactId>
|
| 109 | + <version>${source-plugin.version}</version> |
149 | 110 | <executions>
|
150 | 111 | <execution>
|
151 | 112 | <id>attach-sources</id>
|
|
156 | 117 | </executions>
|
157 | 118 | </plugin>
|
158 | 119 | <plugin>
|
159 |
| - <groupId>org.apache.maven.plugins</groupId> |
160 | 120 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 121 | + <version>${javadoc-plugin.version}</version> |
161 | 122 | <executions>
|
162 | 123 | <execution>
|
163 | 124 | <id>attach-javadocs</id>
|
|
168 | 129 | </executions>
|
169 | 130 | </plugin>
|
170 | 131 | <plugin>
|
171 |
| - <groupId>org.apache.maven.plugins</groupId> |
172 | 132 | <artifactId>maven-gpg-plugin</artifactId>
|
| 133 | + <version>${gpg-plugin.version}</version> |
173 | 134 | <executions>
|
174 | 135 | <execution>
|
175 | 136 | <id>sign-artifacts</id>
|
|
188 | 149 | <plugin>
|
189 | 150 | <groupId>org.sonatype.plugins</groupId>
|
190 | 151 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 152 | + <version>${staging-plugin.version}</version> |
191 | 153 | <extensions>true</extensions>
|
| 154 | + <dependencies> |
| 155 | + <dependency> |
| 156 | + <groupId>io.github.x-stream</groupId> |
| 157 | + <artifactId>mxparser</artifactId> |
| 158 | + <version>1.2.1</version> |
| 159 | + </dependency> |
| 160 | + </dependencies> |
192 | 161 | <configuration>
|
193 | 162 | <serverId>ossrh</serverId>
|
194 |
| - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 163 | + <nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl> |
195 | 164 | <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
196 | 165 | </configuration>
|
197 | 166 | </plugin>
|
198 | 167 | <plugin>
|
199 |
| - <groupId>org.apache.maven.plugins</groupId> |
200 | 168 | <artifactId>maven-release-plugin</artifactId>
|
| 169 | + <version>${release-plugin.version}</version> |
201 | 170 | <configuration>
|
202 | 171 | <autoVersionSubmodules>true</autoVersionSubmodules>
|
203 | 172 | <useReleaseProfile>false</useReleaseProfile>
|
|
0 commit comments