Compare commits
2 commits
fb569f4746
...
f2a3da5f26
Author | SHA1 | Date | |
---|---|---|---|
b12f | f2a3da5f26 | ||
b12f | 54f472115d |
|
@ -91,11 +91,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1714076141,
|
||||
"narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=",
|
||||
"lastModified": 1724224976,
|
||||
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856",
|
||||
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
72
flake.nix
72
flake.nix
|
@ -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-SSiiKgrNUV2T84Vj4zhKzvl7HAZlPZ2OwUzoIsureu8=";
|
||||
|
||||
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
12
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue