From 27b5c0f5b2dae5dcf647582b086d97666134feda Mon Sep 17 00:00:00 2001 From: Dan Langford Date: Fri, 28 Dec 2018 23:30:30 -0700 Subject: [PATCH] trying to configure travis releases --- .travis.yml | 10 +++++++--- pom.xml | 3 +-- src/main/{root => doc}/README.asc | 4 ++-- src/main/root/.travis.yml | 11 ----------- tableflipper-ui-fatjar/pom.xml | 3 ++- 5 files changed, 12 insertions(+), 19 deletions(-) rename src/main/{root => doc}/README.asc (91%) delete mode 100644 src/main/root/.travis.yml diff --git a/.travis.yml b/.travis.yml index ba6184c..495a466 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,15 @@ language: java jdk: openjdk11 +cache: + directories: + - $HOME/.m2 deploy: provider: releases api_key: secure: T0BP+4oS9yBJ/z17DW9EZmdy5D1UoSIK5GSeEZtf2esTHVO+4hmG0mdObg8JiwJs+TGRecDM0Crbm4JFjKdndf9F4CNY0Y4pUF2zbWxMAwc2wCy+Ra80jJYnzSwHLhaLf/pyS4KuzOwqQF7eUbHBQhvJCotb6TBqUd8sTQaRb1Ut8976LH33hQNiK0WY/Pd3q7sAbmGoXVrHjZrnm/A1pJPUJvNm7TFG4cVF/wizVr/Ws2C2LjP5cvxRHJJPUtOYe00C3HLK6prY1rgjmGEgJC/sEWSSNtmbY/OpRW/oaCU6bFCalp5VFW9je6bfvY3sKkn25+tjDwJyjT19QeNZtdDXFGSUnF2EkK14uzfMAdcKv9eCSd90IgmIhfIQIuniutxzzlM+BOfB+nsnahO+750fxfD51LJAOUx6WPU6Yc+65jUPBZhv0QQH8lzs6YvBkh0yrtYyMwb5nWaHIJ6Me7zbsLIp5sV0Spy+ubkPjRbGdXD9rsqW5hkZFYIF9P5+fuySX6M23PozsvReeYvgrrZ4cyOIxeQrdYhnw1xVEwxqb5QDjrTJBjsulKLi27FJGGwCCHFVEDjvLfz4GpityLKVWBR1xlag1/nu51QAMtFECHEIPxlqmyBNZZsdCl3umrGremuvlukuM+X7Fq1tDmx80vF5j7Rxxn8JSEHl01E= - file: - - target/tableflipper-cli-0.0.5.jar - - target/tableflipper-ui-0.0.5.jar + file_glob: true + file: ./target/tableflipper*.jar + skip_cleanup: true + overwrite: true on: tags: true diff --git a/pom.xml b/pom.xml index d9896e1..de7206a 100644 --- a/pom.xml +++ b/pom.xml @@ -239,10 +239,9 @@ ${project.basedir} - ${project.basedir}/src/main/root + ${project.basedir}/src/main/doc README.asc - .travis.yml true diff --git a/src/main/root/README.asc b/src/main/doc/README.asc similarity index 91% rename from src/main/root/README.asc rename to src/main/doc/README.asc index 7c69fd6..21a7ced 100644 --- a/src/main/root/README.asc +++ b/src/main/doc/README.asc @@ -78,8 +78,8 @@ and at least in MacOS I can just double click the `tableflipper-ui-${project.ver == Advanced -you can run the build with the `multiplatform` profile to have the ui fatjar include all the javafx graphics for all three platforms adding a few MB to the size. i still need to test that it actually works. +by default the builds run with `multiplatform` profile enabled to have the ui fatjar include all the javafx graphics for all three platforms. if you would like to save just a few MB you can disable that. - ./mvnw package -Pmultiplatform + ./mvnw package -P !multiplatform _Dan "8bagels" Langford_ diff --git a/src/main/root/.travis.yml b/src/main/root/.travis.yml deleted file mode 100644 index 6a78f53..0000000 --- a/src/main/root/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: java -jdk: openjdk11 -deploy: - provider: releases - api_key: - secure: T0BP+4oS9yBJ/z17DW9EZmdy5D1UoSIK5GSeEZtf2esTHVO+4hmG0mdObg8JiwJs+TGRecDM0Crbm4JFjKdndf9F4CNY0Y4pUF2zbWxMAwc2wCy+Ra80jJYnzSwHLhaLf/pyS4KuzOwqQF7eUbHBQhvJCotb6TBqUd8sTQaRb1Ut8976LH33hQNiK0WY/Pd3q7sAbmGoXVrHjZrnm/A1pJPUJvNm7TFG4cVF/wizVr/Ws2C2LjP5cvxRHJJPUtOYe00C3HLK6prY1rgjmGEgJC/sEWSSNtmbY/OpRW/oaCU6bFCalp5VFW9je6bfvY3sKkn25+tjDwJyjT19QeNZtdDXFGSUnF2EkK14uzfMAdcKv9eCSd90IgmIhfIQIuniutxzzlM+BOfB+nsnahO+750fxfD51LJAOUx6WPU6Yc+65jUPBZhv0QQH8lzs6YvBkh0yrtYyMwb5nWaHIJ6Me7zbsLIp5sV0Spy+ubkPjRbGdXD9rsqW5hkZFYIF9P5+fuySX6M23PozsvReeYvgrrZ4cyOIxeQrdYhnw1xVEwxqb5QDjrTJBjsulKLi27FJGGwCCHFVEDjvLfz4GpityLKVWBR1xlag1/nu51QAMtFECHEIPxlqmyBNZZsdCl3umrGremuvlukuM+X7Fq1tDmx80vF5j7Rxxn8JSEHl01E= - file: - - target/tableflipper-cli-${project.version}.jar - - target/tableflipper-ui-${project.version}.jar - on: - tags: true diff --git a/tableflipper-ui-fatjar/pom.xml b/tableflipper-ui-fatjar/pom.xml index 350577e..c757443 100644 --- a/tableflipper-ui-fatjar/pom.xml +++ b/tableflipper-ui-fatjar/pom.xml @@ -9,6 +9,7 @@ tableflipper-ui-${revision}.jar + true @@ -23,7 +24,7 @@ multiplatform - multiplatform + !singleos