ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
Arthur Martella | 22e015f | 2018-02-22 14:24:40 -0500 | [diff] [blame] | 5 | <groupId>org.onap.so</groupId> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 6 | <artifactId>packages</artifactId> |
Jessica Wagantall | 777f637 | 2017-11-20 11:10:28 -0800 | [diff] [blame] | 7 | <version>1.2.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 8 | </parent> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 9 | |
Arthur Martella | 22e015f | 2018-02-22 14:24:40 -0500 | [diff] [blame] | 10 | <groupId>org.onap.so.packages</groupId> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 11 | <name>Arquillian Unit Testing on MSO</name> |
| 12 | <artifactId>arquillian-unit-tests</artifactId> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 13 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 14 | <packaging>jar</packaging> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 15 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 16 | <profiles> |
| 17 | <profile> |
| 18 | <id>default-tests</id> |
| 19 | <activation> |
| 20 | <activeByDefault>true</activeByDefault> |
| 21 | </activation> |
| 22 | <properties> |
| 23 | <it-suite-to-execute>**/IntegrationTestsSuite.java</it-suite-to-execute> |
| 24 | <container-to-start>jboss-as</container-to-start> |
| 25 | <mso.project.version>${project.version}</mso.project.version> |
| 26 | </properties> |
| 27 | </profile> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 28 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 29 | </profiles> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 30 | |
| 31 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 32 | <dependencyManagement> |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.jboss.arquillian</groupId> |
| 36 | <artifactId>arquillian-bom</artifactId> |
| 37 | <version>1.1.13.Final</version> |
| 38 | <scope>import</scope> |
| 39 | <type>pom</type> |
| 40 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 41 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 42 | <dependency> |
| 43 | <groupId>org.jboss.spec</groupId> |
| 44 | <artifactId>jboss-javaee-6.0</artifactId> |
| 45 | <version>3.0.2.Final</version> |
| 46 | <type>pom</type> |
| 47 | <scope>import</scope> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 48 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 49 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 50 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 51 | </dependencies> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 52 | |
| 53 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 54 | </dependencyManagement> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 55 | |
| 56 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 57 | <dependencies> |
| 58 | <!-- For testing --> |
| 59 | <dependency> |
| 60 | <groupId>org.jboss.marshalling</groupId> |
| 61 | <artifactId>jboss-marshalling</artifactId> |
| 62 | <version>1.3.16.GA</version> |
| 63 | <scope>test</scope> |
| 64 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 65 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 66 | <dependency> |
| 67 | <groupId>org.jboss.arquillian.junit</groupId> |
| 68 | <artifactId>arquillian-junit-container</artifactId> |
| 69 | <scope>test</scope> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 70 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 71 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 72 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 73 | <dependency> |
| 74 | <groupId>org.wildfly.arquillian</groupId> |
| 75 | <artifactId>wildfly-arquillian-container-remote</artifactId> |
| 76 | <version>1.1.0.Final</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 79 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.jboss.remoting</groupId> |
| 82 | <artifactId>jboss-remoting</artifactId> |
| 83 | <version>4.0.9.Final</version> |
| 84 | <scope>test</scope> |
| 85 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 86 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 87 | <dependency> |
| 88 | <groupId>org.jboss.logging</groupId> |
| 89 | <artifactId>jboss-logging</artifactId> |
| 90 | <version>3.2.1.Final</version> |
| 91 | <scope>test</scope> |
| 92 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 93 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 94 | <dependency> |
| 95 | <groupId>org.jboss.arquillian.protocol</groupId> |
| 96 | <artifactId>arquillian-protocol-servlet</artifactId> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 99 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 100 | <dependency> |
| 101 | <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| 102 | <artifactId>shrinkwrap-resolver-impl-maven</artifactId> |
| 103 | <version>2.2.6</version> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 106 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 107 | <!-- FOR DOCKER CONTROLLED BY ARQUILLIAN --> |
| 108 | <dependency> |
| 109 | <groupId>org.arquillian.cube</groupId> |
| 110 | <artifactId>arquillian-cube-docker</artifactId> |
| 111 | <version>1.9.0</version> |
| 112 | <scope>test</scope> |
| 113 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 114 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 115 | <!-- For testing --> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 116 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 117 | <!-- FOR JBOSS CODE --> |
| 118 | <dependency> |
| 119 | <groupId>org.hibernate</groupId> |
| 120 | <artifactId>hibernate-core</artifactId> |
| 121 | <version>4.2.7.SP1</version> |
| 122 | <scope>test</scope> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.hibernate</groupId> |
| 126 | <artifactId>hibernate-entitymanager</artifactId> |
| 127 | <version>4.2.7.SP1</version> |
| 128 | <scope>test</scope> |
| 129 | </dependency> |
| 130 | |
| 131 | <dependency> |
| 132 | <groupId>javax.validation</groupId> |
| 133 | <artifactId>validation-api</artifactId> |
| 134 | <version>1.0.0.GA</version> |
| 135 | <scope>test</scope> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.jboss.as</groupId> |
| 139 | <artifactId>jboss-as-ejb3</artifactId> |
| 140 | <version>7.2.0.Final</version> |
| 141 | <scope>test</scope> |
| 142 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 143 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 144 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 145 | <dependency> |
| 146 | <groupId>com.smartbear.soapui</groupId> |
| 147 | <artifactId>soapui</artifactId> |
| 148 | <version>5.1.0</version> |
| 149 | <type>jar</type> |
| 150 | <scope>test</scope> |
| 151 | <exclusions> |
| 152 | <exclusion> |
| 153 | <groupId>thoughtworks</groupId> |
| 154 | <artifactId>xstream</artifactId> |
| 155 | </exclusion> |
| 156 | <exclusion> |
| 157 | <groupId>gnu.cajo</groupId> |
| 158 | <artifactId>cajo</artifactId> |
| 159 | </exclusion> |
| 160 | </exclusions> |
| 161 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 162 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 163 | <dependency> |
| 164 | <groupId>commons-codec</groupId> |
| 165 | <artifactId>commons-codec</artifactId> |
| 166 | <version>1.4</version> |
| 167 | <type>jar</type> |
| 168 | <scope>test</scope> |
| 169 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 170 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 171 | <dependency> |
| 172 | <groupId>org.seleniumhq.selenium</groupId> |
| 173 | <artifactId>selenium-java</artifactId> |
| 174 | <version>2.45.0</version> |
| 175 | <scope>test</scope> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>org.seleniumhq.selenium</groupId> |
| 179 | <artifactId>selenium-firefox-driver</artifactId> |
| 180 | <version>2.45.0</version> |
| 181 | <scope>test</scope> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>org.seleniumhq.selenium</groupId> |
| 185 | <artifactId>selenium-server</artifactId> |
| 186 | <version>2.45.0</version> |
| 187 | <scope>test</scope> |
| 188 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 189 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 190 | <dependency> |
| 191 | <groupId>org.apache.httpcomponents</groupId> |
| 192 | <artifactId>httpclient</artifactId> |
| 193 | </dependency> |
| 194 | <dependency> |
| 195 | <groupId>org.apache.httpcomponents</groupId> |
| 196 | <artifactId>httpcore</artifactId> |
| 197 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 198 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 199 | <dependency> |
Arthur Martella | 22e015f | 2018-02-22 14:24:40 -0500 | [diff] [blame] | 200 | <groupId>org.onap.so</groupId> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 201 | <artifactId>asdc-controller</artifactId> |
| 202 | <version>${project.version}</version> |
| 203 | <scope>test</scope> |
| 204 | <classifier>classes</classifier> |
| 205 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 206 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 207 | <dependency> |
Rob Daugherty | b4473da | 2018-03-27 14:32:11 -0400 | [diff] [blame] | 208 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 209 | <artifactId>sdc-distribution-client</artifactId> |
Rob Daugherty | b4473da | 2018-03-27 14:32:11 -0400 | [diff] [blame] | 210 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 211 | <scope>test</scope> |
| 212 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 213 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 214 | <dependency> |
Arthur Martella | 22e015f | 2018-02-22 14:24:40 -0500 | [diff] [blame] | 215 | <groupId>org.onap.so</groupId> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 216 | <artifactId>mso-catalog-db</artifactId> |
| 217 | <version>${project.version}</version> |
| 218 | <scope>test</scope> |
| 219 | </dependency> |
| 220 | <!-- FOR JMETER --> |
| 221 | <dependency> |
| 222 | <groupId>org.apache.jmeter</groupId> |
| 223 | <artifactId>ApacheJMeter_core</artifactId> |
| 224 | <version>2.13</version> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 225 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 226 | <scope>test</scope> |
| 227 | <exclusions> |
| 228 | <exclusion> |
| 229 | <artifactId>commons-math3</artifactId> |
| 230 | <groupId>commons-math3</groupId> |
| 231 | </exclusion> |
| 232 | <exclusion> |
| 233 | <artifactId>commons-pool2</artifactId> |
| 234 | <groupId>commons-pool2</groupId> |
| 235 | </exclusion> |
| 236 | </exclusions> |
| 237 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 238 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 239 | <dependency> |
| 240 | <groupId>org.apache.jmeter</groupId> |
| 241 | <artifactId>ApacheJMeter_http</artifactId> |
| 242 | <version>2.13</version> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 243 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 244 | <scope>test</scope> |
| 245 | <exclusions> |
| 246 | <exclusion> |
| 247 | <artifactId>commons-math3</artifactId> |
| 248 | <groupId>commons-math3</groupId> |
| 249 | </exclusion> |
| 250 | <exclusion> |
| 251 | <artifactId>commons-pool2</artifactId> |
| 252 | <groupId>commons-pool2</groupId> |
| 253 | </exclusion> |
| 254 | </exclusions> |
| 255 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 256 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 257 | <dependency> |
| 258 | <groupId>org.apache.jmeter</groupId> |
| 259 | <artifactId>ApacheJMeter_jdbc</artifactId> |
| 260 | <version>2.13</version> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 261 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 262 | <scope>test</scope> |
| 263 | <exclusions> |
| 264 | <exclusion> |
| 265 | <artifactId>commons-math3</artifactId> |
| 266 | <groupId>commons-math3</groupId> |
| 267 | </exclusion> |
| 268 | <exclusion> |
| 269 | <artifactId>commons-pool2</artifactId> |
| 270 | <groupId>commons-pool2</groupId> |
| 271 | </exclusion> |
| 272 | </exclusions> |
| 273 | </dependency> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 274 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 275 | <!-- END FOR JMETER --> |
| 276 | </dependencies> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 277 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 278 | <build> |
| 279 | <finalName>arquillian-tests</finalName> |
| 280 | <plugins> |
| 281 | <plugin> |
| 282 | <groupId>org.codehaus.groovy.maven</groupId> |
| 283 | <artifactId>gmaven-plugin</artifactId> |
Rob Daugherty | b4473da | 2018-03-27 14:32:11 -0400 | [diff] [blame] | 284 | <version>1.0</version> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 285 | <executions> |
| 286 | <execution> |
| 287 | <phase>generate-resources</phase> |
| 288 | <goals> |
| 289 | <goal>execute</goal> |
| 290 | </goals> |
| 291 | <configuration> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 292 | <source> |
| 293 | if ( project.properties['docker.host'] != null ) { |
| 294 | project.properties['docker.host.truncated']=project.properties['docker.host'].replaceFirst("^(http://|https://)",""); |
| 295 | int indexPort = project.properties['docker.host.truncated'].indexOf(":"); |
| 296 | project.properties['docker.host.truncated']=project.properties['docker.host.truncated'].substring(0,indexPort); |
| 297 | println 'docker.host.truncated:'+ project.properties['docker.host.truncated']; |
| 298 | } else { |
| 299 | project.properties['docker.host.truncated']="127.0.0.1"; |
| 300 | project.properties['docker.host']="unix:///var/run/docker.sock" |
| 301 | } |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 302 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 303 | if ( project.properties['mso.project.version'].endsWith("-SNAPSHOT") ) { |
| 304 | project.properties['mso.version']="latest"; |
| 305 | } else { |
| 306 | project.properties['mso.version']=project.properties['mso.project.version']; |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 307 | } |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 308 | </source> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 309 | </configuration> |
| 310 | </execution> |
| 311 | </executions> |
| 312 | </plugin> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 313 | |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 314 | |
seshukm | d5e7ab8 | 2017-11-03 18:34:29 +0530 | [diff] [blame] | 315 | <!-- <plugin> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 316 | <groupId>org.codehaus.mojo</groupId> |
| 317 | <artifactId>wagon-maven-plugin</artifactId> |
| 318 | <version>1.0</version> |
| 319 | <executions> |
| 320 | <execution> |
| 321 | <id>download-mariadb-connector</id> |
| 322 | <phase>pre-integration-test</phase> |
| 323 | <goals> |
| 324 | <goal>download-single</goal> |
| 325 | </goals> |
| 326 | <configuration> |
| 327 | <url>http://central.maven.org/</url> |
| 328 | <fromFile>maven2/org/mariadb/jdbc/mariadb-java-client/1.5.4/mariadb-java-client-1.5.4.jar</fromFile> |
| 329 | <toDir>${project.build.directory}/mariadb-connector</toDir> |
| 330 | </configuration> |
| 331 | </execution> |
| 332 | </executions> |
seshukm | d5e7ab8 | 2017-11-03 18:34:29 +0530 | [diff] [blame] | 333 | </plugin> --> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 334 | <plugin> |
| 335 | <groupId>org.apache.maven.plugins</groupId> |
| 336 | <artifactId>maven-failsafe-plugin</artifactId> |
| 337 | <version>2.16</version> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 338 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 339 | <executions> |
| 340 | <execution> |
| 341 | <goals> |
| 342 | <goal>integration-test</goal> |
| 343 | <goal>verify</goal> |
| 344 | </goals> |
| 345 | <configuration> |
| 346 | <skipAfterFailureCount>1</skipAfterFailureCount> |
| 347 | </configuration> |
| 348 | </execution> |
| 349 | </executions> |
xg353y | 2136b61 | 2017-02-14 11:44:27 +0100 | [diff] [blame] | 350 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 351 | <configuration> |
| 352 | <systemPropertyVariables> |
| 353 | <arquillian.launch>${container-to-start}</arquillian.launch> |
| 354 | <target.folder>${project.build.directory}</target.folder> |
| 355 | <docker.url>${docker.host}</docker.url> |
| 356 | <docker.hostname>${docker.host.truncated}</docker.hostname> |
| 357 | <images.version>${mso.version}</images.version> |
| 358 | </systemPropertyVariables> |
| 359 | <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
| 360 | <testFailureIgnore>true</testFailureIgnore> |
| 361 | <includes> |
| 362 | <include>${it-suite-to-execute}</include> |
| 363 | </includes> |
| 364 | </configuration> |
| 365 | </plugin> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 366 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 367 | <plugin> |
| 368 | <groupId>org.apache.maven.plugins</groupId> |
| 369 | <artifactId>maven-surefire-plugin</artifactId> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 370 | |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 371 | <configuration> |
| 372 | <skipTests>true</skipTests> |
| 373 | </configuration> |
| 374 | </plugin> |
| 375 | </plugins> |
Rob Daugherty | 38f7207 | 2018-03-14 02:07:32 -0400 | [diff] [blame] | 376 | <pluginManagement> |
| 377 | <plugins> |
| 378 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 379 | <!-- Added to ensure that eclipse doesn't complain about executing gmaven during the generate-resources phase of the build. --> |
| 380 | <plugin> |
| 381 | <groupId>org.eclipse.m2e</groupId> |
| 382 | <artifactId>lifecycle-mapping</artifactId> |
| 383 | <version>1.0.0</version> |
| 384 | <configuration> |
| 385 | <lifecycleMappingMetadata> |
| 386 | <pluginExecutions> |
| 387 | <pluginExecution> |
| 388 | <pluginExecutionFilter> |
| 389 | <groupId> |
| 390 | org.codehaus.groovy.maven |
| 391 | </groupId> |
| 392 | <artifactId> |
| 393 | gmaven-plugin |
| 394 | </artifactId> |
| 395 | <versionRange>[1.0,)</versionRange> |
| 396 | <goals> |
| 397 | <goal>execute</goal> |
| 398 | </goals> |
| 399 | </pluginExecutionFilter> |
| 400 | <action> |
| 401 | <ignore></ignore> |
| 402 | </action> |
| 403 | </pluginExecution> |
| 404 | </pluginExecutions> |
| 405 | </lifecycleMappingMetadata> |
| 406 | </configuration> |
| 407 | </plugin> |
| 408 | </plugins> |
| 409 | </pluginManagement> |
Determe, Sebastien (sd378r) | 5c53fcf | 2017-10-02 13:09:14 +0200 | [diff] [blame] | 410 | </build> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 411 | |
| 412 | </project> |