diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..b76b89570 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..1aba73812 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,2 @@ +_extends: .github +tag-template: plexus-$NEXT_MINOR_VERSION diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..8776c666d --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,52 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: GitHub CI + +on: [push, pull_request] + +jobs: + build: + + strategy: + matrix: + os: [ubuntu-latest] + java: [8, 11, 14, 15-ea] + fail-fast: false + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up cache for ~./m2/repository + uses: actions/cache@v2.1.0 + with: + path: ~/.m2/repository + key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }} + restore-keys: | + maven-${{ matrix.os }}-java${{ matrix.java }}- + maven-${{ matrix.os }}- + + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + + - name: Build with Maven + run: mvn install -e -B -V diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..84d3cb6f9 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,12 @@ +name: Release Drafter +on: + push: + branches: + - master +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5.11.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 188fbbf9e..625e6f78c 100644 --- a/pom.xml +++ b/pom.xml @@ -22,15 +22,15 @@ limitations under the License. org.codehaus.plexus plexus pom - 6.1 + 6.4 Plexus The Plexus project provides a full software stack for creating and executing software projects. - http://codehaus-plexus.github.io/ + https://codehaus-plexus.github.io/ 2001 Codehaus Plexus - http://codehaus-plexus.github.io/ + https://codehaus-plexus.github.io/ @@ -289,12 +289,12 @@ limitations under the License. scm:git:git@github.com:codehaus-plexus/plexus-pom.git scm:git:git@github.com:codehaus-plexus/plexus-pom.git - http://github.com/codehaus-plexus/plexus-pom/tree/${project.scm.tag}/ - plexus-6.1 + https://github.com/codehaus-plexus/plexus-pom/tree/${project.scm.tag}/ + plexus-6.4 github - http://github.com/codehaus-plexus/plexus-pom/issues + https://github.com/codehaus-plexus/plexus-pom/issues @@ -319,7 +319,8 @@ limitations under the License. 1.${javaVersion} UTF-8 https://oss.sonatype.org/content/repositories/plexus-snapshots - 2020-01-20T18:52:37Z + 2020-08-14T11:58:04Z + true @@ -337,7 +338,7 @@ limitations under the License. junit junit - 4.12 + 4.13 test @@ -349,7 +350,7 @@ limitations under the License. org.apache.maven.plugins maven-checkstyle-plugin - 3.0.0 + 3.1.1 config/maven_checks.xml https://raw.github.com/codehaus-plexus/plexus-pom/master/src/main/resources/config/plexus-header.txt @@ -381,7 +382,7 @@ limitations under the License. org.apache.maven.plugins maven-enforcer-plugin - 1.4.1 + 3.0.0-M3 org.apache.maven.plugins @@ -401,7 +402,7 @@ limitations under the License. org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + 3.2.0 org.apache.maven.plugins @@ -416,7 +417,7 @@ limitations under the License. org.apache.maven.plugins maven-pmd-plugin - 3.12.0 + 3.13.0 ${maven.compiler.source} @@ -431,7 +432,7 @@ limitations under the License. org.apache.maven.plugins maven-project-info-reports-plugin - 2.9 + 3.1.0 org.apache.maven.plugins @@ -447,7 +448,7 @@ limitations under the License. org.apache.maven.plugins maven-resources-plugin - 3.0.2 + 3.2.0 org.apache.maven.plugins @@ -462,7 +463,7 @@ limitations under the License. org.apache.maven.plugins maven-site-plugin - 3.8.2 + 3.9.1 true @@ -475,12 +476,12 @@ limitations under the License. org.apache.maven.plugins maven-surefire-plugin - 2.20 + 2.22.2 org.apache.maven.plugins maven-surefire-report-plugin - 2.20 + 2.22.2 org.codehaus.mojo @@ -522,13 +523,6 @@ limitations under the License. org.apache.maven.plugins maven-enforcer-plugin - - - org.codehaus.mojo - animal-sniffer-enforcer-rule - 1.17 - - enforce-maven @@ -544,24 +538,6 @@ limitations under the License. - - check-signatures - test - - enforce - - - - - - org.codehaus.mojo.signature - java1${javaVersion} - 1.0 - - - - - @@ -590,15 +566,15 @@ limitations under the License. summary dependency-info modules - license - project-team + licenses + team scm - issue-tracking - mailing-list + issue-management + mailing-lists dependency-management dependencies dependency-convergence - cim + ci-management plugin-management plugins distribution-management @@ -689,6 +665,35 @@ limitations under the License. plexus-release + + + org.apache.maven.plugins + maven-assembly-plugin + + + org.apache.apache.resources + apache-source-release-assembly-descriptor + 1.0.6 + + + + + source-release-assembly + package + + single + + + true + + source-release + + posix + + + + org.apache.maven.plugins maven-gpg-plugin @@ -731,5 +736,46 @@ limitations under the License. + + pre-JEP_247 + + [7,8] + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + org.codehaus.mojo + animal-sniffer-enforcer-rule + 1.19 + + + + + check-signatures + test + + enforce + + + + + + org.codehaus.mojo.signature + java1${javaVersion} + 1.0 + + + + + + + + + +