2019-07-12 15:13:51 -04:00
|
|
|
#!/bin/bash
|
2019-02-09 23:37:17 -05:00
|
|
|
set -e
|
|
|
|
|
|
|
|
updateSnapshots=false
|
|
|
|
if [ "$1" == "--update" ]
|
|
|
|
then
|
|
|
|
updateSnapshots=true
|
|
|
|
shift
|
|
|
|
fi
|
|
|
|
|
|
|
|
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-02 09:47:39 -04:00
|
|
|
#$mvn "$@" -DjdbcMapper.databaseType=ORACLE -P oracle -DJdbcMapper.beanSuffix=OracleBean
|