This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new 197b67f9b Fixing Maven artifact publication
197b67f9b is described below

commit 197b67f9ba874c7aa08a16cb2cd7651b26f94d87
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Sun Feb 22 17:38:10 2026 -0300

    Fixing Maven artifact publication
---
 build.gradle | 1 -
 justfile     | 8 +++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index 6cf493e77..c91d111ea 100755
--- a/build.gradle
+++ b/build.gradle
@@ -144,7 +144,6 @@ subprojects {
                     artifactId = project.name + artifactSuffix
                 }
                 from components.java
-                artifact sourcesJar
 
                 pom {
                     name = project.name
diff --git a/justfile b/justfile
index 21a1516e6..bee48c574 100644
--- a/justfile
+++ b/justfile
@@ -16,10 +16,8 @@ local-snapshot-full:
 tapestry-core-maven-local-snapshot:
        ./gradlew tapestry-core:publishToMavenLocal {{gradle-options}} -Dci=true
 
-_deploy_branch branch extra-options:
+_deploy_branch branch extra-options: fail-if-repository-not-clean
        echo "Releasing branch: {{branch}} with Gradle extra options 
'{{extra-options}}'"
-       # Fail if there are untracked files or uncommitted changes
-       git diff --quiet && git diff --cached --quiet || echo "\nThere are 
untracked files or uncommitted changes!\n" && git status && false
        git checkout {{branch}}
        ./gradlew clean generateRelease {{gradle-options}} {{extra-options}}
 
@@ -38,6 +36,10 @@ release version: (_deploy_branch "master" "") 
(_deploy_branch "javax" "")
        git tag {{version}}-javax
        git push --tags
 
+# Fail if there are untracked files or uncommitted changes
+@fail-if-repository-not-clean:
+       git diff --quiet && git diff --cached --quiet || echo "\nThere are 
untracked files or uncommitted changes!\n" && git status && false
+
 # Builds Tapestry without running tests
 build:
        ./gradlew build -x test

Reply via email to