|
6 | 6 |
|
7 | 7 | <groupId>me.tongfei</groupId> |
8 | 8 | <artifactId>progressbar</artifactId> |
9 | | - <version>0.10.1</version> |
| 9 | + <version>0.10.2</version> |
10 | 10 | <name>progressbar</name> |
11 | 11 | <description>A terminal-based progress bar for JVM</description> |
12 | | - <url>http://github.com/ctongfei/progressbar</url> |
| 12 | + <url>https://github.com/ctongfei/progressbar</url> |
13 | 13 |
|
14 | 14 | <properties> |
15 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
20 | 20 | <licenses> |
21 | 21 | <license> |
22 | 22 | <name>MIT</name> |
23 | | - <url>http://opensource.org/licenses/MIT</url> |
| 23 | + <url>https://opensource.org/licenses/MIT</url> |
24 | 24 | <distribution>repo</distribution> |
25 | 25 | </license> |
26 | 26 | </licenses> |
|
137 | 137 | <id>koppor</id> |
138 | 138 | <name>Oliver Kopp</name> |
139 | 139 | </developer> |
| 140 | + <developer> |
| 141 | + <id>jan-vcapgemini</id> |
| 142 | + </developer> |
140 | 143 | </developers> |
141 | 144 |
|
142 | 145 | <dependencies> |
143 | 146 | <dependency> |
144 | 147 | <groupId>org.jline</groupId> |
145 | 148 | <artifactId>jline-terminal</artifactId> |
146 | | - <version>3.26.2</version> |
| 149 | + <version>3.29.0</version> |
147 | 150 | </dependency> |
148 | 151 |
|
149 | 152 | <dependency> |
|
177 | 180 |
|
178 | 181 | <distributionManagement> |
179 | 182 | <snapshotRepository> |
180 | | - <id>ossrh</id> |
181 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 183 | + <id>central</id> |
| 184 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
182 | 185 | </snapshotRepository> |
183 | | - <repository> |
184 | | - <id>ossrh</id> |
185 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
186 | | - </repository> |
187 | 186 | </distributionManagement> |
188 | 187 |
|
189 | 188 | <build> |
190 | 189 | <plugins> |
191 | 190 | <plugin> |
192 | 191 | <groupId>org.apache.maven.plugins</groupId> |
193 | 192 | <artifactId>maven-compiler-plugin</artifactId> |
194 | | - <version>3.11.0</version> |
195 | | - <configuration> |
196 | | - <source>8</source> |
197 | | - <target>8</target> |
198 | | - </configuration> |
| 193 | + <version>3.13.0</version> |
199 | 194 | <executions> |
| 195 | + <!-- Default compilation for Java 8 --> |
200 | 196 | <execution> |
201 | 197 | <id>default-compile</id> |
202 | 198 | <configuration> |
203 | | - <excludes> |
204 | | - <!-- module-info.java is compiled using ModiTect --> |
205 | | - <exclude>module-info.java</exclude> |
206 | | - </excludes> |
| 199 | + <source>1.8</source> |
| 200 | + <target>1.8</target> |
207 | 201 | </configuration> |
208 | 202 | </execution> |
209 | | - </executions> |
210 | | - </plugin> |
211 | | - <plugin> |
212 | | - <groupId>org.apache.maven.plugins</groupId> |
213 | | - <artifactId>maven-source-plugin</artifactId> |
214 | | - <version>2.2.1</version> |
215 | | - <executions> |
| 203 | + <!-- Compile module-info.java for Java 9+ --> |
216 | 204 | <execution> |
217 | | - <id>attach-sources</id> |
| 205 | + <id>compile-java9</id> |
| 206 | + <phase>compile</phase> |
218 | 207 | <goals> |
219 | | - <goal>jar-no-fork</goal> |
| 208 | + <goal>compile</goal> |
220 | 209 | </goals> |
| 210 | + <configuration> |
| 211 | + <release>9</release> |
| 212 | + <compileSourceRoots> |
| 213 | + <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot> |
| 214 | + </compileSourceRoots> |
| 215 | + <multiReleaseOutput>true</multiReleaseOutput> |
| 216 | + </configuration> |
221 | 217 | </execution> |
222 | 218 | </executions> |
| 219 | + <configuration> |
| 220 | + <source>9</source> |
| 221 | + <target>9</target> |
| 222 | + </configuration> |
| 223 | + </plugin> |
| 224 | + <plugin> |
| 225 | + <groupId>org.apache.maven.plugins</groupId> |
| 226 | + <artifactId>maven-jar-plugin</artifactId> |
| 227 | + <version>3.4.2</version> |
| 228 | + <configuration> |
| 229 | + <archive> |
| 230 | + <manifestEntries> |
| 231 | + <Multi-Release>true</Multi-Release> |
| 232 | + </manifestEntries> |
| 233 | + </archive> |
| 234 | + </configuration> |
223 | 235 | </plugin> |
224 | 236 | <plugin> |
225 | | - <groupId>org.moditect</groupId> |
226 | | - <artifactId>moditect-maven-plugin</artifactId> |
227 | | - <version>1.2.2.Final</version> |
| 237 | + <groupId>org.apache.maven.plugins</groupId> |
| 238 | + <artifactId>maven-source-plugin</artifactId> |
| 239 | + <version>3.3.1</version> |
228 | 240 | <executions> |
229 | 241 | <execution> |
230 | | - <id>add-module-info</id> |
231 | | - <phase>package</phase> |
| 242 | + <id>attach-sources</id> |
232 | 243 | <goals> |
233 | | - <goal>add-module-info</goal> |
| 244 | + <goal>jar-no-fork</goal> |
234 | 245 | </goals> |
235 | | - <configuration> |
236 | | - <jvmVersion>9</jvmVersion> |
237 | | - <module> |
238 | | - <moduleInfoFile>${project.build.sourceDirectory}/module-info.java</moduleInfoFile> |
239 | | - </module> |
240 | | - <overwriteExistingFiles>true</overwriteExistingFiles> |
241 | | - </configuration> |
242 | 246 | </execution> |
243 | 247 | </executions> |
244 | 248 | </plugin> |
245 | 249 | <plugin> |
246 | 250 | <groupId>org.apache.maven.plugins</groupId> |
247 | 251 | <artifactId>maven-javadoc-plugin</artifactId> |
248 | | - <version>3.0.0</version> |
| 252 | + <version>3.10.1</version> |
249 | 253 | <configuration> |
250 | 254 | <doclint>all,-missing</doclint> |
251 | 255 | <detectJavaApiLink>false</detectJavaApiLink> |
|
262 | 266 | <plugin> |
263 | 267 | <groupId>org.apache.maven.plugins</groupId> |
264 | 268 | <artifactId>maven-gpg-plugin</artifactId> |
265 | | - <version>1.5</version> |
| 269 | + <version>3.2.7</version> |
266 | 270 | <executions> |
267 | 271 | <execution> |
268 | 272 | <id>sign-artifacts</id> |
|
274 | 278 | </executions> |
275 | 279 | </plugin> |
276 | 280 | <plugin> |
277 | | - <groupId>org.sonatype.plugins</groupId> |
278 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
279 | | - <version>1.6.3</version> |
| 281 | + <groupId>org.sonatype.central</groupId> |
| 282 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 283 | + <version>0.6.0</version> |
280 | 284 | <extensions>true</extensions> |
281 | 285 | <configuration> |
282 | | - <serverId>ossrh</serverId> |
283 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
284 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 286 | + <publishingServerId>central</publishingServerId> |
| 287 | + <autoPublish>true</autoPublish> |
285 | 288 | </configuration> |
286 | 289 | </plugin> |
287 | 290 | <plugin> |
288 | 291 | <groupId>org.apache.maven.plugins</groupId> |
289 | 292 | <artifactId>maven-assembly-plugin</artifactId> |
290 | | - <version>3.2.0</version> |
| 293 | + <version>3.7.1</version> |
291 | 294 | <configuration> |
292 | 295 | <descriptorRefs> |
293 | 296 | <descriptorRef>jar-with-dependencies</descriptorRef> |
|
297 | 300 | <plugin> |
298 | 301 | <groupId>org.apache.maven.plugins</groupId> |
299 | 302 | <artifactId>maven-surefire-plugin</artifactId> |
300 | | - <version>3.0.0</version> |
| 303 | + <version>3.5.2</version> |
301 | 304 | <configuration> |
302 | 305 | <useModulePath>false</useModulePath> <!-- tests use classpath --> |
303 | 306 | </configuration> |
|
0 commit comments