Skip to content

Commit

Permalink
! pom cleanup & plugins/dependencies upgrade
Browse files Browse the repository at this point in the history
- remove versioneye-maven-plugin
  • Loading branch information
oldratlee committed Dec 24, 2020
1 parent 59c3e5a commit 0281bf4
Show file tree
Hide file tree
Showing 13 changed files with 93 additions and 34 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Land

[![Build Status](https://travis-ci.org/oldratlee/classloader-playground.svg?branch=master)](https://travis-ci.org/oldratlee/classloader-playground)
[![Coverage Status](https://coveralls.io/repos/oldratlee/classloader-playground/badge.svg?branch=master)](https://coveralls.io/r/oldratlee/classloader-playground?branch=master)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![Dependency Status](https://www.versioneye.com/user/projects/55feeb9a4b3478000b001c9d/badge.svg)](https://www.versioneye.com/user/projects/55feeb9a4b3478000b001c9d)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
Expand Down
3 changes: 1 addition & 2 deletions land-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Land Core

[![Build Status](https://travis-ci.org/oldratlee/classloader-playground.svg?branch=master)](https://travis-ci.org/oldratlee/classloader-playground)
[![Coverage Status](https://coveralls.io/repos/oldratlee/classloader-playground/badge.svg?branch=master)](https://coveralls.io/r/oldratlee/classloader-playground?branch=master)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![Dependency Status](https://www.versioneye.com/user/projects/55feebb74b3478000b001cba/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55feebb74b3478000b001cba)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
3 changes: 0 additions & 3 deletions land-core/src/main/resources/versioneye.properties

This file was deleted.

3 changes: 1 addition & 2 deletions land-main-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Land Main Runner

[![Build Status](https://travis-ci.org/oldratlee/classloader-playground.svg?branch=master)](https://travis-ci.org/oldratlee/classloader-playground)
[![Coverage Status](https://coveralls.io/repos/oldratlee/classloader-playground/badge.svg?branch=master)](https://coveralls.io/r/oldratlee/classloader-playground?branch=master)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![Dependency Status](https://www.versioneye.com/user/projects/55feebbc4b3478000b001cbe/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55feebbc4b3478000b001cbe)
[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/classloader-playground/issues)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

提供`Main`方式运行的
Expand Down
2 changes: 1 addition & 1 deletion land-main-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>

<artifactId>land-main-runner</artifactId>
<name>${artifactId}</name>
<name>${project.artifactId}</name>

<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions land-main-runner/src/main/resources/versioneye.properties

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions land-test-helper/src/main/resources/versioneye.properties

This file was deleted.

74 changes: 68 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -56,7 +56,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.8.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
Expand All @@ -70,11 +70,73 @@
</configuration>
</plugin>
<plugin>
<groupId>com.versioneye</groupId>
<artifactId>versioneye-maven-plugin</artifactId>
<version>3.9.1</version>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.5</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!--
config example: https://github.com/mojohaus/versions-maven-plugin/issues/157#issuecomment-306041074
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<rulesUri>file://${maven.multiModuleProjectDirectory}/src/versions-rules.xml</rulesUri>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
Expand Down Expand Up @@ -106,7 +168,7 @@
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.1.0</version>
<version>4.3.0</version>
</plugin>
</plugins>
</build>
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/versioneye.properties

This file was deleted.

21 changes: 21 additions & 0 deletions src/versions-rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset comparisonMethod="maven"
xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">

<!-- config example: https://github.com/mojohaus/versions-maven-plugin/issues/157#issuecomment-306041074 -->
<ignoreVersions>
<ignoreVersion type="regex">.*-[Aa]lpha-\d+</ignoreVersion>
<ignoreVersion type="regex">.*-[Bb]eta([-.]?\d+)?</ignoreVersion>
<ignoreVersion type="regex">(?i).*-eap-\d+</ignoreVersion>
<!-- ignore like kotlinx-coroutines-core 1.3.0-M1 -->
<ignoreVersion type="regex">.*-M\d+(-.*)?</ignoreVersion>
<!-- ignore like kotlin-stdlib 1.3.0-rc-190, scala-library 2.13.0-RC1, kotlinx-coroutines-core 1.3.0-RC -->
<ignoreVersion type="regex">(?i).*-rc(-?\d+(-.*)?)?</ignoreVersion>
<ignoreVersion>.*-does-not-exist</ignoreVersion>
<!-- ignore like kotlin-stdlib 1.3.50-dev-1896 -->
<ignoreVersion type="regex">(?i).*-dev-?\d+(-.*)?</ignoreVersion>
<ignoreVersion type="regex">.*(-does)?-not-exist</ignoreVersion>
</ignoreVersions>
</ruleset>

0 comments on commit 0281bf4

Please sign in to comment.