2019-07-12 15:13:51 -04:00
|
|
|
#!/bin/bash
|
2019-07-14 21:27:52 -04:00
|
|
|
set -exo pipefail
|
2019-02-09 23:37:17 -05:00
|
|
|
|
|
|
|
updateSnapshots=false
|
|
|
|
if [ "$1" == "--update" ]
|
|
|
|
then
|
|
|
|
updateSnapshots=true
|
|
|
|
shift
|
|
|
|
fi
|
|
|
|
|
2019-07-14 21:27:52 -04:00
|
|
|
set -euxo pipefail
|
|
|
|
|
2019-02-09 23:37:17 -05:00
|
|
|
mvn="mvn -B -pl test clean test -Dtest=SnapshotTest -DupdateSnapshots=$updateSnapshots"
|
|
|
|
|
|
|
|
mvn "$@" -B -pl '!test' clean install
|
|
|
|
$mvn "$@" -DJdbcMapper.beanSuffix=Bean
|
|
|
|
$mvn "$@" -DjdbcMapper.databaseType=BIND -DJdbcMapper.beanSuffix=BindBean
|
|
|
|
$mvn "$@" -DjdbcMapper.databaseType=ANY -DJdbcMapper.beanSuffix=AnyBean
|
|
|
|
$mvn "$@" -DjdbcMapper.databaseType=UNNEST -DJdbcMapper.beanSuffix=UnNestBean
|
2019-07-14 21:27:52 -04:00
|
|
|
$mvn "$@" -DjdbcMapper.databaseType=ORACLE -P oracle -DJdbcMapper.beanSuffix=OracleBean
|