From 38c4660f4a98785d99187f93a38494bea3309c18 Mon Sep 17 00:00:00 2001 From: Maximilian Noethe Date: Mon, 8 Feb 2016 15:25:55 +0100 Subject: [PATCH] try to fix deployment for arbitrary tags, again --- .travis.yml | 4 +++- pom.xml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43e4511a18..8093065a08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ jdk: - openjdk7 - oraclejdk8 before_deploy: - - mv target/fact-tools-*.jar target/fact-tools-$TRAVIS_BRANCH.jar + - mvn -DfinalName=fact-tools-$TRAVIS_BRANCH package deploy: provider: releases api_key: @@ -14,6 +14,8 @@ deploy: on: tags: true repo: fact-project/fact-tools + java: oraclejdk8 notifications: slack: secure: IwBFEZoQ5bYquYbOfsVE/EQ6bc6CemwDeCQw1Ok5AryUuj1RvYHBrV1o00kPDi6T2PFuc+jWUTg8VTCTzXUUgJOrjhiBuvYAwEOaDRtCi9uhDHsrPUBLwjB80k2rm90A8RgRd3DDZjxfdz4hHdlsgjFVP/zMCTCvB27vnRMONpejuWQXhTuFhdQqkyzje8s2lGdbtJ7cu7zHuqEn3w5b5J7AbDpwYnbmIZxElgtuJBw3yRkfF5+dmnEIHUKZp+NtffYjW0NEhJQZojP2ea4Qv4qiMv4mwEU3L7ahHNhzz4P9tv3mrjaDHOGcZOk4UuJDW8iNaShvO4RBlWbwWhasahnpg06Oq7YqYzkD85oc+qG5ByKvM1eRn7OyYM9AXuxu1BVncnyz1WKJiuFFTLCnYFD393X/tyjC4iY8MbVhx9NcfhCxFaD6kv6bkAj1ilxs5oMVcthDuLsT/UFQBHM/zMe0zo9AxbWvpyuYToGR5y0UmVCupuQ96jzW9nShmPJtgMuz5jMqki9F6aeBd9e2BGCInBtRBQ1dFpvrqR70Jx+6aiQm//zgVVkfReg0pvJrpYchaG3UIcbI0Kor8+wslmlOY1v0XkJgx1A0BN9m/hRewfPRfn4YR8y7xHHpQRY7AY3j1Ezp8CPRdJ0BzrR2yymAtL8X2bDJZkg64O4BnmM= + diff --git a/pom.xml b/pom.xml index 56306d4337..cfe31d74ab 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,7 @@ 0.9.23 fact-tools-${project.version} false + fact-tools-${project.version} @@ -239,7 +240,7 @@ maven-source-plugin 2.1.2 - fact-tools-${project.version} + ${finalName} @@ -273,7 +274,7 @@ - fact-tools-${project.version} + ${finalName}