File tree 5 files changed +15
-17
lines changed
5 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (c) 2020, 2021 IBM Corporation and others.
1
+ // Copyright (c) 2020 IBM Corporation and others.
2
2
// Licensed under Creative Commons Attribution-NoDerivatives
3
3
// 4.0 International (CC BY-ND 4.0)
4
4
// https://creativecommons.org/licenses/by-nd/4.0/
@@ -97,7 +97,7 @@ the artist JSON is available to you.
97
97
Navigate to the `start` directory to begin.
98
98
99
99
[role='command']
100
- include::{common-includes}/devmode-lmp33- start.adoc[]
100
+ include::{common-includes}/devmode-start.adoc[]
101
101
102
102
After you start the service, you can find your artist JSON at the
103
103
http://localhost:9080/artists[http://localhost:9080/artists^] URL.
Original file line number Diff line number Diff line change 29
29
<dependency >
30
30
<groupId >org.eclipse.microprofile</groupId >
31
31
<artifactId >microprofile</artifactId >
32
- <version >4.0.1 </version >
32
+ <version >3.3 </version >
33
33
<type >pom</type >
34
34
<scope >provided</scope >
35
35
</dependency >
38
38
<dependency >
39
39
<groupId >org.junit.jupiter</groupId >
40
40
<artifactId >junit-jupiter</artifactId >
41
- <version >5.7.1 </version >
41
+ <version >5.6.2 </version >
42
42
<scope >test</scope >
43
43
</dependency >
44
44
</dependencies >
55
55
<plugin >
56
56
<groupId >io.openliberty.tools</groupId >
57
57
<artifactId >liberty-maven-plugin</artifactId >
58
- <version >3.3.4 </version >
58
+ <version >3.2.3 </version >
59
59
</plugin >
60
60
<!-- Frontend resources -->
61
61
<!-- tag::frontend-plugin[] -->
123
123
<plugin >
124
124
<groupId >org.apache.maven.plugins</groupId >
125
125
<artifactId >maven-resources-plugin</artifactId >
126
- <version >3.2 .0</version >
126
+ <version >3.1 .0</version >
127
127
<executions >
128
128
<execution >
129
129
<id >Copy frontend build to target</id >
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- while getopts t:d: flag; do
2
+ while getopts t:d:b:u: flag; do
3
3
case " ${flag} " in
4
4
t) DATE=" ${OPTARG} " ;;
5
5
d) DRIVER=" ${OPTARG} " ;;
6
- * ) echo " Invalid option" ;;
6
+ b) BUILD=" ${OPTARG} " ;;
7
+ u) DOCKER_USERNAME=" ${OPTARG} " ;;
7
8
esac
8
9
done
9
10
10
- sed -i " \#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE / $DRIVER </runtimeUrl></install></configuration>" pom.xml
11
+ sed -i " \#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/" $DATE " / " $DRIVER " </runtimeUrl></install></configuration>" pom.xml
11
12
cat pom.xml
12
13
13
14
../scripts/testApp.sh
Original file line number Diff line number Diff line change @@ -14,10 +14,7 @@ set -euxo pipefail
14
14
# liberty:create - Create a Liberty server.
15
15
# liberty:install-feature - Install a feature packaged as a Subsystem Archive (esa) to the Liberty runtime.
16
16
# liberty:deploy - Copy applications to the Liberty server's dropins or apps directory.
17
- mvn -Dhttp.keepAlive=false \
18
- -Dmaven.wagon.http.pool=false \
19
- -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
20
- -q clean package liberty:create liberty:install-feature liberty:deploy
17
+ mvn -q clean package liberty:create liberty:install-feature liberty:deploy
21
18
22
19
# # Run the tests
23
20
# These commands are separated because if one of the commands fail, the test script will fail and exit.
Original file line number Diff line number Diff line change 29
29
<dependency >
30
30
<groupId >org.eclipse.microprofile</groupId >
31
31
<artifactId >microprofile</artifactId >
32
- <version >4.0.1 </version >
32
+ <version >3.3 </version >
33
33
<type >pom</type >
34
34
<scope >provided</scope >
35
35
</dependency >
38
38
<dependency >
39
39
<groupId >org.junit.jupiter</groupId >
40
40
<artifactId >junit-jupiter</artifactId >
41
- <version >5.7.1 </version >
41
+ <version >5.6.2 </version >
42
42
<scope >test</scope >
43
43
</dependency >
44
44
</dependencies >
55
55
<plugin >
56
56
<groupId >io.openliberty.tools</groupId >
57
57
<artifactId >liberty-maven-plugin</artifactId >
58
- <version >3.3.4 </version >
58
+ <version >3.2.3 </version >
59
59
</plugin >
60
60
<!-- Frontend resources -->
61
61
<plugin >
100
100
<plugin >
101
101
<groupId >org.apache.maven.plugins</groupId >
102
102
<artifactId >maven-resources-plugin</artifactId >
103
- <version >3.2 .0</version >
103
+ <version >3.1 .0</version >
104
104
<executions >
105
105
<execution >
106
106
<id >Copy frontend build to target</id >
You can’t perform that action at this time.
0 commit comments