Skip to content

Commit

Permalink
updating log4j library
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasa committed Dec 13, 2021
1 parent 493480b commit 473d228
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path

name: Maven Package

on:
release:
types: [created]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: MAVEN_OPTS="-Dfile.encoding=UTF-8" mvn -B clean install --file pom.xml -DskipTests

- uses: ncipollo/release-action@v1
with:
artifacts: "target/geofuse-admin.war"
replacesArtifacts: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}

6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<repositories>
<repository>
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>

Expand Down Expand Up @@ -88,12 +88,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.6.2</version>
<version>2.15.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.6.2</version>
<version>2.15.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
Expand Down

0 comments on commit 473d228

Please sign in to comment.