Project description is incorrect on Maven Central
hansenmc opened this issue · 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.
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'
May need to change single quotes to double-quotes, so that it's a GString that will expand the variable:
textdescription "$project.description"
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.