This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 662e687c2e Keep built sample output out of the source distribution
662e687c2e is described below
commit 662e687c2e592451121abfc1c27b5b7381214b49
Author: Robert Lazarski <[email protected]>
AuthorDate: Sun Sep 6 06:16:07 2026 -1000
Keep built sample output out of the source distribution
The target/ exclusion regex deliberately spares any path containing an "src"
component, which is why two modules/tool paths are already listed
explicitly.
The springbootdemo samples live under samples/userguide/src/userguide/, so
they
hit the same hole: once anyone builds them, three WARs and their unpacked
dependency jars land in the source zip -- 469 MB, and binaries do not
belong in
a source release at all. Also adds 2.0.2 to the release-notes sidebar,
which the
release checklist requires.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
---
modules/distribution/src/main/assembly/src-assembly.xml | 2 ++
src/site/site.xml | 1 +
2 files changed, 3 insertions(+)
diff --git a/modules/distribution/src/main/assembly/src-assembly.xml
b/modules/distribution/src/main/assembly/src-assembly.xml
index 02b61ff902..f6b0e5137e 100755
--- a/modules/distribution/src/main/assembly/src-assembly.xml
+++ b/modules/distribution/src/main/assembly/src-assembly.xml
@@ -48,6 +48,8 @@
"src" component in the path. We need to exclude them
explicitly. -->
<exclude>modules/tool/axis2-wsdl2code-maven-plugin/src/test/test1/target/**</exclude>
<exclude>modules/tool/axis2-java2wsdl-maven-plugin/src/test/test1/target/**</exclude>
+
<exclude>modules/samples/userguide/src/userguide/*/target/**</exclude>
+
<exclude>modules/samples/userguide/src/userguide/*/*/target/**</exclude>
<!-- Exclusions from
org.apache.resources:apache-source-release-assembly-descriptor.
Note that they assume that all sources are located under
an "src" directory. This
diff --git a/src/site/site.xml b/src/site/site.xml
index 7d2edaa083..f9c8b0346b 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -62,6 +62,7 @@
<item name="1.8.2" href="release-notes/1.8.2.html"/>
<item name="2.0.0" href="release-notes/2.0.0.html"/>
<item name="2.0.1" href="release-notes/2.0.1.html"/>
+ <item name="2.0.2" href="release-notes/2.0.2.html"/>
</item>
<item name="Modules" href="modules/index.html" />
<item name="Tools" href="tools/index.html" />