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