diff --git a/.github/workflows/tomcat_build_upload.yml b/.github/workflows/tomcat_build_upload.yml index c6305cf..1db09a7 100644 --- a/.github/workflows/tomcat_build_upload.yml +++ b/.github/workflows/tomcat_build_upload.yml @@ -60,4 +60,4 @@ jobs: aws-secret-access-key: ${{ secrets.S3_MVN_SECRET_KEY }} aws-region: ap-southeast-1 - name: Upload Artifact for bahmni-embedded-tomcat-10 - run: aws s3 cp bahmni-embedded-tomcat-10/target/bahmni-embedded-tomcat-10-*.jar s3://repo.mybahmni.org/packages/build/ + run: aws s3 cp bahmni-embedded-tomcat-10/build/libs/bahmni-embedded-tomcat-10-*.jar s3://repo.mybahmni.org/packages/build/ diff --git a/bahmni-embedded-tomcat-10/pom.xml b/bahmni-embedded-tomcat-10/pom.xml index 39edfc8..c2b42a3 100644 --- a/bahmni-embedded-tomcat-10/pom.xml +++ b/bahmni-embedded-tomcat-10/pom.xml @@ -7,7 +7,7 @@ org.bahmni.deployment.launch bahmni-embedded-tomcat-10 1.0-SNAPSHOT - pom + jar Bahmni Embedded Tomcat 10 https://github.com/Bahmni/bahmni-package.git Embedded Tomcat v10 For Bahmni Services @@ -72,6 +72,7 @@ + build org.apache.maven.plugins @@ -82,6 +83,36 @@ 17 + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.2 + + + copy-dependencies + install + + copy-dependencies + + + ${project.build.directory}/libs + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + ${project.build.directory}/libs + + + org.bahmni.deployment.launch.Main + + + + org.codehaus.mojo exec-maven-plugin