Compare commits
38 commits
Author | SHA1 | Date | |
---|---|---|---|
d5e58bbf3d | |||
4193af72d5 | |||
5a99e80dd6 | |||
1dac7430ab | |||
4dff98547e | |||
95288b5d6b | |||
9e58e78c95 | |||
ccdf91cc9f | |||
8f9453dc42 | |||
c1c0919162 | |||
987eb1b136 | |||
9142d74592 | |||
0398b44dc2 | |||
4902673b5a | |||
bf59a7c89b | |||
662887901c | |||
1322d81435 | |||
aaf7646061 | |||
cc30f29ff8 | |||
5fa99b5291 | |||
a7e99a79fe | |||
f1ff8bbb18 | |||
3302326d34 | |||
255edee7e5 | |||
4ff65f6515 | |||
9e5667e91b | |||
5d81cacaac | |||
cedccf0d57 | |||
9556d8c5f4 | |||
916700c5e4 | |||
7ea08f45aa | |||
bf9403538f | |||
4b60617ce3 | |||
|
6dd945d31e | ||
|
d5d5d925fe | ||
|
420e0c8e32 | ||
|
b764de0227 | ||
|
fc688101e6 |
8 changed files with 164 additions and 9 deletions
28
.forgejo/ISSUE_TEMPLATE/bug_report.md
Normal file
28
.forgejo/ISSUE_TEMPLATE/bug_report.md
Normal 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.)
|
24
.forgejo/ISSUE_TEMPLATE/feature_request.md
Normal file
24
.forgejo/ISSUE_TEMPLATE/feature_request.md
Normal 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
6
.forgejo/dependabot.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "maven"
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "daily"
|
7
.forgejo/pull_request_template.md
Normal file
7
.forgejo/pull_request_template.md
Normal 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)
|
32
.forgejo/workflows/analyze.yml
Normal file
32
.forgejo/workflows/analyze.yml
Normal 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
|
25
.forgejo/workflows/build.yml
Normal file
25
.forgejo/workflows/build.yml
Normal 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
|
33
.forgejo/workflows/publish.yml
Normal file
33
.forgejo/workflows/publish.yml
Normal 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
18
pom.xml
|
@ -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.9</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>
|
||||
|
|
Loading…
Add table
Reference in a new issue