From 7b3ac2dbc188b93566b25d6a6f9f4c63203b5e16 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier-Morency Date: Mon, 29 Apr 2024 10:22:57 -0700 Subject: [PATCH 1/2] Add a CI workflow and a test pom --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ test/pom.xml | 21 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yaml create mode 100644 test/pom.xml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..8ec483d --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: CI +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '8' + - name: Install Maven 3.0.5 + run: mvn wrapper:wrapper -Dmaven=3.0.5 + - name: Install with the release profile + run: ./mvnw -f test/pom.xml install -Prelease + - name: Build Maven site + run: ./mvnw -f test/pom.xml site + diff --git a/test/pom.xml b/test/pom.xml new file mode 100644 index 0000000..0e322eb --- /dev/null +++ b/test/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + ubc.pavlab + pavlab-starter-parent + 1.3.0-SNAPSHOT + .. + + pavlab-starter-parent-test + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + + From 9a520f96af9c0fa0929cdc919514aea6c21427ae Mon Sep 17 00:00:00 2001 From: Guillaume Poirier-Morency Date: Mon, 29 Apr 2024 10:47:10 -0700 Subject: [PATCH 2/2] Ensure that HTTPS is used for central Maven repositories with Maven 3.0.5 --- pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pom.xml b/pom.xml index 4a0d69e..29642a8 100644 --- a/pom.xml +++ b/pom.xml @@ -343,6 +343,10 @@ + + central + https://repo.maven.apache.org/maven2 + pavlab PavLab @@ -350,6 +354,13 @@ + + + central + https://repo.maven.apache.org/maven2 + + + pavlab