You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by dj...@apache.org on 2026/10/16 05:31:11 UTC
(cloudberry) branch main updated: Remove the orphaned PL/Java Makefile.global
This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/main by this push:
new 36141209e8a Remove the orphaned PL/Java Makefile.global
36141209e8a is described below
commit 36141209e8aa23c9b464b355459187e9cf1e6aa3
Author: Dianjin Wang <wa...@gmail.com>
AuthorDate: Mon Oct 12 18:31:13 2026 +0800
Remove the orphaned PL/Java Makefile.global
gpAux/extensions/pljava/src/java/Makefile.global is the only file left
of a PL/Java build that was dropped long ago. Nothing includes it, and
its header points at a COPYRIGHT file that is not in the tree, so the
release ships a TADA AB notice whose licence terms cannot be found.
Remove it, along with its RAT exclude.
Raised in the 2.2.0-incubating-rc2 IPMC review.
Assisted-by: Claude Code
---
gpAux/extensions/pljava/src/java/Makefile.global | 35 ------------------------
pom.xml | 1 -
2 files changed, 36 deletions(-)
diff --git a/gpAux/extensions/pljava/src/java/Makefile.global b/gpAux/extensions/pljava/src/java/Makefile.global
deleted file mode 100644
index ec8847743d7..00000000000
--- a/gpAux/extensions/pljava/src/java/Makefile.global
+++ /dev/null
@@ -1,35 +0,0 @@
-#-------------------------------------------------------------------------
-# Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden
-# Distributed under the terms shown in the file COPYRIGHT.
-#
-# @author Thomas Hallgren
-#-------------------------------------------------------------------------
-SRCDIR := $(MODULEROOT)/$(NAME)
-SRCS := $(shell find $(SRCDIR) -name CVS -prune -o -type f -name \*.java -print)
-CLASSES := $(shell find . -type f -name \*.class)
-
-JARFILE := $(TARGETDIR)/$(NAME).jar
-
-.timestamp: $(SRCS)
- @echo $(JAVAC) $(JAVAC_FLAGS) -d . $(JAVAFLAGS) '<java sources>'
- @$(JAVAC) $(JAVAC_FLAGS) -d . $(JAVAFLAGS) $(SRCS)
- @touch $@
-
-.PHONY: javadoc
-
-$(TARGETDIR)/docs/COPYRIGHT.txt: $(PROJDIR)/COPYRIGHT
- @-mkdir -p $(@D)
- @cp $(PROJDIR)/COPYRIGHT $(TARGETDIR)/docs/COPYRIGHT.txt
-
-javadoc: $(TARGETDIR)/docs/$(NAME)/.timestamp
-
-$(TARGETDIR)/docs/$(NAME)/.timestamp: $(SRCS)
- $(JAVADOC) -d $(TARGETDIR)/docs/$(NAME) \
- -sourcepath $(SRCDIR) \
- -subpackages org.postgresql.pljava \
- -breakiterator \
- -doctitle $(JAVADOCTITLE) \
- -protected \
- -bottom 'Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
- Distributed under the terms shown in <a href="../COPYRIGHT.txt">COPYRIGHT</a>'
- @touch $(TARGETDIR)/docs/$(NAME)/.timestamp
diff --git a/pom.xml b/pom.xml
index dde5c846b44..9a39f1f8d51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -547,7 +547,6 @@ code or new licensing patterns.
<exclude>gpAux/Makefile.global</exclude>
<exclude>gpAux/Makefile</exclude>
<exclude>gpAux/Makefile.thirdparty</exclude>
- <exclude>gpAux/extensions/pljava/src/java/Makefile.global</exclude>
<exclude>gpAux/releng/set_bld_arch.sh</exclude>
<exclude>gpAux/releng/gppkg.mk</exclude>
<exclude>gpAux/client/scripts/cloudberry_clients_path.sh</exclude>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org