Skip to content

Commit

Permalink
fix: refactor .jar binary removal
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriylesyuk committed Dec 29, 2022
1 parent 96d9785 commit eef0996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions references/hashicorp-vault-integration/apigee-lib-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
if [ ! -f "$APIGEE_LIB/message-flow-1.0.0.jar" ]; then
mkdir -p "$APIGEE_LIB"

curl --output-dir "$APIGEE_LIB" -LO https://github.com/apigee/api-platform-samples/blob/5b67fe2c3ab23514b67d458a19b63159a2e3f2ab/doc-samples/java-hello/lib/message-flow-1.0.0.jar?raw=true
curl --output-dir "$APIGEE_LIB" -L -o message-flow-1.0.0.jar https://github.com/apigee/api-platform-samples/blob/5b67fe2c3ab23514b67d458a19b63159a2e3f2ab/doc-samples/java-hello/lib/message-flow-1.0.0.jar?raw=true

mvn install:install-file -Dfile="$APIGEE_LIB/message-flow-1.0.0.jar" \
-DgroupId=com.apigee.edge -DartifactId=message-flow -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
Expand All @@ -32,7 +32,7 @@ fi
if [ ! -f "$APIGEE_LIB/expressions-1.0.0.jar" ]; then
mkdir -p "$APIGEE_LIB"

curl --output-dir "$APIGEE_LIB" -LO https://github.com/apigee/api-platform-samples/blob/5b67fe2c3ab23514b67d458a19b63159a2e3f2ab/doc-samples/java-hello/lib/expressions-1.0.0.jar?raw=true
curl --output-dir "$APIGEE_LIB" -L -o expressions-1.0.0.jar https://github.com/apigee/api-platform-samples/blob/5b67fe2c3ab23514b67d458a19b63159a2e3f2ab/doc-samples/java-hello/lib/expressions-1.0.0.jar?raw=true

mvn install:install-file -Dfile="$APIGEE_LIB/expressions-1.0.0.jar" \
-DgroupId=com.apigee.edge -DartifactId=expressions -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
Expand Down

0 comments on commit eef0996

Please sign in to comment.