remove SSH based maven publishing
The updates.jmonkeyengine.org server is no longer used.
This commit is contained in:
parent
86f6f040e3
commit
73cb4f85ad
@ -4,9 +4,6 @@ sudo: false
|
|||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
addons:
|
|
||||||
ssh_known_hosts: updates.jmonkeyengine.org
|
|
||||||
|
|
||||||
before_cache:
|
before_cache:
|
||||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
|
||||||
@ -45,7 +42,6 @@ deploy:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git fetch --unshallow
|
- git fetch --unshallow
|
||||||
- "[ $TRAVIS_PULL_REQUEST == 'false' ] && openssl aes-256-cbc -K $encrypted_a1949b55824a_key -iv $encrypted_a1949b55824a_iv -in private/www-updater.key.enc -out private/www-updater.key -d || :"
|
|
||||||
|
|
||||||
# before_install:
|
# before_install:
|
||||||
# required libs for android build tools
|
# required libs for android build tools
|
||||||
@ -58,5 +54,4 @@ before_install:
|
|||||||
# export ANDROID_NDK=`pwd`/android-ndk-r10c
|
# export ANDROID_NDK=`pwd`/android-ndk-r10c
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives || :'
|
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :'
|
||||||
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives bintrayUpload || :'
|
|
||||||
|
@ -18,16 +18,11 @@ repositories {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
|
||||||
deployerJars
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Adding dependencies here will add the dependencies to each subproject.
|
// Adding dependencies here will add the dependencies to each subproject.
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.28-beta'
|
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.28-beta'
|
||||||
testCompile group: 'org.easytesting', name: 'fest-assert-core', version: '2.0M10'
|
testCompile group: 'org.easytesting', name: 'fest-assert-core', version: '2.0M10'
|
||||||
deployerJars "org.apache.maven.wagon:wagon-ssh:2.9"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
@ -116,17 +111,3 @@ artifacts {
|
|||||||
archives writeFullPom.outputs.files[0]
|
archives writeFullPom.outputs.files[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadArchives {
|
|
||||||
repositories.mavenDeployer {
|
|
||||||
configuration = configurations.deployerJars
|
|
||||||
|
|
||||||
// disable this otherwise it will fill up the server with stale jars
|
|
||||||
uniqueVersion = false
|
|
||||||
|
|
||||||
repository(url: "scp://updates.jmonkeyengine.org/var/www/updates/maven") {
|
|
||||||
authentication(userName: "www-updater", privateKey: "private/www-updater.key")
|
|
||||||
}
|
|
||||||
|
|
||||||
pom.project pomConfig
|
|
||||||
}
|
|
||||||
}
|
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user