From 57b10a81f16aa6566805e2f50d4cd49c9a3376cd Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 10 Oct 2023 20:44:40 +0800 Subject: [PATCH] [ZEPPELIN-5967] Remove support for deb packaging --- pom.xml | 7 - zeppelin-distribution/pom.xml | 179 +----------------- zeppelin-distribution/src/deb/control/control | 26 --- zeppelin-distribution/src/deb/control/prerm | 27 --- .../src/deb/init.d/zeppelind | 36 ---- 5 files changed, 1 insertion(+), 274 deletions(-) delete mode 100644 zeppelin-distribution/src/deb/control/control delete mode 100644 zeppelin-distribution/src/deb/control/prerm delete mode 100755 zeppelin-distribution/src/deb/init.d/zeppelind diff --git a/pom.xml b/pom.xml index d64b831651b..5991a316f4b 100644 --- a/pom.xml +++ b/pom.xml @@ -183,7 +183,6 @@ 1.6 3.2.0 3.2.0 - 1.8 1.0.0 3.11.4 0.13 @@ -1669,12 +1668,6 @@ ${plugin.buildnumber.version} - - org.vafer - jdeb - ${plugin.jdeb.version} - - org.apache.avro avro-maven-plugin diff --git a/zeppelin-distribution/pom.xml b/zeppelin-distribution/pom.xml index 5e779e12be5..f7f5d129c4c 100644 --- a/zeppelin-distribution/pom.xml +++ b/zeppelin-distribution/pom.xml @@ -31,19 +31,8 @@ pom Zeppelin: Packaging distribution - - zeppelin - /usr/share/${deb.pkg.name} - /etc/${deb.pkg.name} - /var/log/${deb.pkg.name} - /var/run/${deb.pkg.name} - /var/lib/${deb.pkg.name} - - target/zeppelin-${project.version}/zeppelin-${project.version} - - @@ -215,171 +204,5 @@ - - deb - - - - maven-assembly-plugin - - - make-assembly - package - - single - - - - - - dir - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - validate - - create - - - 8 - - - - - - org.vafer - jdeb - - - package - - jdeb - - - ${project.build.directory}/zeppelin-${project.version}-${buildNumber}_all.deb - false - false - - - files - - ${project.parent.basedir}/LICENSE - ${project.parent.basedir}/README.md - - ${deb.install.path} - - - directory - ${project.basedir}/src/deb/init.d - - perm - /etc/init.d - 755 - - - - link - /usr/bin/zeppelin-daemon.sh - ${deb.install.path}/bin/zeppelin-daemon.sh - true - - - link - ${deb.install.path}/conf - ${deb.conf.path} - true - - - link - ${deb.install.path}/logs - ${deb.log.path} - true - - - link - ${deb.install.path}/notebook - ${deb.notebook.path} - true - - - link - ${deb.install.path}/run - ${deb.pid.path} - true - - - directory - ${deb.assembly.base.dir}/bin - - perm - ${deb.install.path}/bin - 755 - - - - directory - ${deb.assembly.base.dir}/conf - true - - perm - ${deb.conf.path} - - - - directory - ${deb.assembly.base.dir}/lib - - perm - ${deb.install.path}/lib - - - - directory - ${deb.assembly.base.dir} - *.jar,*.war - - perm - ${deb.install.path} - - - - directory - ${deb.assembly.base.dir}/interpreter - - perm - ${deb.install.path}/interpreter - - - - directory - ${deb.assembly.base.dir}/notebook - 2A94M5J1Z/note.json - - perm - ${deb.notebook.path} - - - - template - - ${deb.conf.path} - ${deb.log.path} - ${deb.pid.path} - ${deb.notebook.path} - - - - - - - - - - diff --git a/zeppelin-distribution/src/deb/control/control b/zeppelin-distribution/src/deb/control/control deleted file mode 100644 index 2bbb205efe7..00000000000 --- a/zeppelin-distribution/src/deb/control/control +++ /dev/null @@ -1,26 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -Package: [[deb.pkg.name]] -Version: [[version]]-[[buildNumber]] -Section: misc -Priority: optional -Architecture: all -Maintainer: Lee moon soo -Description: [[name]] -Distribution: development \ No newline at end of file diff --git a/zeppelin-distribution/src/deb/control/prerm b/zeppelin-distribution/src/deb/control/prerm deleted file mode 100644 index 85977fcd410..00000000000 --- a/zeppelin-distribution/src/deb/control/prerm +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -set -e - -SERVICE=$(which service 2> /dev/null) -RM=$(which rm 2> /dev/null) - -exec $SERVICE zeppelind stop -exec $RM -rf [[deb.log.path]]/* [[deb.pid.path]]/* diff --git a/zeppelin-distribution/src/deb/init.d/zeppelind b/zeppelin-distribution/src/deb/init.d/zeppelind deleted file mode 100755 index d9752df64df..00000000000 --- a/zeppelin-distribution/src/deb/init.d/zeppelind +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# -### BEGIN INIT INFO -# Provides: zeppelind -# Required-Start: $remote_fs -# Required-Stop: $remote_fs -# Should-Start: $network $time -# Should-Stop: $network $time -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Start and stop the zeppelin daemon -# Description: Controls the zeppelin daemon -### END INIT INFO -# - -test -e /usr/bin/zeppelin-daemon.sh || exit 1 - -exec /usr/bin/zeppelin-daemon.sh $@