|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
3 | 3 |
|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
| 5 | + <parent> |
| 6 | + <groupId>net.wasdev.wlp.maven.parent</groupId> |
| 7 | + <artifactId>liberty-maven-app-parent</artifactId> |
| 8 | + <version>RELEASE</version> |
| 9 | + </parent> |
5 | 10 |
|
6 | 11 | <groupId>io.openliberty.guides</groupId>
|
7 | 12 | <artifactId>microprofile-health</artifactId>
|
|
35 | 40 | </dependencyManagement>
|
36 | 41 |
|
37 | 42 | <dependencies>
|
38 |
| - <!-- For tests --> |
39 |
| - <dependency> |
40 |
| - <groupId>junit</groupId> |
41 |
| - <artifactId>junit</artifactId> |
42 |
| - <version>4.12</version> |
43 |
| - <scope>test</scope> |
44 |
| - </dependency> |
45 |
| - <dependency> |
46 |
| - <groupId>org.apache.cxf</groupId> |
47 |
| - <artifactId>cxf-rt-rs-client</artifactId> |
48 |
| - <version>3.1.11</version> |
49 |
| - <scope>test</scope> |
50 |
| - </dependency> |
51 |
| - <dependency> |
52 |
| - <groupId>org.apache.cxf</groupId> |
53 |
| - <artifactId>cxf-rt-rs-extension-providers</artifactId> |
54 |
| - <version>3.1.11</version> |
55 |
| - <scope>test</scope> |
56 |
| - </dependency> |
57 |
| - <dependency> |
58 |
| - <groupId>org.glassfish</groupId> |
59 |
| - <artifactId>javax.json</artifactId> |
60 |
| - <version>1.0.4</version> |
61 |
| - <scope>test</scope> |
62 |
| - </dependency> |
63 | 43 | <!-- Open Liberty features -->
|
64 | 44 | <dependency>
|
65 | 45 | <groupId>io.openliberty.features</groupId>
|
|
99 | 79 | <scope>provided</scope>
|
100 | 80 | </dependency>
|
101 | 81 | <!-- end::health[] -->
|
| 82 | + <!-- For tests --> |
| 83 | + <dependency> |
| 84 | + <groupId>junit</groupId> |
| 85 | + <artifactId>junit</artifactId> |
| 86 | + <version>4.12</version> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.apache.cxf</groupId> |
| 91 | + <artifactId>cxf-rt-rs-client</artifactId> |
| 92 | + <version>3.2.6</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.apache.cxf</groupId> |
| 97 | + <artifactId>cxf-rt-rs-extension-providers</artifactId> |
| 98 | + <version>3.2.6</version> |
| 99 | + <scope>test</scope> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>org.glassfish</groupId> |
| 103 | + <artifactId>javax.json</artifactId> |
| 104 | + <version>1.0.4</version> |
| 105 | + <scope>test</scope> |
| 106 | + </dependency> |
102 | 107 | <!-- Java utility classes -->
|
103 | 108 | <dependency>
|
104 | 109 | <groupId>org.apache.commons</groupId>
|
105 | 110 | <artifactId>commons-lang3</artifactId>
|
106 | 111 | <version>3.0</version>
|
107 | 112 | </dependency>
|
108 |
| - <!-- For JDK 9 & 10 support --> |
| 113 | + <!-- Support for JDK 9 and above --> |
109 | 114 | <dependency>
|
110 | 115 | <groupId>javax.xml.bind</groupId>
|
111 | 116 | <artifactId>jaxb-api</artifactId>
|
112 |
| - <version>2.2.11</version> |
| 117 | + <version>2.3.1</version> |
113 | 118 | </dependency>
|
114 | 119 | <dependency>
|
115 | 120 | <groupId>com.sun.xml.bind</groupId>
|
116 | 121 | <artifactId>jaxb-core</artifactId>
|
117 |
| - <version>2.2.11</version> |
| 122 | + <version>2.3.0.1</version> |
118 | 123 | </dependency>
|
119 | 124 | <dependency>
|
120 | 125 | <groupId>com.sun.xml.bind</groupId>
|
121 | 126 | <artifactId>jaxb-impl</artifactId>
|
122 |
| - <version>2.2.11</version> |
| 127 | + <version>2.3.2</version> |
123 | 128 | </dependency>
|
124 | 129 | <dependency>
|
125 | 130 | <groupId>javax.activation</groupId>
|
|
143 | 148 | <plugin>
|
144 | 149 | <groupId>org.apache.maven.plugins</groupId>
|
145 | 150 | <artifactId>maven-surefire-plugin</artifactId>
|
146 |
| - <version>2.18.1</version> |
| 151 | + <version>3.0.0-M1</version> |
147 | 152 | <executions>
|
148 | 153 | <execution>
|
149 | 154 | <phase>test</phase>
|
|
161 | 166 | <plugin>
|
162 | 167 | <groupId>net.wasdev.wlp.maven.plugins</groupId>
|
163 | 168 | <artifactId>liberty-maven-plugin</artifactId>
|
164 |
| - <version>2.6.1</version> |
165 | 169 | <configuration>
|
166 | 170 | <assemblyArtifact>
|
167 | 171 | <groupId>io.openliberty</groupId>
|
|
179 | 183 | </configuration>
|
180 | 184 | <executions>
|
181 | 185 | <execution>
|
182 |
| - <id>install-liberty</id> |
183 |
| - <phase>prepare-package</phase> |
184 |
| - <goals> |
185 |
| - <goal>install-server</goal> |
186 |
| - </goals> |
187 |
| - </execution> |
188 |
| - <execution> |
189 |
| - <id>install-app</id> |
190 |
| - <phase>pre-integration-test</phase> |
191 |
| - <goals> |
192 |
| - <goal>install-apps</goal> |
193 |
| - </goals> |
| 186 | + <id>install-apps</id> |
194 | 187 | <configuration>
|
195 | 188 | <looseApplication>true</looseApplication>
|
196 | 189 | <stripVersion>true</stripVersion>
|
197 | 190 | <installAppPackages>project</installAppPackages>
|
198 | 191 | </configuration>
|
199 | 192 | </execution>
|
200 | 193 | <execution>
|
201 |
| - <id>start-server</id> |
202 |
| - <phase>pre-integration-test</phase> |
203 |
| - <goals> |
204 |
| - <goal>start-server</goal> |
205 |
| - </goals> |
206 |
| - </execution> |
207 |
| - <execution> |
208 |
| - <id>stop-server</id> |
209 |
| - <phase>post-integration-test</phase> |
210 |
| - <goals> |
211 |
| - <goal>stop-server</goal> |
212 |
| - </goals> |
213 |
| - </execution> |
214 |
| - <execution> |
215 |
| - <id>package-app</id> |
216 |
| - <phase>package</phase> |
217 |
| - <goals> |
218 |
| - <goal>package-server</goal> |
219 |
| - </goals> |
| 194 | + <id>package-server</id> |
220 | 195 | <configuration>
|
221 | 196 | <outputDirectory>target/wlp-package</outputDirectory>
|
222 | 197 | </configuration>
|
|
227 | 202 | <plugin>
|
228 | 203 | <groupId>org.apache.maven.plugins</groupId>
|
229 | 204 | <artifactId>maven-failsafe-plugin</artifactId>
|
230 |
| - <version>2.18.1</version> |
| 205 | + <version>3.0.0-M1</version> |
231 | 206 | <executions>
|
232 | 207 | <execution>
|
233 | 208 | <phase>integration-test</phase>
|
|
0 commit comments