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