From 5c0857e98e46e5cf513995c14d674f230b19cde9 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Sun, 10 Apr 2016 01:53:44 +0200 Subject: [PATCH] build ant-kit on tag/release [ci skip] --- .travis.yml | 6 +- main/ant-kit/.gitignore | 1 + main/ant-kit/assembly.xml | 25 +++++++ main/ant-kit/pom.xml | 83 +++++++++++++++++++++++ main/ant-kit/src/main/resources/build.xml | 39 +++++++++++ main/pom.xml | 3 +- 6 files changed, 154 insertions(+), 3 deletions(-) create mode 100644 main/ant-kit/.gitignore create mode 100644 main/ant-kit/assembly.xml create mode 100644 main/ant-kit/pom.xml create mode 100644 main/ant-kit/src/main/resources/build.xml diff --git a/.travis.yml b/.travis.yml index f5949ec6b..cfc3900c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ notifications: on_success: change on_failure: always -before_deploy: mvn -fmain/pom.xml -Puber-jar clean package -DskipTests +before_deploy: mvn -fmain/pom.xml -Prelease clean package -DskipTests addons: coverity_scan: @@ -46,7 +46,9 @@ deploy: prerelease: false api_key: secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk=" - file: main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar + file: + - "main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar" + - "main/ant-kit/target/Cryptomator-$TRAVIS_TAG.tar.gz" skip_cleanup: true on: repo: cryptomator/cryptomator diff --git a/main/ant-kit/.gitignore b/main/ant-kit/.gitignore new file mode 100644 index 000000000..b83d22266 --- /dev/null +++ b/main/ant-kit/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/main/ant-kit/assembly.xml b/main/ant-kit/assembly.xml new file mode 100644 index 000000000..a7cc9f35f --- /dev/null +++ b/main/ant-kit/assembly.xml @@ -0,0 +1,25 @@ + + + + tar.gz + + true + cryptomator_${project.version} + + + target/libs + libs + + + target/bundlefiles + bundlefiles + + + + + target/build.xml + false + + + \ No newline at end of file diff --git a/main/ant-kit/pom.xml b/main/ant-kit/pom.xml new file mode 100644 index 000000000..1556f4b99 --- /dev/null +++ b/main/ant-kit/pom.xml @@ -0,0 +1,83 @@ + + + + 4.0.0 + + org.cryptomator + main + 1.1.0-SNAPSHOT + + ant-kit + pom + Cryptomator Ant Build Kit + Builds a package that can be built with Ant locally + + + + org.cryptomator + ui + + + + + clean assembly:assembly + + + + + maven-dependency-plugin + + + copy-libs + prepare-package + + copy-dependencies + + + ${project.build.directory}/libs + + + + + + + + maven-resources-plugin + 2.7 + + + copy-resources + prepare-package + + copy-resources + + + ${project.build.directory} + \ + UTF-8 + + + src/main/resources + true + + + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + assembly.xml + cryptomator_${project.version} + + + + + \ No newline at end of file diff --git a/main/ant-kit/src/main/resources/build.xml b/main/ant-kit/src/main/resources/build.xml new file mode 100644 index 000000000..9bcd01ebe --- /dev/null +++ b/main/ant-kit/src/main/resources/build.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/main/pom.xml b/main/pom.xml index 24a7ab945..abcdf6abc 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -274,9 +274,10 @@ - uber-jar + release uber-jar + ant-kit