mvn2nix
mvn2nix copied to clipboard
Easily package your Maven Java application with the Nix package manager.
I'm trying to build https://github.com/kemitix/thorp using a `mvn2nix-lock.json` file generated using `mvn2nix pom.xml > mvn2nix-lock.json` however one of the dependencies gives me a hash mismatch when I try to `mvn2nix.buildMavenRepositoryFromLockFile...
https://discourse.nixos.org/t/should-i-force-all-package-derivation-to-flake-way-y-y-too-many-open-files/16299/4 Recently changed to flake, I'm not sure how to approach it. I don't use nix-shell so... Just ignorantly, one shot, ~/.config/nixpkgs/config.nix Managed by Hankyu... I tend to create and...
when building [recaf](https://github.com/Col-E/Recaf), mvn2nix is trying to download ``` https://github.com/Col-E/jdk-tools-mirror/raw/master/repository/com/sun/tools/8.0/tools-8.0.jar.sha1 ``` which fails, as github does not provide the virtual `.sha1` file extension ``` cd Recaf mvn org.nixos.mvn2nix:mvn2nix-maven-plugin:mvn2nix ``` >...
## How to I tried mvn2nix (`master`) on [this](https://github.com/lf-lang/lingua-franca/blob/master/pom.xml) pom.xml file and got the the following stack trace (next section). I used the following command: ``` $ mvn2nix --repositories https://repo.maven.apache.org/maven2...
I am using https://github.com/os72/protoc-jar-maven-plugin/ and need to reconfigure that plugin to work correctly with `mvn2nix`. It decides to not generate any Java sources, probably because all timestamps are set to...
Bumps log4j-core from 2.13.3 to 2.17.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
I am trying to build https://github.com/elexis/elexis-3-core/ on a nixos 20.09 machine. Running in the checkout `mvn2nix -v > mvn2nix-lock.json 2> mvn2nix.log` fails with many compilation errors complaining about `The import...
Creating this issue as mentioned in #40 since I'm also running into it. `java.lang.RuntimeException: java.lang.RuntimeException: Could not find artifact org.apache.apache.resources:apache-jar-resource-bundle:jar:1.5-SNAPSHOT in any repository` Encountered in the course of building https://github.com/apache/druid/tree/druid-0.18.1-rc2...
Now it parses the pom.xml and extracts the repositories. Probably there are improvements that can be made.
I'm trying to use this package to build [clojupyter](https://github.com/clojupyter/clojupyter) on Nix and running into some trouble. Following the instructions, I clone the repo, use `lein` to generate a `pom.xml`, and...