java somewhat harder
This commit is contained in:
parent
87e29f0ce0
commit
015de8232d
18
flake.nix
18
flake.nix
|
@ -26,6 +26,24 @@
|
|||
]);
|
||||
runScript = "zsh";
|
||||
}).env;
|
||||
|
||||
packages.default = pkgs.maven.buildMavenPackage {
|
||||
pname = "keycloak-lists-plugin";
|
||||
version = "1.0";
|
||||
|
||||
src = ./plugin;
|
||||
|
||||
mvnHash = "sha256-UaVCt6KIjR8i3vHVp5YWqu8zzM7mftXyrv5J2jxtw6Q=";
|
||||
|
||||
buildPhase = ''
|
||||
mvn --offline package;
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/java
|
||||
install -Dm644 target/*.jar $out/share/java
|
||||
'';
|
||||
};
|
||||
};
|
||||
in
|
||||
flake-utils.lib.eachDefaultSystem out // {
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<finalName>${project.groupId}-${project.artifactId}</finalName>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -7,7 +7,6 @@ import java.io.BufferedReader;
|
|||
import java.io.FileNotFoundException;
|
||||
import java.io.FileReader;
|
||||
import java.nio.file.Path;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
|
Loading…
Reference in a new issue