refs #741 #742: reorganize repository by application

This commit is contained in:
devmrko
2026-08-03 10:20:36 +09:00
parent 2e44ed0b97
commit e9d50e6a32
445 changed files with 1523 additions and 1885 deletions

View File

@@ -32,7 +32,7 @@ Production transport defaults are always applied on the VM:
HTTPS required, Secure/HttpOnly/SameSite session cookie.
The script uploads:
- target/*.jar as app.jar
- vpd-backoffice/target/*.jar as app.jar
- .env rewritten for the VM wallet path
- TNS_ADMIN wallet directory
- start.sh / stop.sh / status.sh
@@ -127,11 +127,11 @@ ssh "${SSH_ARGS[@]}" "$HOST" 'printf "connected %s %s\n" "$(hostname)" "$(whoami
if [[ "$SKIP_BUILD" != "Y" ]]; then
log "jar 빌드"
mvn -DskipTests package
mvn -f "$ROOT/vpd-backoffice/pom.xml" -DskipTests package
fi
JAR_PATH="$(find "$ROOT/target" -maxdepth 1 -type f -name '*.jar' ! -name '*sources.jar' ! -name '*javadoc.jar' | sort | tail -n 1)"
[[ -n "$JAR_PATH" && -f "$JAR_PATH" ]] || die "target jar를 찾을 수 없습니다. mvn package를 먼저 실행하세요."
JAR_PATH="$(find "$ROOT/vpd-backoffice/target" -maxdepth 1 -type f -name '*.jar' ! -name '*sources.jar' ! -name '*javadoc.jar' | sort | tail -n 1)"
[[ -n "$JAR_PATH" && -f "$JAR_PATH" ]] || die "vpd-backoffice target jar를 찾을 수 없습니다. 배포 빌드를 먼저 실행하세요."
TMP_DIR="$(mktemp -d "${TMPDIR:-/tmp}/vpd-backoffice-deploy.XXXXXX")"
cleanup() {