Skip to content

Commit 799e1d2

Browse files
committed
Installed maven dependencies
1 parent e261fe5 commit 799e1d2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ jobs:
3131
if: ${{ steps.branch-name.outputs.current_branch == 'main' }}
3232
run: echo "PACKAGE_VERSION=$(date +'%Y%m%d').${{ github.run_number }}.${{ github.run_attempt }}" >> $GITHUB_ENV
3333
shell: bash
34+
35+
- name: Install maven-repository-aws-s3 dependencies
36+
run: |
37+
HOME=$(dirname $(readlink -f $(which mvn)))
38+
for dep in "com.github.ehsaniara:maven-repository-aws-s3:1.2.11:jar" "org.apache.httpcomponents:httpcore:4.4.16:jar" "com.amazonaws:aws-java-sdk-s3:1.12.405:jar" "com.amazonaws:aws-java-sdk-core:1.12.405:jar" "com.fasterxml.jackson.core:jackson-core:2.14.2:jar" "com.fasterxml.jackson.core:jackson-databind:2.14.2:jar" "com.fasterxml.jackson.core:jackson-annotations:2.14.2:jar" "joda-time:joda-time:2.12.2:jar" "org.apache.httpcomponents:httpclient:4.5.14:jar" "commons-io:commons-io:2.12.0"
39+
do
40+
mvn dependency:copy \
41+
--batch-mode \
42+
-DrepoUrl=https://repo.maven.apache.org/maven2 \
43+
-Dartifact=${dep} \
44+
-DoutputDirectory=${HOME}/../lib
45+
done
46+
shell: bash
3447

3548
- name: Configure maven-repository-aws-s3
3649
run: |

0 commit comments

Comments
 (0)