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