|
31 | 31 | <logback.version>1.3.15</logback.version> |
32 | 32 | <slf4j.version>2.0.17</slf4j.version> |
33 | 33 | <testng.version>7.5.1</testng.version> |
34 | | - <compiler-plugin.version>3.10.1</compiler-plugin.version> |
35 | | - <surefire-plugin.version>3.0.0-M7</surefire-plugin.version> |
36 | | - <source-plugin.version>3.2.1</source-plugin.version> |
37 | | - <javadoc-plugin.version>3.4.0</javadoc-plugin.version> |
38 | | - <gpg-plugin.version>3.0.1</gpg-plugin.version> |
39 | | - <staging-plugin.version>1.6.13</staging-plugin.version> |
40 | | - <release-plugin.version>3.0.0-M6</release-plugin.version> |
| 34 | + <compiler-plugin.version>3.14.0</compiler-plugin.version> |
| 35 | + <surefire-plugin.version>3.5.3</surefire-plugin.version> |
| 36 | + <source-plugin.version>3.3.1</source-plugin.version> |
| 37 | + <javadoc-plugin.version>3.11.2</javadoc-plugin.version> |
| 38 | + <gpg-plugin.version>3.2.8</gpg-plugin.version> |
| 39 | + <staging-plugin.version>1.7.0</staging-plugin.version> |
| 40 | + <release-plugin.version>3.1.1</release-plugin.version> |
41 | 41 | <apache-derby.version>10.14.2.0</apache-derby.version> |
42 | 42 | <skipSigning>true</skipSigning> |
43 | 43 | </properties> |
|
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/service/local/staging/deploy/maven2/</url> |
60 | 60 | </repository> |
61 | 61 | </distributionManagement> |
62 | 62 |
|
63 | | - <dependencyManagement> |
64 | | - <dependencies> |
65 | | - <dependency> |
66 | | - <groupId>ch.qos.logback</groupId> |
67 | | - <artifactId>logback-classic</artifactId> |
68 | | - <version>${logback.version}</version> |
69 | | - </dependency> |
70 | | - <dependency> |
71 | | - <groupId>ch.qos.logback</groupId> |
72 | | - <artifactId>logback-core</artifactId> |
73 | | - <version>${logback.version}</version> |
74 | | - </dependency> |
75 | | - <dependency> |
76 | | - <groupId>org.slf4j</groupId> |
77 | | - <artifactId>slf4j-api</artifactId> |
78 | | - <version>${slf4j.version}</version> |
79 | | - </dependency> |
80 | | - <dependency> |
81 | | - <groupId>org.testng</groupId> |
82 | | - <artifactId>testng</artifactId> |
83 | | - <version>${testng.version}</version> |
84 | | - </dependency> |
85 | | - <dependency> |
86 | | - <groupId>org.apache.derby</groupId> |
87 | | - <artifactId>derby</artifactId> |
88 | | - <version>${apache-derby.version}</version> |
89 | | - </dependency> |
90 | | - </dependencies> |
91 | | - </dependencyManagement> |
92 | | - |
93 | 63 | <dependencies> |
94 | 64 | <dependency> |
95 | 65 | <groupId>ch.qos.logback</groupId> |
96 | 66 | <artifactId>logback-classic</artifactId> |
| 67 | + <version>${logback.version}</version> |
97 | 68 | <scope>test</scope> |
98 | 69 | </dependency> |
99 | 70 | <dependency> |
100 | 71 | <groupId>ch.qos.logback</groupId> |
101 | 72 | <artifactId>logback-core</artifactId> |
| 73 | + <version>${logback.version}</version> |
102 | 74 | <scope>test</scope> |
103 | 75 | </dependency> |
104 | 76 | <dependency> |
105 | 77 | <groupId>org.slf4j</groupId> |
106 | 78 | <artifactId>slf4j-api</artifactId> |
| 79 | + <version>${slf4j.version}</version> |
107 | 80 | <scope>test</scope> |
108 | 81 | </dependency> |
109 | 82 | <dependency> |
110 | 83 | <groupId>org.testng</groupId> |
111 | 84 | <artifactId>testng</artifactId> |
| 85 | + <version>${testng.version}</version> |
112 | 86 | <scope>test</scope> |
113 | 87 | </dependency> |
114 | 88 | <dependency> |
115 | 89 | <groupId>org.apache.derby</groupId> |
116 | 90 | <artifactId>derby</artifactId> |
| 91 | + <version>${apache-derby.version}</version> |
117 | 92 | <scope>test</scope> |
118 | 93 | </dependency> |
119 | 94 | </dependencies> |
120 | 95 |
|
121 | 96 | <build> |
122 | | - <pluginManagement> |
123 | | - <plugins> |
124 | | - <plugin> |
125 | | - <groupId>org.apache.maven.plugins</groupId> |
126 | | - <artifactId>maven-compiler-plugin</artifactId> |
127 | | - <version>${compiler-plugin.version}</version> |
128 | | - </plugin> |
129 | | - <plugin> |
130 | | - <groupId>org.apache.maven.plugins</groupId> |
131 | | - <artifactId>maven-surefire-plugin</artifactId> |
132 | | - <version>${surefire-plugin.version}</version> |
133 | | - </plugin> |
134 | | - <plugin> |
135 | | - <groupId>org.apache.maven.plugins</groupId> |
136 | | - <artifactId>maven-source-plugin</artifactId> |
137 | | - <version>${source-plugin.version}</version> |
138 | | - </plugin> |
139 | | - <plugin> |
140 | | - <groupId>org.apache.maven.plugins</groupId> |
141 | | - <artifactId>maven-javadoc-plugin</artifactId> |
142 | | - <version>${javadoc-plugin.version}</version> |
143 | | - </plugin> |
144 | | - <plugin> |
145 | | - <groupId>org.apache.maven.plugins</groupId> |
146 | | - <artifactId>maven-gpg-plugin</artifactId> |
147 | | - <version>${gpg-plugin.version}</version> |
148 | | - </plugin> |
149 | | - <plugin> |
150 | | - <groupId>org.sonatype.plugins</groupId> |
151 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
152 | | - <version>${staging-plugin.version}</version> |
153 | | - </plugin> |
154 | | - <plugin> |
155 | | - <groupId>org.apache.maven.plugins</groupId> |
156 | | - <artifactId>maven-release-plugin</artifactId> |
157 | | - <version>${release-plugin.version}</version> |
158 | | - </plugin> |
159 | | - </plugins> |
160 | | - </pluginManagement> |
161 | 97 | <plugins> |
162 | 98 | <plugin> |
163 | | - <groupId>org.apache.maven.plugins</groupId> |
164 | 99 | <artifactId>maven-compiler-plugin</artifactId> |
| 100 | + <version>${compiler-plugin.version}</version> |
165 | 101 | </plugin> |
166 | 102 | <plugin> |
167 | | - <groupId>org.apache.maven.plugins</groupId> |
168 | 103 | <artifactId>maven-surefire-plugin</artifactId> |
| 104 | + <version>${surefire-plugin.version}</version> |
169 | 105 | <configuration> |
170 | 106 | <jdkToolchain> |
171 | 107 | <version>${maven.compiler.release}</version> |
172 | 108 | </jdkToolchain> |
173 | 109 | </configuration> |
174 | 110 | </plugin> |
175 | 111 | <plugin> |
176 | | - <groupId>org.apache.maven.plugins</groupId> |
177 | 112 | <artifactId>maven-source-plugin</artifactId> |
| 113 | + <version>${source-plugin.version}</version> |
178 | 114 | <executions> |
179 | 115 | <execution> |
180 | 116 | <id>attach-sources</id> |
|
185 | 121 | </executions> |
186 | 122 | </plugin> |
187 | 123 | <plugin> |
188 | | - <groupId>org.apache.maven.plugins</groupId> |
189 | 124 | <artifactId>maven-javadoc-plugin</artifactId> |
| 125 | + <version>${javadoc-plugin.version}</version> |
190 | 126 | <executions> |
191 | 127 | <execution> |
192 | 128 | <id>attach-javadocs</id> |
|
197 | 133 | </executions> |
198 | 134 | </plugin> |
199 | 135 | <plugin> |
200 | | - <groupId>org.apache.maven.plugins</groupId> |
201 | 136 | <artifactId>maven-gpg-plugin</artifactId> |
| 137 | + <version>${gpg-plugin.version}</version> |
202 | 138 | <executions> |
203 | 139 | <execution> |
204 | 140 | <id>sign-artifacts</id> |
|
217 | 153 | <plugin> |
218 | 154 | <groupId>org.sonatype.plugins</groupId> |
219 | 155 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 156 | + <version>${staging-plugin.version}</version> |
220 | 157 | <extensions>true</extensions> |
| 158 | + <dependencies> |
| 159 | + <dependency> |
| 160 | + <groupId>io.github.x-stream</groupId> |
| 161 | + <artifactId>mxparser</artifactId> |
| 162 | + <version>1.2.1</version> |
| 163 | + </dependency> |
| 164 | + </dependencies> |
221 | 165 | <configuration> |
222 | 166 | <serverId>ossrh</serverId> |
223 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 167 | + <nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl> |
224 | 168 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
225 | 169 | </configuration> |
226 | 170 | </plugin> |
227 | 171 | <plugin> |
228 | | - <groupId>org.apache.maven.plugins</groupId> |
229 | 172 | <artifactId>maven-release-plugin</artifactId> |
| 173 | + <version>${release-plugin.version}</version> |
230 | 174 | <configuration> |
231 | 175 | <autoVersionSubmodules>true</autoVersionSubmodules> |
232 | 176 | <useReleaseProfile>false</useReleaseProfile> |
|
0 commit comments