Skip to content

Commit

Permalink
Merge pull request #141 from jaguado/master
Browse files Browse the repository at this point in the history
Update org.apache.commons:common-text to version 1.10.0 (#1)
  • Loading branch information
srvrguy authored Nov 11, 2022
2 parents d24ade2 + 1b778f2 commit d66ebe1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Maven Package

on:
release:
types: [created]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
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: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.almrangers.auth.aad</groupId>
<artifactId>sonar-auth-aad-plugin</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<packaging>sonar-plugin</packaging>

<name>Azure Active Directory (AAD) Authentication Plug-in for SonarQube</name>
Expand Down Expand Up @@ -117,7 +117,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.9</version>
<version>1.10.0</version>
</dependency>

<!-- Test dependencies -->
Expand Down

0 comments on commit d66ebe1

Please sign in to comment.