-
Notifications
You must be signed in to change notification settings - Fork 72
Gradle breaks my build marklogic-client-api is missing the Gradle .module file in Maven Central #1337
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
Comments
My company is still getting this error because the file
|
Running
The above contents were found at Command used to generate Hoping to publish and upload metadata in next release. @thorntonrp , Can you please reply to this comment as far as metadata contents and file location is concerned? Any changes required? Have not worked with Artifactory. |
It just needs to be uploaded to Maven Central to the same folder that has all the other artifact information. For example, for version 5.5.3, it should be found in this folder on Maven Central: https://repo1.maven.org/maven2/com/marklogic/marklogic-client-api/5.5.3/ The file will be called marklogic-client-api-5.5.3.module. For an example of another library that publishes Maven metadata, see this one: https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/2.7.0/ When you run |
@thorntonrp Let me talk to the DevOps team that handles Maven Central uploads (for a manual upload). Will look at Jenkins / CI build script |
This issue has been resolved in Java Client API tagged as 5.5.4. |
Thank you. I've verified that this issuer is solved for me by version 5.5.4 |
Since moving to Gradle, the marklogic-client-api was published without it's
.module
file. This causes Gradle to break the build on some private repositories that proxy Maven central.Details:
Now that you are building with Gradle, please, please, please make sure that you upload all the artifacts, including the
.module
file. Due to security settings on my company's Maven repository, which proxies Maven central, Gradle breaks the build when I try to usemarklogic-client-api
as a dependency. This is because it is missing the.module
file in the Maven central repository. Artifactory's security causes this to return a 403 instead of the usual 404. It's a long story why Artifactory does this, but I can't change it because my company depends on the Artifactory security settings to protect sensitive repositories.The text was updated successfully, but these errors were encountered: