Skip to content

Commit

Permalink
[Rahul] | BAH-3969 | Fix. Missing Build Path
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh committed Jun 21, 2024
1 parent da2d86f commit 93b6426
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tomcat_build_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
33 changes: 32 additions & 1 deletion bahmni-embedded-tomcat-10/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.bahmni.deployment.launch</groupId>
<artifactId>bahmni-embedded-tomcat-10</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<packaging>jar</packaging>
<name>Bahmni Embedded Tomcat 10</name>
<url>https://github.com/Bahmni/bahmni-package.git</url>
<description>Embedded Tomcat v10 For Bahmni Services</description>
Expand Down Expand Up @@ -72,6 +72,7 @@
</dependencies>

<build>
<directory>build</directory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -82,6 +83,36 @@
<target>17</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>install</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<archive>
<manifest>
<mainClass>org.bahmni.deployment.launch.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down

0 comments on commit 93b6426

Please sign in to comment.