Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
shrikantawachar | 0ebace5 | 2018-04-09 13:03:56 +0530 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 3 | |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
| 6 | <artifactId>ui-ci</artifactId> |
| 7 | <description>Selenium tests for the SDnC Application</description> |
| 8 | |
| 9 | <parent> |
| 10 | <groupId>org.openecomp.sdc</groupId> |
| 11 | <artifactId>sdc-main</artifactId> |
Michael Lando | d8a0dea | 2018-06-02 19:23:27 +0300 | [diff] [blame] | 12 | <version>1.3.0-SNAPSHOT</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 13 | </parent> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 14 | |
Michael Lando | 660b57d | 2017-10-11 09:45:53 +0300 | [diff] [blame] | 15 | <properties> |
Gitelman, Tal (tg851x) | e482ae4 | 2018-03-11 19:37:06 +0200 | [diff] [blame] | 16 | <sonar.skip>true</sonar.skip> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 17 | <jacoco.skip>true</jacoco.skip> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 18 | <aspectj.version>1.8.10</aspectj.version> |
Michael Lando | 660b57d | 2017-10-11 09:45:53 +0300 | [diff] [blame] | 19 | </properties> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 20 | |
| 21 | <dependencies> |
| 22 | <dependency> |
| 23 | <groupId>com.google.guava</groupId> |
| 24 | <artifactId>guava</artifactId> |
| 25 | <version>${guava.version}</version> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 26 | <!-- <version>21.0</version> --> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 27 | <scope>compile</scope> |
| 28 | </dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 29 | |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 30 | <dependency> |
| 31 | <groupId>org.seleniumhq.selenium</groupId> |
| 32 | <artifactId>selenium-java</artifactId> |
| 33 | <version>2.53.1</version> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 34 | <!-- <version>3.4.0</version> --> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 35 | </dependency> |
| 36 | |
| 37 | <dependency> |
| 38 | <groupId>org.seleniumhq.selenium</groupId> |
| 39 | <artifactId>selenium-server</artifactId> |
| 40 | <version>2.53.1</version> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 41 | <!-- <version>3.4.0</version> --> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 42 | <scope>runtime</scope> |
| 43 | </dependency> |
| 44 | |
| 45 | <dependency> |
| 46 | <groupId>commons-net</groupId> |
| 47 | <artifactId>commons-net</artifactId> |
| 48 | <version>3.3</version> |
| 49 | <scope>compile</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
| 53 | <groupId>commons-io</groupId> |
| 54 | <artifactId>commons-io</artifactId> |
| 55 | <version>2.4</version> |
| 56 | <scope>compile</scope> |
| 57 | </dependency> |
| 58 | |
| 59 | <dependency> |
| 60 | <groupId>org.openecomp.sdc</groupId> |
| 61 | <artifactId>test-apis-ci</artifactId> |
| 62 | <version>${project.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 63 | <scope>compile</scope> |
| 64 | </dependency> |
| 65 | |
| 66 | <dependency> |
| 67 | <groupId>org.yaml</groupId> |
| 68 | <artifactId>snakeyaml</artifactId> |
| 69 | <version>${snakeyaml.version}</version> |
| 70 | <scope>compile</scope> |
| 71 | </dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 72 | <dependency> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 73 | <groupId>org.functionaljava</groupId> |
| 74 | <artifactId>functionaljava</artifactId> |
| 75 | <version>${functionaljava.version}</version> |
| 76 | <scope>compile</scope> |
| 77 | </dependency> |
| 78 | |
| 79 | <dependency> |
| 80 | <groupId>com.google.code.gson</groupId> |
| 81 | <artifactId>gson</artifactId> |
| 82 | <version>${gson.version}</version> |
| 83 | <scope>compile</scope> |
| 84 | </dependency> |
| 85 | |
| 86 | <!-- http client --> |
| 87 | <dependency> |
| 88 | <groupId>org.apache.httpcomponents</groupId> |
| 89 | <artifactId>httpclient</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 90 | <version>${httpclient.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 91 | <scope>compile</scope> |
| 92 | </dependency> |
| 93 | |
| 94 | <dependency> |
| 95 | <groupId>org.apache.httpcomponents</groupId> |
| 96 | <artifactId>httpmime</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 97 | <version>${httpclient.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 98 | <scope>compile</scope> |
| 99 | </dependency> |
| 100 | |
| 101 | <dependency> |
| 102 | <groupId>commons-logging</groupId> |
| 103 | <artifactId>commons-logging</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 104 | <version>${commons-logging}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 105 | <scope>compile</scope> |
| 106 | </dependency> |
| 107 | |
| 108 | <dependency> |
| 109 | <groupId>org.slf4j</groupId> |
| 110 | <artifactId>slf4j-api</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 111 | <version>${slf4j-api.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 112 | <scope>compile</scope> |
| 113 | </dependency> |
| 114 | |
| 115 | <dependency> |
| 116 | <groupId>ch.qos.logback</groupId> |
| 117 | <artifactId>logback-classic</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 118 | <version>${logback.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 119 | <scope>compile</scope> |
| 120 | </dependency> |
| 121 | |
| 122 | <dependency> |
| 123 | <groupId>ch.qos.logback</groupId> |
| 124 | <artifactId>logback-core</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 125 | <version>${logback.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 126 | <scope>compile</scope> |
| 127 | </dependency> |
| 128 | |
| 129 | <!-- http core --> |
| 130 | <dependency> |
| 131 | <groupId>org.apache.httpcomponents</groupId> |
| 132 | <artifactId>httpcore</artifactId> |
| 133 | <version>${httpcore.version}</version> |
| 134 | <scope>compile</scope> |
| 135 | </dependency> |
| 136 | |
| 137 | <!-- TITAN --> |
| 138 | <dependency> |
| 139 | <groupId>com.thinkaurelius.titan</groupId> |
| 140 | <artifactId>titan-core</artifactId> |
| 141 | <version>${titan.version}</version> |
| 142 | <scope>compile</scope> |
| 143 | </dependency> |
| 144 | |
| 145 | <dependency> |
Michael Lando | c7916a4 | 2018-03-20 12:11:07 +0200 | [diff] [blame] | 146 | <groupId>org.onap.sdc.sdc-titan-cassandra</groupId> |
| 147 | <artifactId>sdc-titan-cassandra</artifactId> |
| 148 | <version>${sdc.titan.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 149 | <scope>compile</scope> |
| 150 | </dependency> |
| 151 | |
| 152 | <dependency> |
| 153 | <groupId>org.codehaus.jackson</groupId> |
| 154 | <artifactId>jackson-mapper-asl</artifactId> |
| 155 | <version>1.9.2</version> |
| 156 | <scope>compile</scope> |
| 157 | </dependency> |
| 158 | |
| 159 | <dependency> |
| 160 | <groupId>com.fasterxml.jackson.core</groupId> |
| 161 | <artifactId>jackson-databind</artifactId> |
Gitelman, Tal (tg851x) | 483c3d9 | 2018-03-12 18:41:15 +0200 | [diff] [blame] | 162 | <version>${jackson.version}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 163 | <scope>compile</scope> |
| 164 | </dependency> |
| 165 | |
| 166 | <dependency> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 167 | <groupId>org.openecomp.sdc.sdc-distribution-client</groupId> |
| 168 | <artifactId>sdc-distribution-client</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 169 | <version>1.2.3</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 170 | <scope>compile</scope> |
| 171 | </dependency> |
| 172 | |
| 173 | <dependency> |
| 174 | <groupId>junit</groupId> |
| 175 | <artifactId>junit</artifactId> |
| 176 | <version>${junit.version}</version> |
| 177 | <scope>compile</scope> |
| 178 | </dependency> |
| 179 | |
| 180 | <dependency> |
| 181 | <groupId>org.testng</groupId> |
| 182 | <artifactId>testng</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 183 | <version>6.11</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 184 | <scope>compile</scope> |
| 185 | </dependency> |
| 186 | |
| 187 | <dependency> |
| 188 | <groupId>xml-apis</groupId> |
| 189 | <artifactId>xml-apis</artifactId> |
| 190 | <version>1.4.01</version> |
| 191 | <scope>compile</scope> |
| 192 | </dependency> |
| 193 | |
| 194 | <dependency> |
| 195 | <groupId>com.googlecode.json-simple</groupId> |
| 196 | <artifactId>json-simple</artifactId> |
| 197 | <version>${json-simple.version}</version> |
| 198 | <scope>compile</scope> |
| 199 | </dependency> |
| 200 | |
| 201 | <dependency> |
| 202 | <groupId>org.apache.commons</groupId> |
| 203 | <artifactId>commons-jci-core</artifactId> |
| 204 | <version>${commons-jci-core.version}</version> |
| 205 | <scope>compile</scope> |
| 206 | </dependency> |
| 207 | |
| 208 | <dependency> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 209 | <groupId>commons-codec</groupId> |
| 210 | <artifactId>commons-codec</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 211 | <version>${commons-codec}</version> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 212 | <scope>compile</scope> |
| 213 | </dependency> |
| 214 | |
| 215 | <dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 216 | <groupId>com.aventstack</groupId> |
| 217 | <artifactId>extentreports</artifactId> |
| 218 | <version>3.0.6</version> |
| 219 | <scope>compile</scope> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 220 | </dependency> |
| 221 | |
| 222 | <dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 223 | <groupId>net.lightbody.bmp</groupId> |
shrikantawachar | 0ebace5 | 2018-04-09 13:03:56 +0530 | [diff] [blame] | 224 | <!-- To use the legacy, Jetty-based implementation, change the artifactId |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 225 | to browsermob-core --> |
| 226 | <artifactId>browsermob-core</artifactId> |
| 227 | <version>2.1.4</version> |
| 228 | </dependency> |
| 229 | |
| 230 | <dependency> |
| 231 | <groupId>com.github.markusbernhardt</groupId> |
| 232 | <artifactId>proxy-vole</artifactId> |
| 233 | <version>1.0.2</version> |
| 234 | </dependency> |
| 235 | |
| 236 | <dependency> |
| 237 | <groupId>com.paulhammant</groupId> |
| 238 | <artifactId>ngwebdriver</artifactId> |
| 239 | <version>0.9.7</version> |
| 240 | <scope>compile</scope> |
| 241 | </dependency> |
| 242 | |
| 243 | <dependency> |
| 244 | <groupId>com.google.inject</groupId> |
| 245 | <artifactId>guice</artifactId> |
| 246 | <version>4.1.0</version> |
| 247 | </dependency> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 248 | |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 249 | </dependencies> |
| 250 | |
| 251 | <build> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 252 | |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 253 | <plugins> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 254 | |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 255 | <plugin> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 256 | <groupId>org.apache.maven.plugins</groupId> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 257 | <artifactId>maven-clean-plugin</artifactId> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 258 | <executions> |
| 259 | <execution> |
| 260 | <id>clean.tosca.chef.os.folder</id> |
| 261 | <phase>clean</phase> |
| 262 | <goals> |
| 263 | <goal>clean</goal> |
| 264 | </goals> |
| 265 | <configuration> |
| 266 | <filesets> |
| 267 | |
| 268 | <!-- Sanity jar --> |
| 269 | <fileset> |
| 270 | <directory>${project.basedir}/sdc-ui-tests</directory> |
| 271 | <followSymlinks>false</followSymlinks> |
| 272 | <includes> |
| 273 | <include>*.jar</include> |
| 274 | </includes> |
| 275 | </fileset> |
| 276 | <!-- Sanity test suites --> |
| 277 | <fileset> |
| 278 | <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory> |
| 279 | <followSymlinks>false</followSymlinks> |
| 280 | </fileset> |
| 281 | </filesets> |
| 282 | </configuration> |
| 283 | </execution> |
| 284 | </executions> |
| 285 | </plugin> |
| 286 | <plugin> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 287 | <groupId>org.apache.maven.plugins</groupId> |
| 288 | <artifactId>maven-deploy-plugin</artifactId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 289 | <configuration> |
| 290 | <skip>true</skip> |
| 291 | </configuration> |
| 292 | </plugin> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 293 | <plugin> |
| 294 | <groupId>org.apache.maven.plugins</groupId> |
| 295 | <artifactId>maven-assembly-plugin</artifactId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 296 | <executions> |
| 297 | <execution> |
| 298 | <id>create.jar.with.dependencies</id> |
| 299 | <phase>package</phase> |
| 300 | <goals> |
| 301 | <goal>single</goal> |
| 302 | </goals> |
| 303 | <configuration> |
| 304 | <archive> |
| 305 | <manifest> |
| 306 | <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass> |
| 307 | </manifest> |
| 308 | </archive> |
| 309 | <descriptorRefs> |
| 310 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 311 | </descriptorRefs> |
| 312 | </configuration> |
| 313 | </execution> |
| 314 | </executions> |
Yuli Shlosberg | 98369b1 | 2018-04-10 19:36:24 +0300 | [diff] [blame] | 315 | </plugin> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 316 | <plugin> |
| 317 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 318 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 319 | <executions> |
| 320 | <execution> |
| 321 | <id>validate</id> |
| 322 | <phase>validate</phase> |
| 323 | <goals> |
| 324 | <goal>validate</goal> |
| 325 | </goals> |
| 326 | <configuration> |
| 327 | <validationSets> |
| 328 | <validationSet> |
| 329 | <includes> |
| 330 | <include>src/main/resources/**/*.y*ml</include> |
| 331 | <include>src/test/resources/**/*.y*ml</include> |
| 332 | </includes> |
| 333 | </validationSet> |
| 334 | <validationSet> |
| 335 | <includes> |
| 336 | <include>src/main/resources/**/*.json</include> |
| 337 | <include>src/test/resources/**/*.json</include> |
| 338 | </includes> |
| 339 | </validationSet> |
| 340 | </validationSets> |
| 341 | </configuration> |
| 342 | </execution> |
| 343 | </executions> |
| 344 | </plugin> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 345 | </plugins> |
| 346 | </build> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 347 | <profiles> |
| 348 | <profile> |
| 349 | <id>docker</id> |
| 350 | <activation> |
| 351 | <activeByDefault>false</activeByDefault> |
| 352 | </activation> |
| 353 | <build> |
| 354 | <plugins> |
| 355 | <plugin> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 356 | <groupId>org.apache.maven.plugins</groupId> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 357 | <artifactId>maven-resources-plugin</artifactId> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 358 | <executions> |
| 359 | <execution> |
| 360 | <id>copy-tests-suites</id> |
| 361 | <phase>verify</phase> |
| 362 | <goals> |
| 363 | <goal>copy-resources</goal> |
| 364 | </goals> |
| 365 | <configuration> |
| 366 | <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory> |
| 367 | <resources> |
| 368 | <resource> |
| 369 | <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory> |
| 370 | <includes> |
| 371 | <include>*</include> |
| 372 | </includes> |
| 373 | </resource> |
| 374 | </resources> |
| 375 | </configuration> |
| 376 | </execution> |
| 377 | |
| 378 | <execution> |
Yuli Shlosberg | 1788983 | 2018-04-08 14:03:29 +0300 | [diff] [blame] | 379 | <id>copy-csar-files</id> |
| 380 | <phase>verify</phase> |
| 381 | <goals> |
| 382 | <goal>copy-resources</goal> |
| 383 | </goals> |
| 384 | <configuration> |
| 385 | <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory> |
| 386 | <resources> |
| 387 | <resource> |
| 388 | <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory> |
| 389 | <includes> |
| 390 | <include>*</include> |
| 391 | </includes> |
| 392 | </resource> |
| 393 | </resources> |
| 394 | </configuration> |
| 395 | </execution> |
| 396 | |
| 397 | <execution> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 398 | <id>copy-resources-ui-ci</id> |
| 399 | <phase>verify</phase> |
| 400 | <goals> |
| 401 | <goal>copy-resources</goal> |
| 402 | </goals> |
| 403 | <configuration> |
| 404 | <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory> |
| 405 | <resources> |
| 406 | <resource> |
| 407 | <directory>${project.parent.basedir}/ui-ci/target</directory> |
| 408 | <includes> |
| 409 | <include>ui-ci-${project.version}-jar-with-dependencies.jar</include> |
| 410 | </includes> |
| 411 | </resource> |
| 412 | </resources> |
| 413 | </configuration> |
| 414 | </execution> |
| 415 | </executions> |
| 416 | </plugin> |
| 417 | |
| 418 | <plugin> |
| 419 | <groupId>io.fabric8</groupId> |
| 420 | <artifactId>docker-maven-plugin</artifactId> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 421 | <configuration> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 422 | <apiVersion>1.23</apiVersion> |
| 423 | <registry>nexus3.onap.org:10001</registry> |
| 424 | <authConfig> |
| 425 | <pull> |
| 426 | <username>docker</username> |
| 427 | <password>docker</password> |
| 428 | </pull> |
| 429 | </authConfig> |
| 430 | <images> |
| 431 | |
| 432 | <!-- Build sanity image --> |
| 433 | <image> |
| 434 | <name>onap/sdc-ui-tests</name> |
| 435 | <alias>sdc-ui-sanity</alias> |
| 436 | <build> |
| 437 | <cleanup>try</cleanup> |
| 438 | <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir> |
| 439 | <tags> |
| 440 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 441 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 442 | </tags> |
| 443 | </build> |
| 444 | </image> |
| 445 | |
| 446 | </images> |
| 447 | </configuration> |
| 448 | <executions> |
| 449 | <execution> |
| 450 | <id>clean-images</id> |
| 451 | <phase>pre-clean</phase> |
| 452 | <goals> |
| 453 | <goal>remove</goal> |
| 454 | </goals> |
| 455 | <configuration> |
| 456 | <removeAll>true</removeAll> |
| 457 | <image>onap/sdc-ui-tests</image> |
| 458 | </configuration> |
| 459 | </execution> |
| 460 | |
| 461 | <execution> |
| 462 | <id>generate-images</id> |
| 463 | <phase>install</phase> |
| 464 | <goals> |
| 465 | <goal>build</goal> |
| 466 | </goals> |
| 467 | </execution> |
| 468 | |
| 469 | <execution> |
| 470 | <id>push-images</id> |
| 471 | <phase>deploy</phase> |
| 472 | <goals> |
| 473 | <goal>push</goal> |
| 474 | </goals> |
| 475 | <configuration> |
| 476 | <image>onap/sdc-ui-tests</image> |
| 477 | </configuration> |
| 478 | </execution> |
| 479 | </executions> |
| 480 | </plugin> |
| 481 | </plugins> |
| 482 | </build> |
| 483 | </profile> |
| 484 | </profiles> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 485 | </project> |