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

Could not find com.marklogic:marklogic-geo-data-services:1.3.4 #175

Open
grtjn opened this issue Sep 13, 2024 · 3 comments
Open

Could not find com.marklogic:marklogic-geo-data-services:1.3.4 #175

grtjn opened this issue Sep 13, 2024 · 3 comments

Comments

@grtjn
Copy link
Contributor

grtjn commented Sep 13, 2024

We have been using 1.3.3(-beta) for a long while without issues, but I suspect we had this dependency in cache somewhere. We are now trying to run deployment from a clean env, and are trying to get auto-building from clean envs working as well, and hitting the following message:

josten@MacBook-Pro-van-Geert focus-backend % ./gradlew -i mlDeploy
Initialized native services in: /Users/josten/.gradle/native
The client will now receive all logging from the daemon (pid: 84555). The daemon log file: /Users/josten/.gradle/daemon/7.1.1/daemon-84555.out.log
Starting 6th build in daemon [uptime: 11 mins 11.348 secs, performance: 100%, non-heap usage: 48% of 256 MiB]
Using 16 worker leases.
Now considering [/Users/josten/Projects/SensingClues/focus-backend] as hierarchies to watch
Not watching anything anymore
Watching the file system is enabled if available
Starting Build
Settings evaluated using settings file '/Users/josten/Projects/SensingClues/focus-backend/settings.gradle'.
Projects loaded. Root project using build file '/Users/josten/Projects/SensingClues/focus-backend/build.gradle'.
Included projects: [root project 'focus-backend']

> Configure project :
Evaluating root project 'focus-backend' using build file '/Users/josten/Projects/SensingClues/focus-backend/build.gradle'.
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom]
Resource missing. [HTTP GET: https://developer.marklogic.com/maven2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom]

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'focus-backend'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.marklogic:marklogic-geo-data-services:1.3.4.
     Searched in the following locations:
       - file:/Users/josten/.m2/repository/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom
       - https://repo.maven.apache.org/maven2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom
       - https://plugins.gradle.org/m2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom
       - https://developer.marklogic.com/maven2/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom
       - file:/Users/josten/Projects/SensingClues/focus-backend/offline/maven-repo/com/marklogic/marklogic-geo-data-services/1.3.4/marklogic-geo-data-services-1.3.4.pom
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Not watching anything anymore
Watched directory hierarchies: []

I also tried 1.3.4 and even 1.4.0, but none seem to work, making me suspect this change came after the release of 1.4.0. The latest version mvnrepository seems to be reporting is 1.3.4, and it points to JCenter, which was taken down a while ago.

@grtjn
Copy link
Contributor Author

grtjn commented Sep 13, 2024

Ok, it looks like marklogic-geo-data-services-modules 1.3.x is taken down, and 1.4.0 was moved to marklogic-geo-data-services (without -modules). Using marklogic-geo-data-services:1.4.0 gives me a different error. Due to other legacy dependencies, we are still stuck on JDK 11, and now there seems to be a dependency on some version of jackson-core that requires a more recent Java?

@grtjn
Copy link
Contributor Author

grtjn commented Sep 13, 2024

Ok, another confusion.. the jackson-core messages seems to have come from marklogic-unit-test:1.4.0. Downgrading that made that go away. I am now pulling an older version of marklogic-geo-data-services-modules from a local copy of the jar, using mavenLocal() just to be sure it still works as before. I pulled that jar from cache from my laptop.

@rjrudin
Copy link
Contributor

rjrudin commented Sep 13, 2024

You definitely only need Java 8. Your initial error is what you indicated - < 1.4.0 was only available on JCenter, which is gone now. So you need to use 1.4.0 GDS.

What error are you getting now?

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