From d8446722a8997d6364f9c2806e0022f363329071 Mon Sep 17 00:00:00 2001
From: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Date: Thu, 09 Apr 2026 07:42:02 +0000
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into copilot/fix-docker-lint-warning-root-password Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>

---
 opendj-server-legacy/pom.xml |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 530a32c..6001979 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -256,7 +256,6 @@
     <dependency>
 	    <groupId>org.apache.cassandra</groupId>
 	    <artifactId>java-driver-core</artifactId>
-	    <version>4.19.2</version>
 	    <exclusions>
 	    	<exclusion>
 	    		<groupId>org.reactivestreams</groupId>
@@ -1136,6 +1135,27 @@
               </target>
             </configuration>
           </execution>
+
+          <!-- Generate slim zip and attach artefact -->
+          <execution>
+            <id>attach-artifact-slim</id>
+            <phase>package</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <zip destfile="${project.build.directory}/package/${product.archive.name}-slim.zip">
+                  <zipfileset dir="${project.build.directory}/package/${product.name.lowercase}" includes="**/*" excludes="bin/*,template/**/*,lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh,setup,uninstall,upgrade,QuickSetup.app/Contents/MacOS/universalJavaApplicationStub,Uninstall.app/Contents/MacOS/universalJavaApplicationStub,bin/ControlPanel.app/Contents/MacOS/universalJavaApplicationStub,lib/org.apache.cassandra.*,lib/com.oracle.database.jdbc*,lib/com.mysql.mysql-connector*,lib/com.microsoft.sqlserver*,lib/org.postgresql.*" filemode="644" dirmode="755" prefix="opendj" />
+                  <zipfileset dir="${project.build.directory}/package/${product.name.lowercase}" includes="lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh" filemode="755" dirmode="755" prefix="opendj" />
+                  <zipfileset dir="${project.build.directory}/package/${product.name.lowercase}" includes="bin/*" filemode="755" dirmode="755" prefix="opendj" />
+                  <zipfileset dir="${project.build.directory}/package/${product.name.lowercase}" includes="setup,uninstall,upgrade,QuickSetup.app/Contents/MacOS/universalJavaApplicationStub,Uninstall.app/Contents/MacOS/universalJavaApplicationStub,bin/ControlPanel.app/Contents/MacOS/universalJavaApplicationStub" filemode="755" dirmode="755" prefix="opendj" />
+                  <zipfileset dir="${project.build.directory}/package/${product.name.lowercase}" includes="template/**/*" filemode="444" dirmode="744" prefix="opendj" />
+                </zip>
+                <attachartifact file="${project.build.directory}/package/${product.archive.name}-slim.zip" classifier="slim" type="zip" />
+              </target>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
 

--
Gitblit v1.10.0