From db5ed1f10d327283527dd164571f4beb428d236b Mon Sep 17 00:00:00 2001 From: pavl_g <60224159+Scrappers-glitch@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:59:49 +0300 Subject: [PATCH] sonatype-publish-artifacts.sh: display the generated POM on console --- .../project-impl/publishing/sonatype-publish-artifacts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helper-scripts/project-impl/publishing/sonatype-publish-artifacts.sh b/helper-scripts/project-impl/publishing/sonatype-publish-artifacts.sh index 046048b..8b51fb5 100755 --- a/helper-scripts/project-impl/publishing/sonatype-publish-artifacts.sh +++ b/helper-scripts/project-impl/publishing/sonatype-publish-artifacts.sh @@ -12,5 +12,8 @@ javadoc_jar="${build_dir}/${desktop_artifactId_release}-${version}-javadoc.jar" generateGenericPom ${groupId} ${desktop_artifactId_release} ${version} "${desktop_pomFile}" +# display the generated POM file for visual diagnositics +cat "${desktop_pomFile}" + # publish 'android' and 'desktop' builds to maven sonatype -publishBuild "${desktop_artifactId_release}" "${desktop_artifact}" "${version}" "${javadoc_jar}" "${sources_jar}" "${desktop_pomFile}" \ No newline at end of file +publishBuild "${desktop_artifactId_release}" "${desktop_artifact}" "${version}" "${javadoc_jar}" "${sources_jar}" "${desktop_pomFile}"