-
Notifications
You must be signed in to change notification settings - Fork 3
/
buildsetup.sh
executable file
·38 lines (30 loc) · 939 Bytes
/
buildsetup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# -*- mode:shell-script; coding:utf-8; -*-
#
# Created: <Tue Oct 6 11:46:13 2015>
# Last Updated: <2015-October-06 11:53:42>
#
echo
echo "This script downloads JAR files and installs them into the local Maven repo."
echo
curl -O https://raw.githubusercontent.com/apigee/api-platform-samples/master/doc-samples/java-cookbook/lib/expressions-1.0.0.jar
mvn install:install-file \
-Dfile=expressions-1.0.0.jar \
-DgroupId=com.apigee.edge \
-DartifactId=expressions \
-Dversion=1.0.0 \
-Dpackaging=jar \
-DgeneratePom=true
rm expressions-1.0.0.jar
curl -O https://raw.githubusercontent.com/apigee/api-platform-samples/master/doc-samples/java-cookbook/lib/message-flow-1.0.0.jar
mvn install:install-file \
-Dfile=message-flow-1.0.0.jar \
-DgroupId=com.apigee.edge \
-DartifactId=message-flow \
-Dversion=1.0.0 \
-Dpackaging=jar \
-DgeneratePom=true
rm message-flow-1.0.0.jar
echo
echo done.
echo