AFFT-520 / NIEBot

A tool to help Barcelonian people get various immigration-related appointments via the Cita previa process
GNU General Public License v3.0
54 stars 22 forks source link

Does not build on macOS: Could not resolve dependency #4

Open shentonfreude opened 2 years ago

shentonfreude commented 2 years ago

I think this is a great project, I've also suffered through trying to book NIE appointments. I know you said you don't have a Mac to test with, but I thought you might want to see the error I got trying to build. It's been many years since I've written Java, so didn't even know how to build this. Anywho, here's what I did:

brew install maven
mvn install

[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< com.eugc:NIEBot-Public >-----------------------
[INFO] Building NIEBot-Public 0.1-ALPHA
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
...
Downloaded from central: https://repo.maven.apache.org/maven2/net/java/dev/jna/jna-platform/5.5.0/jna-platform-5.5.0.jar (2.7 MB at 149 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  23.387 s
[INFO] Finished at: 2022-06-06T11:16:53-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project NIEBot-Public: Could not resolve dependencies for project com.eugc:NIEBot-Public:jar:0.1-ALPHA: Could not find artifact unknown.binary:AbsoluteLayout:jar:SNAPSHOT in unknown-jars-temp-repo (file:/Users/chris/Projects/hack/NIEBot/lib) -> [Help 1]

I'm too java-clueless to understand what is't missing, sorry I can't fix it and submit a PR.

AFFT-520 commented 2 years ago

Hi!

It seems it could not find AbsoluteLayout.jar in your folder (/Users/chris/Projects/hack/NIEBot/lib)

I'm working on getting it going on macOS, but unfortunately it's a bit hard when I don't have a Mac that I'm allowed to use for testing and developing personal projects

AFFT-520 commented 2 years ago

So, turns out there was a dependency issue, I made a mistake when pulling in external repos. lulingar has since provided a fix, and it has since been merged.

Unfortunately, there will almost certainly be issues running the application on Mac.