Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to register my project(hello-mavenix) in global nix packages . #46

Open
PlumpHip opened this issue Oct 29, 2020 · 0 comments
Open

Comments

@PlumpHip
Copy link

I am config.nix...
and
hello-mavenix = ~/hello-mavenix/default.nix {};
After this,

I want to register my project in packages .
There's an error like this.

these derivations will be built:
/nix/store/mx0w9xs5nfkqavcxmphxc9npab26gx1g-hello-mavenix-1.0-SNAPSHOT.drv
/nix/store/lb40zchlxpp1kb9bn6jznyyxp4xjf6yb-pnix.drv
building '/nix/store/mx0w9xs5nfkqavcxmphxc9npab26gx1g-hello-mavenix-1.0-SNAPSHOT.drv'...
unpacking sources
unpacking source archive /nix/store/xr9awm3988yqj4r0pmfl52rzj3fk1mad-src-1.27
source root is src-1.27
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file src-1.27/share/man/man1/src.1.gz
patching sources
configuring
no configure script, doing nothing
building
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /nix/store/sign0xbcnqlrbqy86y1zsdrin8q05yk0-apache-maven-3.6.3/maven
Java version: 11.0.8, vendor: GraalVM Community, runtime: /nix/store/gf4n35hrc6nxsv5z6gx8xnbg0kk1vfs7-graalvm
Default locale: ko_KR, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.071 s
[INFO] Finished at: 2020-10-29T01:09:23Z
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/private/var/folders/x4/dbbyh0q95_78gg96dmrcyl8c0000gn/T/nix-build-hello-mavenix-1.0-SNAPSHOT.drv-0/src-1.27). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
builder for '/nix/store/mx0w9xs5nfkqavcxmphxc9npab26gx1g-hello-mavenix-1.0-SNAPSHOT.drv' failed with exit code 1
cannot build derivation '/nix/store/lb40zchlxpp1kb9bn6jznyyxp4xjf6yb-pnix.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lb40zchlxpp1kb9bn6jznyyxp4xjf6yb-pnix.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant