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

Unable to mvn compile. Compilation instructions? #372

Open
sarnobat opened this issue Nov 29, 2023 · 0 comments
Open

Unable to mvn compile. Compilation instructions? #372

sarnobat opened this issue Nov 29, 2023 · 0 comments

Comments

@sarnobat
Copy link

sarnobat commented Nov 29, 2023

I'd like to build a version from source. I am experienced with Maven and Gradle (ok, rusty with maven). Are there any setup instructions needed?

I'm guessing the lack of a settings.xml file is the issue. If a minimum settings.xml file could be shared I can try that.

Error message

[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.227 s
[INFO] Finished at: 2023-11-28T17:15:49-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project FXDesktopSearch: Could not resolve dependencies for project de.mirkosertic.desktopsearch:FXDesktopSearch:jar:3.3.0: Failed to collect dependencies at org.apache.solr:solr-core:jar:8.1.0 -> org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet (http://maven.restlet.org, default, releases+snapshots), apache.snapshots (http://repository.apache.org/snapshots, default, disabled)] -> [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.

Version

* e4b53dd 2019-05-22 Release 3.3.0  Mirko Sertic  (HEAD, tag: v3.3.0)

Environment

$ java -version

openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment Homebrew (build 11.0.12+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.12+0, mixed mode) 
$ mvn --version

Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /Volumes/numerous/usr/local/homebrew/Cellar/maven/3.8.6/libexec
Java version: 18.0.2, vendor: Homebrew, runtime: /Volumes/numerous/2022/usr/local/homebrew/Cellar/openjdk/18.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
$ uname -a

Darwin air.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64 i386 MacBookAir9,1 Darwin

Full environment

env.txt

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