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