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