java-client-api icon indicating copy to clipboard operation
java-client-api copied to clipboard

Project description is incorrect on Maven Central

Open hansenmc opened this issue 3 years ago • 3 comments

On Maven Central, the MarkLogic Client API description is: $project.description. https://mvnrepository.com/artifact/com.marklogic/marklogic-client-api

It had a more descriptive description when we had published under https://mvnrepository.com/artifact/com.marklogic/java-client-api.

We might need to check the pom and deployment scripts used to publish to Maven Central.

hansenmc avatar Feb 08 '22 15:02 hansenmc

https://github.com/marklogic/java-client-api/blob/master/marklogic-client-api/build.gradle#L85 It seems that

textdescription '$project.description'

isn't being resolved the same way that the name is:

name '$rootProject.describedName'

hansenmc avatar Feb 08 '22 16:02 hansenmc

May need to change single quotes to double-quotes, so that it's a GString that will expand the variable:

textdescription "$project.description"

hansenmc avatar Feb 08 '22 17:02 hansenmc

Thank you @hansenmc . Have made changes as suggested by you in build.gradle file. Tested the changes locally by running this gradle task: ./gradlew marklogic-client-api:publishMainJavaPublicationToMavenLocal and then looking at the pom.xml generated.

georgeajit avatar Mar 03 '22 23:03 georgeajit