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