mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-14 13:15:07 -05:00
10 lines
409 B
Bash
Executable File
10 lines
409 B
Bash
Executable File
#!/bin/bash
|
|
# maven central only supports TLS 1.2+ now, and java 6 does not, ouch, use java 7 to download them...
|
|
|
|
set -e
|
|
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 mvn -B -Dhttps.protocols=TLSv1.2 --settings .travis-settings.xml -P oracle clean install
|
|
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 mvn --offline -B clean
|
|
git checkout -- .
|
|
git clean -dxf
|
|
rm -rf ~/.m2/repository/com/moparisthebest/jdbcmapper
|