From c375bb8f4a054e1dde314bc66787fb4c0da7f6a7 Mon Sep 17 00:00:00 2001 From: xxcxy Date: Thu, 7 Jul 2022 08:26:57 +0800 Subject: [PATCH 1/2] fix Workmanager link --- pom.xml | 28 +++++++++++++++++++++++++++- token.properties.local | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1bd9c5d..8367fbd 100644 --- a/pom.xml +++ b/pom.xml @@ -136,6 +136,32 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + + + copy-resource-two + generate-sources + + copy-resources + + + ${basedir}/target/templates + + token.properties + + + + templates + true + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -174,4 +200,4 @@ - \ No newline at end of file + diff --git a/token.properties.local b/token.properties.local index 099b955..579200e 100644 --- a/token.properties.local +++ b/token.properties.local @@ -17,7 +17,7 @@ emailengine_smtp_user=do_not_reply@topcoder.com emailengine_smtp_password=top_coder notificationEmailFromAddress=servicetopcodersoftware.com -exttemplatesdir=templates +exttemplatesdir=target/templates distributionScriptsBase=/root/web/conf/distribution_scripts/unix SSO_COOKIE_KEY=tcsso From 42200215faa574d9da1a36851351724fee58529c Mon Sep 17 00:00:00 2001 From: xxcxy Date: Thu, 7 Jul 2022 09:24:19 +0800 Subject: [PATCH 2/2] fix dockerfile --- Dockerfile | 2 +- ECSDockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4148eb..a04ddf6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ WORKDIR /opt/autopilot Add ./target/auto-pilot-1.0-SNAPSHOT-spring-boot.jar /opt/autopilot/ Add ./xml_phase_template.xsd /opt/autopilot/ -Add ./templates /opt/autopilot/templates/ +Add ./target/templates /opt/autopilot/templates/ CMD ["java", "-jar", "auto-pilot-1.0-SNAPSHOT-spring-boot.jar", "-poll", "5"] \ No newline at end of file diff --git a/ECSDockerfile b/ECSDockerfile index 9f53238..19eba55 100644 --- a/ECSDockerfile +++ b/ECSDockerfile @@ -8,6 +8,6 @@ WORKDIR /opt/autopilot Add ./target/auto-pilot-1.0-SNAPSHOT-spring-boot.jar /opt/autopilot/ Add ./xml_phase_template.xsd /opt/autopilot/ -Add ./templates /opt/autopilot/templates/ +Add ./target/templates /opt/autopilot/templates/ CMD ["java", "-jar", "auto-pilot-1.0-SNAPSHOT-spring-boot.jar", "-poll", "5"] \ No newline at end of file