Compare commits

..

No commits in common. "f2a3da5f2637a859897c136e650b88046a89f9fd" and "fb569f474698b5711c208fd5b4b5880d64863587" have entirely different histories.

3 changed files with 45 additions and 45 deletions

View file

@ -91,11 +91,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1724224976,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
"lastModified": 1714076141,
"narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
"rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856",
"type": "github"
},
"original": {

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-SSiiKgrNUV2T84Vj4zhKzvl7HAZlPZ2OwUzoIsureu8=";
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=";
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>24.0.5</version>
<version>23.0.6</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi</artifactId>
<version>24.0.5</version>
<version>23.0.6</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi-private</artifactId>
<version>24.0.5</version>
<version>23.0.6</version>
</dependency>
<!--dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-storage-private</artifactId>
<version>24.0.5</version>
<version>23.0.6</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.4.0</version>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>5.5.0</version>
<version>5.4.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>