chore: update maven dependencies

This commit is contained in:
b12f 2024-08-25 15:06:56 +02:00
parent fb569f4746
commit 54f472115d
Signed by: b12f
GPG key ID: 729956E1124F8F26
2 changed files with 42 additions and 42 deletions

View file

@ -1,44 +1,44 @@
{
description = "keycloak-event-listener";
description = "keycloak-event-listener";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
devshell.url = "github:numtide/devshell";
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
devshell.url = "github:numtide/devshell";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devshell.flakeModule
];
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devshell.flakeModule
];
systems = [
"x86_64-linux"
];
systems = [
"x86_64-linux"
];
perSystem = args@{ system, pkgs, lib, config, ... }: let
keycloak-event-listener = pkgs.maven.buildMavenPackage {
pname = "keycloak-event-listener";
version = "0.0.1";
src = ./.;
mvnHash = "sha256-tJgqe1WbVodEoRrDFPyHxsFkHIWHAPp5a2WsvWPb2l8=";
perSystem = args@{ system, pkgs, lib, config, ... }: let
keycloak-event-listener = pkgs.maven.buildMavenPackage {
pname = "keycloak-event-listener";
version = "0.0.1";
src = ./.;
mvnHash = "sha256-umoAXAKhYvdLbCYCb/NSWx+qqesi/KMt7BlMg5p8Gkc=";
installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/pubsolar.keycloak-event-listener.jar
runHook postInstall
'';
};
in {
packages.default = keycloak-event-listener;
packages.keycloak-event-listener = keycloak-event-listener;
installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/pubsolar.keycloak-event-listener.jar
runHook postInstall
'';
};
in {
packages.default = keycloak-event-listener;
packages.keycloak-event-listener = keycloak-event-listener;
devshells.default = {
packages = with pkgs; [
maven
];
};
};
};
devshells.default = {
packages = with pkgs; [
maven
];
};
};
};
}

12
pom.xml
View file

@ -10,22 +10,22 @@
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-core</artifactId>
<version>23.0.6</version>
<version>24.0.5</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi</artifactId>
<version>23.0.6</version>
<version>24.0.5</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi-private</artifactId>
<version>23.0.6</version>
<version>24.0.5</version>
</dependency>
<!--dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-storage-private</artifactId>
<version>23.0.6</version>
<version>24.0.5</version>
</dependency-->
<dependency>
<groupId>com.google.auto.service</groupId>
@ -56,12 +56,12 @@
<dependency>
<groupId>com.github.dasniko</groupId>
<artifactId>testcontainers-keycloak</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>5.4.0</version>
<version>5.5.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>