This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch tapestry-core-javax in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit f253bc35fa0b201721b13bee5898b69ca17e6edc Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br> AuthorDate: Tue Aug 6 00:10:46 2024 -0300 First pass at creating suffixed artifacts for javax branch Notice that, for now, it just skips creating the non-jakarta.servlet-affected subprojects. The actual suffixing of artifact ids still needs to be done, but it's stubbed out at line 316 --- build.gradle | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1d9de07ae..2171013af 100755 --- a/build.gradle +++ b/build.gradle @@ -28,6 +28,9 @@ project.ext.versions = [ webdriverManager: "5.3.1" ] +def artifactsToBePublished = ["tapestry-core", "tapestry-http", "tapestry-test", + "tapestry-beanvalidator", "tapestry-runner", "tapestry-spring"] + ext.continuousIntegrationBuild = Boolean.getBoolean("ci") // Provided so that the CI server can override the normal version number for nightly builds. @@ -40,7 +43,7 @@ project.version = tapestryVersion() def tapestryVersion() { - def major = "5.8.7" + def major = "5.8.8" def minor = "" // When building on the CI server, make sure -SNAPSHOT is appended, as it is a nightly build. @@ -292,8 +295,9 @@ subprojects { from components.java artifact sourcesJar + pom { - name = project.name + name = project.name + "-javax" // TODO: find some way to get the subproject description here. // description = url = "https://tapestry.apache.org/" @@ -308,6 +312,10 @@ subprojects { developerConnection = 'scm:git://gitbox.apache.org/repos/asf/tapestry-5.git' url = 'https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=summary' } + withXml { + def node = asNode(); + println " NNNNNNNode: " + node.get("dependencies") + } } matching { it.name.endsWith(".jar") || it.name.endsWith(".pom") @@ -348,6 +356,12 @@ subprojects { sign publishing.publications.mavenJava } } + + def actuallyPublish = artifactsToBePublished.contains(project.name) + if (!actuallyPublish) { + tasks.withType(PublishToMavenRepository).configureEach { it.enabled = false } + tasks.withType(PublishToMavenLocal).configureEach { it.enabled = false } + } task uploadPublished {