Skip to content

Commit

Permalink
Merge pull request #249 from paultuckey/ci/build-num
Browse files Browse the repository at this point in the history
upgrade maven plugins
  • Loading branch information
paultuckey committed Mar 21, 2023
2 parents f40c964 + b6eb067 commit cf885c1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/maven.yml
Expand Up @@ -12,10 +12,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '17'
distribution: 'zulu'

- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn --batch-mode --update-snapshots package

# - uses: actions/upload-artifact@v3
# with:
# name: Package
# path: staging
21 changes: 16 additions & 5 deletions pom.xml
Expand Up @@ -77,7 +77,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.1</version>
<version>3.0.0</version>
<executions>
<execution>
<phase>validate</phase>
Expand All @@ -88,7 +88,8 @@
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>true</doUpdate>
<doUpdate>false</doUpdate>
<shortRevisionLength>5</shortRevisionLength>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -141,8 +142,16 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<version>3.12.0</version>
<dependencies>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.5</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -215,12 +224,14 @@
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.5</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<version>3.0.0-M9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit cf885c1

Please sign in to comment.