diff --git a/.travis.yml b/.travis.yml index 3ab85e6ac..1a8955750 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ matrix: # - ZULUJDK=6 before_install: + # installing the rpm package + - sudo apt-get update -qq + - sudo apt-get install -qq rpm # adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation - "[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/" - curl -sL https://get.sdkman.io | bash diff --git a/packaging/pom.xml b/packaging/pom.xml index 98e435511..8b94ccfc2 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -111,6 +111,69 @@ + + org.codehaus.mojo + rpm-maven-plugin + 2.2.0 + + + generate-rpm + + rpm + + + + + (c) Alibaba, GPLv3 + Arthas + Development/tools + Alibaba + /usr/share + + _unpackaged_files_terminate_build 0 + + + + /usr/share/arthas + 755 + root + root + + + ${project.build.directory}/arthas-${project.version}-bin + + + + + /usr/local/bin + 755 + root + root + + + /usr/share/arthas/as.sh + + + + + /usr/share/man/man1 + 755 + root + root + + + ../packaging/src/deb/man1/arthas.1 + + + + + + curl + telnet + unzip + + +