run.sh 307 Bytes
Newer Older
vitam-prg's avatar
vitam-prg committed
1
2
3
4
5
6
7
8
9
#!/bin/bash

mkdir -p target/src/main
rm -rf target/src/main/config
cp -r src/main/config target/src/main/config

#retrieve version
version="$(grep -oP '(?<=>).*?(?=</version>)' pom.xml | grep -v 'version')"

zikas96's avatar
zikas96 committed
10
java -jar target/iam-external-$(echo $version).jar -Xms128m -Xmx512m --spring.profiles.active=dev