Compare commits

...

39 commits
v1.0.8 ... main

Author SHA1 Message Date
d5e58bbf3d use the bare jar from the ear instead
All checks were successful
build / build (push) Successful in 1m14s
publish / build (push) Successful in 1m19s
2025-05-04 14:26:09 -04:00
4193af72d5 swithc to jar
All checks were successful
build / build (push) Successful in 1m14s
publish / build (push) Successful in 1m21s
2025-05-04 14:13:06 -04:00
5a99e80dd6 Update to 3.5.0
All checks were successful
build / build (push) Successful in 1m22s
publish / build (push) Successful in 1m27s
2025-05-04 13:36:43 -04:00
1dac7430ab Merge pull request 'Bump dependency-check-maven from 6.2.2 to 8.0.1' (#84) from dependabot/maven/org.owasp-dependency-check-maven-8.0.1 into main
Some checks failed
build / build (push) Failing after 25s
Reviewed-on: #84
2025-05-04 13:21:35 -04:00
4dff98547e Merge pull request 'Bump plexus-archiver from 4.2.5 to 4.6.1' (#81) from dependabot/maven/org.codehaus.plexus-plexus-archiver-4.6.1 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #81
2025-05-04 13:21:25 -04:00
95288b5d6b Merge pull request 'Bump checkstyle from 8.45.1 to 10.6.0' (#80) from dependabot/maven/com.puppycrawl.tools-checkstyle-10.6.0 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #80
2025-05-04 13:21:16 -04:00
9e58e78c95 Merge pull request 'Bump extra-enforcer-rules from 1.3 to 1.6.1' (#55) from dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.1 into main
Some checks failed
build / build (push) Has been cancelled
Reviewed-on: #55
2025-05-04 13:21:04 -04:00
ccdf91cc9f Merge pull request 'Bump buildnumber-maven-plugin from 1.4 to 3.0.0' (#15) from dependabot/maven/org.codehaus.mojo-buildnumber-maven-plugin-3.0.0 into main
All checks were successful
build / build (push) Successful in 1m3s
Reviewed-on: #15
2025-05-04 13:17:53 -04:00
8f9453dc42 Update keycloak version for myself
All checks were successful
build / build (push) Successful in 1m29s
2025-05-04 12:49:33 -04:00
c1c0919162 call this develop
All checks were successful
build / build (push) Successful in 1m12s
2025-05-04 12:48:07 -04:00
987eb1b136 try this?
Some checks failed
build / build (push) Failing after 18s
publish / build (push) Successful in 59s
2025-05-04 12:46:08 -04:00
9142d74592 must have version
Some checks failed
build / build (push) Failing after 10s
publish / build (push) Successful in 1m40s
2025-05-04 12:26:13 -04:00
0398b44dc2 Use this?
Some checks failed
build / build (push) Failing after 3s
publish / build (push) Failing after 0s
2025-05-04 12:25:07 -04:00
4902673b5a Create release directory
Some checks failed
build / build (push) Failing after 7s
publish / build (push) Failing after 6s
2025-05-04 12:16:32 -04:00
bf59a7c89b use more defaults
Some checks failed
build / build (push) Successful in 54s
publish / build (push) Failing after 56s
2025-05-04 12:01:00 -04:00
662887901c needs forgejo release
Some checks failed
build / build (push) Successful in 55s
publish / build (push) Failing after 1m9s
2025-05-04 11:55:11 -04:00
1322d81435 i am an idiot, this was working
Some checks failed
build / build (push) Successful in 1m12s
publish / build (push) Failing after 1m12s
2025-05-04 11:48:54 -04:00
aaf7646061 only supports published
All checks were successful
build / build (push) Successful in 1m2s
2025-05-04 11:47:13 -04:00
cc30f29ff8 needs this way i guess?
Some checks failed
build / build (push) Successful in 1m8s
publish / build (push) Failing after 1m59s
2025-05-04 11:42:19 -04:00
5fa99b5291 try this way?
Some checks failed
build / build (push) Has been cancelled
2025-05-04 11:41:02 -04:00
a7e99a79fe recreate publish
Some checks failed
build / build (push) Successful in 1m6s
publish / build (push) Failing after 1m4s
2025-05-04 11:39:12 -04:00
f1ff8bbb18 need path
All checks were successful
build / build (push) Successful in 1m1s
2025-05-04 11:32:43 -04:00
3302326d34 Add maven step
Some checks failed
build / build (push) Failing after 4s
2025-05-04 11:31:48 -04:00
255edee7e5 what going on?
Some checks failed
build / build (push) Failing after 43s
2025-05-04 11:29:01 -04:00
4ff65f6515 what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:27:13 -04:00
9e5667e91b what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:25:36 -04:00
5d81cacaac what going on?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:23:35 -04:00
cedccf0d57 change command name?
Some checks failed
build / build (push) Failing after 14s
2025-05-04 11:20:56 -04:00
9556d8c5f4 readd the checkout step, use java 21 temurin
Some checks failed
build / build (push) Failing after 22s
2025-05-04 11:19:45 -04:00
916700c5e4 url for setup-java
Some checks failed
build / build (push) Failing after 38s
2025-05-04 11:15:33 -04:00
7ea08f45aa Change runs-on
Some checks failed
build / build (push) Failing after 1m5s
2025-05-04 11:12:26 -04:00
bf9403538f hide other workflows for now
Some checks are pending
build / build (push) Waiting to run
2025-05-04 11:10:01 -04:00
4b60617ce3 move to forgejo actions, need to convert things still
Some checks failed
build / build (push) Waiting to run
analyze / analyze (java) (push) Has been cancelled
2025-05-04 11:08:07 -04:00
dependabot[bot]
6dd945d31e
Bump dependency-check-maven from 6.2.2 to 8.0.1
Bumps [dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 6.2.2 to 8.0.1.
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases)
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v6.2.2...v8.0.1)

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-maven
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 18:04:11 +00:00
dependabot[bot]
d5d5d925fe
Bump plexus-archiver from 4.2.5 to 4.6.1
Bumps [plexus-archiver](https://github.com/codehaus-plexus/plexus-archiver) from 4.2.5 to 4.6.1.
- [Release notes](https://github.com/codehaus-plexus/plexus-archiver/releases)
- [Changelog](https://github.com/codehaus-plexus/plexus-archiver/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/codehaus-plexus/plexus-archiver/compare/plexus-archiver-4.2.5...plexus-archiver-4.6.1)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-archiver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:04:04 +00:00
dependabot[bot]
420e0c8e32
Bump checkstyle from 8.45.1 to 10.6.0
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 10.6.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45.1...checkstyle-10.6.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:03:50 +00:00
dependabot[bot]
b764de0227
Bump extra-enforcer-rules from 1.3 to 1.6.1
Bumps [extra-enforcer-rules](https://github.com/mojohaus/extra-enforcer-rules) from 1.3 to 1.6.1.
- [Release notes](https://github.com/mojohaus/extra-enforcer-rules/releases)
- [Commits](https://github.com/mojohaus/extra-enforcer-rules/compare/extra-enforcer-rules-1.3...extra-enforcer-rules-1.6.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:extra-enforcer-rules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 18:38:10 +00:00
dependabot[bot]
fc688101e6
Bump buildnumber-maven-plugin from 1.4 to 3.0.0
Bumps [buildnumber-maven-plugin](https://github.com/mojohaus/buildnumber-maven-plugin) from 1.4 to 3.0.0.
- [Release notes](https://github.com/mojohaus/buildnumber-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/buildnumber-maven-plugin/compare/buildnumber-maven-plugin-1.4...buildnumber-maven-plugin-3.0.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:buildnumber-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 18:22:07 +00:00
Luca Filipozzi
1cc79e4f10 bump pom version to 1.0.9 2021-08-23 13:28:32 -07:00
8 changed files with 164 additions and 9 deletions

View file

@ -0,0 +1,28 @@
---
name: Bug Report
about: Report a problem with this project
title: ''
labels: ''
assignees: ''
---
### Expected Behaviour
Please provide a description of the expected behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Steps To Reproduce
Please provide the steps to reproduce the issue.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

View file

@ -0,0 +1,24 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
### Desired Behaviour
Please provide a description of the desired behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

6
.forgejo/dependabot.yml Normal file
View file

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View file

@ -0,0 +1,7 @@
### Description
Please provide a description that details the content of the pull request.
Please also indicate whether any issues are fixed.
Fixes # (issue)

View file

@ -0,0 +1,32 @@
# name: analyze
#
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
# schedule:
# - cron: '24 21 * * 6'
#
# jobs:
# analyze:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# language: [ 'java' ]
# permissions:
# actions: read
# contents: read
# security-events: write
# steps:
# - name: checkout repository
# uses: actions/checkout@v2
# - name: initialize CodeQL
# uses: github/codeql-action/init@v1
# with:
# languages: ${{ matrix.language }}
# - name: autobuild
# uses: github/codeql-action/autobuild@v1
# - name: perform CodeQL analysis
# uses: github/codeql-action/analyze@v1

View file

@ -0,0 +1,25 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: https://gitea.com/actions/checkout@v2
- name: set up java
uses: https://gitea.com/actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: build with maven
run: mvn --batch-mode --file pom.xml package

View file

@ -0,0 +1,33 @@
name: publish
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: docker
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: set up java
uses: https://gitea.com/actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: build with maven
run: mvn --batch-mode --file pom.xml -Drevision=${GITHUB_REF_NAME/v/} -Dkeycloak.version=21.0.0 package
- name: copy jars
run: |-
mkdir -p release/jars
cp -v bundle/target/keycloak-regex-mapper-*/com.github.lucafilipozzi-keycloak-regex-mapper-*.jar release/jars
- name: upload to release
uses: actions/forgejo-release@v2.6.0
with:
direction: upload
release-dir: 'release/jars'

18
pom.xml
View file

@ -47,8 +47,8 @@
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<github.account>lucafilipozzi</github.account>
<revision>1.0.7</revision>
<keycloak.version>15.0.2</keycloak.version>
<revision>develop</revision>
<keycloak.version>26.0.7</keycloak.version>
</properties>
<!-- IMPORTANT: don't forget to update jboss-deployment-structure.xml -->
@ -143,7 +143,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.5.0</version>
<configuration>
<rules>
<!-- org.apache.maven.plugins:maven-enforcer-plugin -->
@ -151,7 +151,7 @@
<version>1.8</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.6.0</version>
<version>3.9.0</version>
</requireMavenVersion>
<requirePluginVersions>
<banLatest>true</banLatest>
@ -185,14 +185,14 @@
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.3</version>
<version>1.6.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<version>3.0.0</version>
</plugin>
<!-- compile -->
@ -233,7 +233,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>4.2.5</version>
<version>4.6.1</version>
</dependency>
</dependencies>
</plugin>
@ -252,7 +252,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.45.1</version>
<version>10.6.0</version>
</dependency>
</dependencies>
<configuration>
@ -274,7 +274,7 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.2.2</version>
<version>8.0.1</version>
<configuration>
<skipProvidedScope>true</skipProvidedScope>
</configuration>