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