15 lines
464 B
Bash
Executable File
15 lines
464 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
|
|
|
|
spring_session_data_mongodb_artifactory=$(pwd)/spring-session-data-mongodb-artifactory
|
|
|
|
rm -rf $HOME/.m2/repository/org/springframework/ws 2> /dev/null || :
|
|
|
|
cd spring-session-data-mongodb-github
|
|
|
|
./mvnw -Pdistribute,docs -Dmaven.test.skip=true clean deploy \
|
|
-DaltDeploymentRepository=distribution::default::file://${spring_session_data_mongodb_artifactory}
|