diff --git a/dolphinscheduler-dist/pom.xml b/dolphinscheduler-dist/pom.xml index 3d01eff831..dbeddbb6b3 100644 --- a/dolphinscheduler-dist/pom.xml +++ b/dolphinscheduler-dist/pom.xml @@ -101,6 +101,276 @@ + + + rpmbuild + + + + org.apache.maven.plugins + maven-dependency-plugin + + ${project.build.directory}/lib + false + false + true + provided + + + + copy-dependencies + package + + copy-dependencies + + + + + + + org.codehaus.mojo + rpm-maven-plugin + true + + + package + + attached-rpm + + + + + + apache-dolphinscheduler-incubating + 1 + apache dolphinscheduler incubating rpm + apache + dolphinscheduler + + /opt/soft + + + + __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') + + + + /opt/soft/${project.build.finalName}/conf + 755 + root + root + + + + ${basedir}/../dolphinscheduler-alert/src/main/resources + + + **/*.properties + **/*.xml + **/*.json + **/*.ftl + + + + + + ${basedir}/../dolphinscheduler-common/src/main/resources + + + **/*.properties + **/*.xml + **/*.json + + + + + + ${basedir}/../dolphinscheduler-dao/src/main/resources + + + **/*.properties + **/*.xml + **/*.json + **/*.yml + + + + + + ${basedir}/../dolphinscheduler-api/src/main/resources + + + **/*.properties + **/*.xml + **/*.json + + + + + + ${basedir}/../dolphinscheduler-server/src/main/resources + + + **/*.properties + **/*.xml + **/*.json + + + + + + ${basedir}/../script + + + config/*.* + env/*.* + + + + + + + + /opt/soft/${project.build.finalName}/lib + 755 + root + root + + + + + ${basedir}/../dolphinscheduler-dist/target/lib + + + *.* + + + servlet-api-*.jar + slf4j-log4j12-${slf4j.log4j12.version}.jar + + + + + + /opt/soft/${project.build.finalName}/bin + 755 + root + root + + + + + ${basedir}/../script + + + start-all.sh + stop-all.sh + dolphinscheduler-daemon.sh + + + + + + /opt/soft/${project.build.finalName} + 755 + root + root + + + + ${basedir}/../ + + + *.sh + *.py + DISCLAIMER + + + + + + ${basedir}/../dolphinscheduler-ui + + + install-dolphinscheduler-ui.sh + + + + + ${basedir}/release-docs + + + **/* + + + + + + + /opt/soft/${project.build.finalName}/dist + 755 + root + root + + + + ${basedir}/../dolphinscheduler-ui/dist + + + **/*.* + + + + + + /opt/soft/${project.build.finalName}/sql + 755 + root + root + + + + ${basedir}/../sql + + + **/*.* + + + + + + + /opt/soft/${project.build.finalName}/script + 755 + root + root + + + + ${basedir}/../script + + + **/*.* + + + + + + + + + + + + + + + + + + + + diff --git a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-binary.xml b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-binary.xml index 5cddadd4f5..2bf109698b 100644 --- a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-binary.xml +++ b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-binary.xml @@ -97,23 +97,8 @@ conf - - ${basedir}/../dolphinscheduler-common/src/main/resources - - **/*.properties - **/*.xml - **/*.json - - conf - - - ${basedir}/../dolphinscheduler-common/src/main/resources/bin - - *.* - - 755 - bin - + + ${basedir}/../dolphinscheduler-dao/src/main/resources diff --git a/pom.xml b/pom.xml index 83a6b45e10..3d002df1ed 100644 --- a/pom.xml +++ b/pom.xml @@ -108,6 +108,8 @@ 2.10.3 2.4 2.18.1 + 3.1.1 + 2.2.0 0.8.4 1.0 false @@ -524,6 +526,14 @@ + + + org.codehaus.mojo + rpm-maven-plugin + ${rpm-maven-plugion.version} + false + + org.apache.maven.plugins maven-compiler-plugin @@ -568,6 +578,12 @@ ${maven-source-plugin.version} + + org.apache.maven.plugins + maven-dependency-plugin + ${maven-dependency-plugin.version} + +