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

Maven fails at spdz dependency #354

Closed
Gugi264 opened this issue Aug 3, 2020 · 2 comments
Closed

Maven fails at spdz dependency #354

Gugi264 opened this issue Aug 3, 2020 · 2 comments

Comments

@Gugi264
Copy link
Contributor

Gugi264 commented Aug 3, 2020

When deleting the local maven repository (.m2), or building it for the first time in a demo file (for example distance), it can't find the spdz snapshot:

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.610 s
[INFO] Finished at: 2020-08-03T16:08:28+02:00
[INFO] ------------------------------------------------------------------------
cd ../../suite/spdz && mvn clean install -DskipTests
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< dk.alexandra.fresco:spdz >----------------------
[INFO] Building fresco-spdz 1.2.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for dk.alexandra.fresco:mascot:jar:1.2.2-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.490 s
[INFO] Finished at: 2020-08-03T16:08:30+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spdz: Could not resolve dependencies for project dk.alexandra.fresco:spdz:jar:1.2.2-SNAPSHOT: Failed to collect dependencies at dk.alexandra.fresco:core:jar:1.2.2-SNAPSHOT: Failed to read artifact descriptor for dk.alexandra.fresco:core:jar:1.2.2-SNAPSHOT: Could not find artifact dk.alexandra.fresco:master-pom:pom:1.2.2-SNAPSHOT -> [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/DependencyResolutionException

It worked fine before, so changed something on the maven repository site? I also cannot find the 1.2.2-SNAPSHOT anywhere, as I guess thats the problem?

@GuutBoy
Copy link
Contributor

GuutBoy commented Aug 3, 2020

I think this maybe because you are building only spdz. The error says you are missing mascot. So you probably need to install that first.

@Gugi264
Copy link
Contributor Author

Gugi264 commented Aug 3, 2020

Ah yes, I forgot to runt mvn install with a new cloned repository. Thanks for the quick response!

@Gugi264 Gugi264 closed this as completed Aug 3, 2020
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

2 participants