forked from aws/aws-sdk-java-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
archetype-native-image-test.yml
66 lines (64 loc) · 1.96 KB
/
archetype-native-image-test.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 0.2
phases:
build:
commands:
- mvn clean install -pl :archetype-app-quickstart -P quick --am -T1C
- mvn clean install -pl :bom,:bom-internal -P quick
- CURRENT_VERSION=$(cat pom.xml | grep "<version>" | head -1 | cut -d\> -f 2 | cut -d\< -f 1)
- echo "Current version is $CURRENT_VERSION"
- cd .. && mkdir tmp
- cd tmp
- |
mvn archetype:generate \
-DarchetypeGroupId=software.amazon.awssdk \
-DarchetypeArtifactId=archetype-app-quickstart \
-DarchetypeVersion=$CURRENT_VERSION \
-DgroupId=com.test \
-DnativeImage=true \
-DartifactId=apache-project \
-DhttpClient=apache-client \
-Dservice=s3 \
-DinteractiveMode=false \
-DcredentialProvider=default
- |
- cd apache-project
- mvn clean package -P native-image
- target/apache-project
- cd ..
-
-
- |
mvn archetype:generate \
-DarchetypeGroupId=software.amazon.awssdk \
-DarchetypeArtifactId=archetype-app-quickstart \
-DarchetypeVersion=$CURRENT_VERSION \
-DgroupId=com.test \
-DnativeImage=true \
-DhttpClient=url-connection-client \
-DartifactId=url-connection-project \
-Dservice=s3 \
-DinteractiveMode=false \
-DcredentialProvider=default
- |
- cd url-connection-project
- mvn clean package -P native-image
- target/url-connection-project
- cd ..
-
-
- |
mvn archetype:generate \
-DarchetypeGroupId=software.amazon.awssdk \
-DarchetypeArtifactId=archetype-app-quickstart \
-DarchetypeVersion=$CURRENT_VERSION \
-DgroupId=com.test \
-DhttpClient=netty-nio-client \
-DnativeImage=true \
-DartifactId=netty-project \
-Dservice=dynamodb \
-DinteractiveMode=false \
-DcredentialProvider=default
- |
- cd netty-project
- mvn clean package -P native-image
- target/netty-project