vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 1 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 4 | |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 5 | <modelVersion>4.0.0</modelVersion> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 6 | <artifactId>catalog-fe</artifactId> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 7 | <packaging>war</packaging> |
| 8 | |
| 9 | <parent> |
| 10 | <groupId>org.openecomp.sdc</groupId> |
| 11 | <artifactId>sdc-main</artifactId> |
| 12 | <version>1.10.0-SNAPSHOT</version> |
| 13 | </parent> |
| 14 | |
| 15 | <dependencies> |
| 16 | |
| 17 | <dependency> |
| 18 | <groupId>org.projectlombok</groupId> |
| 19 | <artifactId>lombok</artifactId> |
| 20 | <version>${lombok.version}</version> |
| 21 | </dependency> |
| 22 | |
| 23 | <dependency> |
| 24 | <groupId>org.functionaljava</groupId> |
| 25 | <artifactId>functionaljava</artifactId> |
| 26 | <version>${functionaljava.version}</version> |
| 27 | <scope>compile</scope> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.onap.sdc.common</groupId> |
| 31 | <artifactId>onap-configuration-management-api</artifactId> |
| 32 | <version>${project.version}</version> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.openecomp.sdc</groupId> |
| 36 | <artifactId>common-app-api</artifactId> |
| 37 | <version>${project.version}</version> |
| 38 | </dependency> |
| 39 | |
| 40 | <!-- File changes listener --> |
| 41 | <dependency> |
| 42 | <groupId>ch.qos.logback</groupId> |
| 43 | <artifactId>logback-classic</artifactId> |
| 44 | <version>${logback.version}</version> |
| 45 | <scope>compile</scope> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
| 49 | <groupId>org.codehaus.groovy</groupId> |
| 50 | <artifactId>groovy</artifactId> |
| 51 | <scope>compile</scope> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
| 55 | <groupId>org.codehaus.janino</groupId> |
| 56 | <artifactId>janino</artifactId> |
| 57 | <version>${janino.version}</version> |
| 58 | <scope>compile</scope> |
| 59 | </dependency> |
| 60 | |
| 61 | <dependency> |
| 62 | <groupId>org.yaml</groupId> |
| 63 | <artifactId>snakeyaml</artifactId> |
| 64 | <version>${snakeyaml.version}</version> |
| 65 | <scope>compile</scope> |
| 66 | </dependency> |
| 67 | |
| 68 | <dependency> |
| 69 | <groupId>org.apache.commons</groupId> |
| 70 | <artifactId>commons-jci-core</artifactId> |
| 71 | <version>${commons-jci-core.version}</version> |
| 72 | <scope>compile</scope> |
| 73 | <exclusions> |
| 74 | <exclusion> |
| 75 | <groupId>commons-io</groupId> |
| 76 | <artifactId>commons-io</artifactId> |
| 77 | </exclusion> |
| 78 | </exclusions> |
| 79 | </dependency> |
| 80 | |
| 81 | <dependency> |
| 82 | <groupId>com.google.code.gson</groupId> |
| 83 | <artifactId>gson</artifactId> |
| 84 | <version>${gson.version}</version> |
| 85 | <scope>compile</scope> |
| 86 | </dependency> |
| 87 | |
| 88 | <dependency> |
| 89 | <groupId>org.glassfish.jersey.containers</groupId> |
| 90 | <artifactId>jersey-container-servlet</artifactId> |
| 91 | <version>${jersey-bom.version}</version> |
| 92 | <scope>compile</scope> |
| 93 | </dependency> |
| 94 | |
| 95 | <dependency> |
| 96 | <groupId>org.glassfish.jersey.media</groupId> |
| 97 | <artifactId>jersey-media-multipart</artifactId> |
| 98 | <version>${jersey-bom.version}</version> |
| 99 | <scope>compile</scope> |
| 100 | </dependency> |
| 101 | |
| 102 | <dependency> |
| 103 | <groupId>org.glassfish.jersey.media</groupId> |
| 104 | <artifactId>jersey-media-moxy</artifactId> |
| 105 | <version>${jersey-bom.version}</version> |
| 106 | <scope>compile</scope> |
| 107 | </dependency> |
| 108 | |
| 109 | |
| 110 | <dependency> |
| 111 | <groupId>org.glassfish.jersey.media</groupId> |
| 112 | <artifactId>jersey-media-json-jackson</artifactId> |
| 113 | <version>${jersey-bom.version}</version> |
| 114 | <scope>compile</scope> |
| 115 | </dependency> |
| 116 | |
| 117 | <dependency> |
| 118 | <groupId>org.glassfish.jersey.inject</groupId> |
| 119 | <artifactId>jersey-hk2</artifactId> |
| 120 | <version>${jersey-bom.version}</version> |
| 121 | </dependency> |
| 122 | |
| 123 | <dependency> |
| 124 | <groupId>com.fasterxml.jackson.core</groupId> |
| 125 | <artifactId>jackson-core</artifactId> |
| 126 | <version>${jackson.version}</version> |
| 127 | <scope>compile</scope> |
| 128 | </dependency> |
| 129 | |
| 130 | <dependency> |
| 131 | <groupId>com.fasterxml.jackson.core</groupId> |
| 132 | <artifactId>jackson-databind</artifactId> |
| 133 | <version>${jackson.version}</version> |
| 134 | <exclusions> |
| 135 | <exclusion> |
| 136 | <groupId>com.fasterxml.jackson.core</groupId> |
| 137 | <artifactId>jackson-core</artifactId> |
| 138 | </exclusion> |
| 139 | </exclusions> |
| 140 | </dependency> |
| 141 | |
| 142 | <dependency> |
| 143 | <groupId>com.fasterxml.jackson.core</groupId> |
| 144 | <artifactId>jackson-annotations</artifactId> |
| 145 | <version>${jackson-annotations.version}</version> |
| 146 | <scope>compile</scope> |
| 147 | </dependency> |
| 148 | |
| 149 | <!-- http client --> |
| 150 | <dependency> |
| 151 | <groupId>org.apache.httpcomponents</groupId> |
| 152 | <artifactId>httpclient</artifactId> |
| 153 | <version>${httpclient.version}</version> |
| 154 | <scope>compile</scope> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>org.apache.httpcomponents</groupId> |
| 159 | <artifactId>httpcore</artifactId> |
| 160 | <version>${httpcore.version}</version> |
| 161 | <scope>compile</scope> |
| 162 | </dependency> |
| 163 | |
| 164 | <dependency> |
| 165 | <groupId>org.apache.httpcomponents</groupId> |
| 166 | <artifactId>httpmime</artifactId> |
| 167 | <version>${httpclient.version}</version> |
| 168 | <scope>compile</scope> |
| 169 | </dependency> |
| 170 | |
| 171 | <dependency> |
| 172 | <groupId>commons-logging</groupId> |
| 173 | <artifactId>commons-logging</artifactId> |
| 174 | <version>${commons-logging}</version> |
| 175 | <scope>compile</scope> |
| 176 | </dependency> |
| 177 | |
| 178 | <dependency> |
| 179 | <groupId>commons-codec</groupId> |
| 180 | <artifactId>commons-codec</artifactId> |
| 181 | <version>${commons-codec}</version> |
| 182 | <scope>compile</scope> |
| 183 | </dependency> |
| 184 | <!-- http client END --> |
| 185 | |
| 186 | <dependency> |
| 187 | <groupId>javax.servlet</groupId> |
| 188 | <artifactId>javax.servlet-api</artifactId> |
| 189 | <version>${servlet-api.version}</version> |
| 190 | <scope>provided</scope> |
| 191 | </dependency> |
| 192 | |
| 193 | <!-- JSON and YAML Parsing --> |
| 194 | <dependency> |
| 195 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 196 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 197 | <version>${jackson.version}</version> |
| 198 | <scope>compile</scope> |
| 199 | </dependency> |
| 200 | |
| 201 | <!-- Jetty Proxy --> |
| 202 | <dependency> |
| 203 | <groupId>org.eclipse.jetty</groupId> |
| 204 | <artifactId>jetty-proxy</artifactId> |
| 205 | <version>${jetty.version}</version> |
| 206 | <scope>compile</scope> |
| 207 | <exclusions> |
| 208 | <exclusion> |
| 209 | <groupId>org.eclipse.jetty</groupId> |
| 210 | <artifactId>jetty-http</artifactId> |
| 211 | </exclusion> |
| 212 | </exclusions> |
| 213 | </dependency> |
| 214 | |
| 215 | <dependency> |
| 216 | <groupId>org.eclipse.jetty</groupId> |
| 217 | <artifactId>jetty-servlets</artifactId> |
| 218 | <version>${jetty.version}</version> |
| 219 | <scope>compile</scope> |
| 220 | <exclusions> |
| 221 | <exclusion> |
| 222 | <groupId>org.eclipse.jetty</groupId> |
| 223 | <artifactId>jetty-http</artifactId> |
| 224 | </exclusion> |
| 225 | </exclusions> |
| 226 | </dependency> |
| 227 | |
| 228 | <!-- Proxy servlet --> |
| 229 | <dependency> |
| 230 | <groupId>com.google.guava</groupId> |
| 231 | <artifactId>guava</artifactId> |
| 232 | <version>${guava.version}</version> |
| 233 | <scope>compile</scope> |
| 234 | </dependency> |
| 235 | |
| 236 | <!-- Aspects --> |
| 237 | <dependency> |
| 238 | <groupId>com.jcabi</groupId> |
| 239 | <artifactId>jcabi-aspects</artifactId> |
| 240 | <version>${jcabi.version}</version> |
| 241 | <scope>compile</scope> |
| 242 | </dependency> |
| 243 | <dependency> |
| 244 | <groupId>org.aspectj</groupId> |
| 245 | <artifactId>aspectjrt</artifactId> |
| 246 | <version>${aspectjrt.version}</version> |
| 247 | <scope>compile</scope> |
| 248 | </dependency> |
| 249 | |
| 250 | <dependency> |
| 251 | <groupId>org.apache.commons</groupId> |
| 252 | <artifactId>commons-lang3</artifactId> |
| 253 | <version>${lang3.version}</version> |
| 254 | <scope>compile</scope> |
| 255 | </dependency> |
| 256 | |
| 257 | <dependency> |
| 258 | <groupId>javax.xml.bind</groupId> |
| 259 | <artifactId>jaxb-api</artifactId> |
| 260 | <version>${jaxb-api.version}</version> |
| 261 | <scope>compile</scope> |
| 262 | </dependency> |
| 263 | <dependency> |
| 264 | <groupId>org.hibernate.validator</groupId> |
| 265 | <artifactId>hibernate-validator</artifactId> |
| 266 | <version>${hibernate.validator.version}</version> |
| 267 | </dependency> |
| 268 | |
| 269 | <!-- Inserted for ECOMP Portal Integration --> |
| 270 | <dependency> |
| 271 | <groupId>org.owasp.esapi</groupId> |
| 272 | <artifactId>esapi</artifactId> |
| 273 | <version>${org.owasp.esapi.version}</version> |
| 274 | <exclusions> |
| 275 | <exclusion> |
| 276 | <groupId>log4j</groupId> |
| 277 | <artifactId>log4j</artifactId> |
| 278 | </exclusion> |
| 279 | <exclusion> |
| 280 | <groupId>commons-io</groupId> |
| 281 | <artifactId>commons-io</artifactId> |
| 282 | </exclusion> |
| 283 | <exclusion> |
| 284 | <groupId>commons-fileupload</groupId> |
| 285 | <artifactId>commons-fileupload</artifactId> |
| 286 | </exclusion> |
| 287 | <exclusion> |
| 288 | <groupId>org.apache.xmlgraphics</groupId> |
| 289 | <artifactId>xmlgraphics-commons</artifactId> |
| 290 | </exclusion> |
| 291 | <exclusion> |
| 292 | <groupId>xml-apis</groupId> |
| 293 | <artifactId>xml-apis-ext</artifactId> |
| 294 | </exclusion> |
| 295 | <exclusion> |
| 296 | <groupId>xml-apis</groupId> |
| 297 | <artifactId>xml-apis</artifactId> |
| 298 | </exclusion> |
| 299 | </exclusions> |
| 300 | </dependency> |
| 301 | <dependency> |
| 302 | <groupId>org.onap.portal.sdk</groupId> |
| 303 | <artifactId>epsdk-fw</artifactId> |
| 304 | <version>${ecomp.version}</version> |
| 305 | <scope>compile</scope> |
| 306 | <exclusions> |
| 307 | <exclusion> |
| 308 | <groupId>com.att.nsa</groupId> |
| 309 | <artifactId>cambriaClient</artifactId> |
| 310 | </exclusion> |
| 311 | <exclusion> |
| 312 | <artifactId>slf4j-log4j12</artifactId> |
| 313 | <groupId>org.slf4j</groupId> |
| 314 | </exclusion> |
| 315 | <exclusion> |
| 316 | <artifactId>log4j</artifactId> |
| 317 | <groupId>log4j</groupId> |
| 318 | </exclusion> |
| 319 | </exclusions> |
| 320 | </dependency> |
| 321 | <!-- System metrics --> |
| 322 | <dependency> |
| 323 | <groupId>org.fusesource</groupId> |
| 324 | <artifactId>sigar</artifactId> |
| 325 | <version>${sigar.version}</version> |
| 326 | <scope>compile</scope> |
| 327 | <exclusions> |
| 328 | <exclusion> |
| 329 | <groupId>log4j</groupId> |
| 330 | <artifactId>log4j</artifactId> |
| 331 | </exclusion> |
| 332 | </exclusions> |
| 333 | </dependency> |
| 334 | |
| 335 | <!-- TEST --> |
| 336 | <dependency> |
| 337 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 338 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 339 | <version>${jersey-bom.version}</version> |
| 340 | <type>pom</type> |
| 341 | <scope>test</scope> |
| 342 | <exclusions> |
| 343 | <exclusion> |
| 344 | <groupId>org.eclipse.jetty</groupId> |
| 345 | <artifactId>jetty-server</artifactId> |
| 346 | </exclusion> |
| 347 | <exclusion> |
| 348 | <groupId>org.eclipse.jetty</groupId> |
| 349 | <artifactId>jetty-continuation</artifactId> |
| 350 | </exclusion> |
| 351 | </exclusions> |
| 352 | </dependency> |
| 353 | |
| 354 | <dependency> |
| 355 | <groupId>com.google.code.bean-matchers</groupId> |
| 356 | <artifactId>bean-matchers</artifactId> |
| 357 | <version>${bean-matchers.version}</version> |
| 358 | <scope>test</scope> |
| 359 | </dependency> |
| 360 | |
| 361 | <dependency> |
| 362 | <groupId>org.eclipse.jetty</groupId> |
| 363 | <artifactId>jetty-servlet</artifactId> |
| 364 | <version>${jetty.version}</version> |
| 365 | <scope>test</scope> |
| 366 | <exclusions> |
| 367 | <exclusion> |
| 368 | <groupId>org.eclipse.jetty</groupId> |
| 369 | <artifactId>jetty-server</artifactId> |
| 370 | </exclusion> |
| 371 | <exclusion> |
| 372 | <groupId>org.eclipse.jetty</groupId> |
| 373 | <artifactId>jetty-security</artifactId> |
| 374 | </exclusion> |
| 375 | </exclusions> |
| 376 | </dependency> |
| 377 | |
| 378 | <dependency> |
| 379 | <groupId>org.eclipse.jetty</groupId> |
| 380 | <artifactId>jetty-webapp</artifactId> |
| 381 | <version>${jetty.version}</version> |
| 382 | <scope>test</scope> |
| 383 | <exclusions> |
| 384 | <exclusion> |
| 385 | <groupId>org.eclipse.jetty</groupId> |
| 386 | <artifactId>jetty-servlet</artifactId> |
| 387 | </exclusion> |
| 388 | </exclusions> |
| 389 | </dependency> |
| 390 | <dependency> |
| 391 | <groupId>org.eclipse.jetty</groupId> |
| 392 | <artifactId>jetty-http</artifactId> |
| 393 | <version>${jetty.version}</version> |
| 394 | </dependency> |
| 395 | <dependency> |
| 396 | <groupId>javax.ws.rs</groupId> |
| 397 | <artifactId>javax.ws.rs-api</artifactId> |
| 398 | <version>${ws.rs.version}</version> |
| 399 | <scope>compile</scope> |
| 400 | </dependency> |
| 401 | |
| 402 | <dependency> |
| 403 | <groupId>javax.validation</groupId> |
| 404 | <artifactId>validation-api</artifactId> |
| 405 | <version>${javax.validation.version}</version> |
| 406 | </dependency> |
| 407 | </dependencies> |
| 408 | |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 409 | <build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 410 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 411 | <finalName>${project.artifactId}-${project.version}</finalName> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 412 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 413 | <plugins> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 414 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 415 | <groupId>org.apache.maven.plugins</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 416 | <artifactId>maven-war-plugin</artifactId> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 417 | <configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 418 | <archive> |
| 419 | <manifest> |
| 420 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 421 | </manifest> |
| 422 | </archive> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 423 | |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 424 | <webResources> |
| 425 | <resource> |
| 426 | <directory>src/main/resources</directory> |
| 427 | </resource> |
| 428 | </webResources> |
| 429 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 430 | </plugin> |
| 431 | |
| 432 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 433 | <groupId>org.eclipse.jetty</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 434 | <artifactId>jetty-maven-plugin</artifactId> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 435 | <version>${jetty.version}</version> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 436 | <configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 437 | <webApp> |
| 438 | <contextPath>/</contextPath> |
| 439 | <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern> |
| 440 | </webApp> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 441 | <war>${project.build.directory}/${project.build.finalName}.war</war> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 442 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 443 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 444 | |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 445 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 446 | <groupId>org.apache.maven.plugins</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 447 | <artifactId>maven-deploy-plugin</artifactId> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 448 | <configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 449 | <skip>true</skip> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 450 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 451 | </plugin> |
| 452 | |
| 453 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 454 | <!-- jcabi (log injection) --> |
| 455 | <groupId>com.jcabi</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 456 | <artifactId>jcabi-maven-plugin</artifactId> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 457 | <version>${jcabi.maven.plugin.version}</version> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 458 | <dependencies> |
| 459 | <dependency> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 460 | <groupId>org.aspectj</groupId> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 461 | <artifactId>aspectjtools</artifactId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 462 | <version>${aspectj.version}</version> |
| 463 | </dependency> |
| 464 | <dependency> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 465 | <groupId>org.aspectj</groupId> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 466 | <artifactId>aspectjweaver</artifactId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 467 | <version>${aspectj.version}</version> |
| 468 | </dependency> |
| 469 | </dependencies> |
| 470 | <executions> |
| 471 | <execution> |
| 472 | <goals> |
| 473 | <goal>ajc</goal> |
| 474 | </goals> |
| 475 | </execution> |
| 476 | </executions> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 477 | </plugin> |
| 478 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 479 | <groupId>org.apache.maven.plugins</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 480 | <artifactId>maven-clean-plugin</artifactId> |
| 481 | <executions> |
| 482 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 483 | <id>clean.catalog.fe.folder</id> |
| 484 | <phase>clean</phase> |
| 485 | <goals> |
| 486 | <goal>clean</goal> |
| 487 | </goals> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 488 | <configuration> |
| 489 | <filesets> |
| 490 | <!-- FE WAR's --> |
| 491 | <fileset> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 492 | <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 493 | <followSymlinks>false</followSymlinks> |
| 494 | <includes> |
| 495 | <include>*.war</include> |
| 496 | </includes> |
| 497 | </fileset> |
| 498 | </filesets> |
| 499 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 500 | </execution> |
| 501 | </executions> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 502 | </plugin> |
| 503 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 504 | <groupId>com.github.sylvainlaurent.maven</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 505 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 506 | <executions> |
| 507 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 508 | <id>validate</id> |
| 509 | <phase>validate</phase> |
| 510 | <goals> |
| 511 | <goal>validate</goal> |
| 512 | </goals> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 513 | <configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 514 | <validationSets> |
| 515 | <validationSet> |
| 516 | <includes> |
| 517 | <include>src/main/resources/**/*.y*ml</include> |
| 518 | <include>src/test/resources/**/*.y*ml</include> |
| 519 | </includes> |
| 520 | </validationSet> |
| 521 | <validationSet> |
| 522 | <includes> |
| 523 | <include>src/main/resources/**/*.json</include> |
| 524 | <include>src/test/resources/**/*.json</include> |
| 525 | </includes> |
| 526 | </validationSet> |
| 527 | </validationSets> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 528 | <skip>${skipYamlJsonValidator}</skip> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 529 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 530 | </execution> |
| 531 | </executions> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 532 | </plugin> |
| 533 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 534 | </plugins> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 535 | |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 536 | <pluginManagement> |
| 537 | <plugins> |
| 538 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 539 | only. It has no influence on the Maven build itself. --> |
| 540 | <plugin> |
| 541 | <groupId>org.eclipse.m2e</groupId> |
| 542 | <artifactId>lifecycle-mapping</artifactId> |
| 543 | <version>1.0.0</version> |
| 544 | <configuration> |
| 545 | <lifecycleMappingMetadata> |
| 546 | <pluginExecutions> |
| 547 | |
| 548 | <pluginExecution> |
| 549 | <pluginExecutionFilter> |
| 550 | <groupId>com.jcabi</groupId> |
| 551 | <artifactId>jcabi-maven-plugin</artifactId> |
| 552 | <versionRange>[0.0,)</versionRange> |
| 553 | <goals> |
| 554 | <goal>ajc</goal> |
| 555 | </goals> |
| 556 | </pluginExecutionFilter> |
| 557 | <action> |
| 558 | <execute/> |
| 559 | </action> |
| 560 | </pluginExecution> |
| 561 | |
| 562 | </pluginExecutions> |
| 563 | </lifecycleMappingMetadata> |
| 564 | </configuration> |
| 565 | </plugin> |
| 566 | </plugins> |
| 567 | </pluginManagement> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 568 | </build> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 569 | |
| 570 | <profiles> |
| 571 | <profile> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 572 | <id>catalog</id> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 573 | <activation> |
| 574 | <activeByDefault>false</activeByDefault> |
| 575 | </activation> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 576 | |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 577 | <build> |
| 578 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 579 | </build> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 580 | </profile> |
| 581 | <profile> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 582 | <id>docker</id> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 583 | <activation> |
| 584 | <activeByDefault>false</activeByDefault> |
| 585 | </activation> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 586 | <properties> |
| 587 | <docker.username>docker</docker.username> |
| 588 | <docker.password>docker</docker.password> |
| 589 | </properties> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 590 | <build> |
| 591 | <plugins> |
| 592 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 593 | <groupId>org.apache.maven.plugins</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 594 | <artifactId>maven-resources-plugin</artifactId> |
| 595 | <executions> |
| 596 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 597 | <id>copy-resources-fe</id> |
| 598 | <phase>verify</phase> |
| 599 | <goals> |
| 600 | <goal>copy-resources</goal> |
| 601 | </goals> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 602 | <configuration> |
| 603 | <outputDirectory>${basedir}/sdc-frontend</outputDirectory> |
| 604 | <resources> |
| 605 | <resource> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 606 | <directory>${project.parent.basedir}/catalog-fe/target</directory> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 607 | <includes> |
| 608 | <include>catalog-fe-${project.version}.war</include> |
| 609 | </includes> |
| 610 | </resource> |
| 611 | <resource> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 612 | <directory>${project.parent.basedir}/openecomp-ui/target</directory> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 613 | <includes> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 614 | <include>onboarding-fe-${project.version}.war</include> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 615 | </includes> |
| 616 | </resource> |
| 617 | </resources> |
| 618 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 619 | </execution> |
| 620 | </executions> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 621 | </plugin> |
| 622 | <plugin> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 623 | <groupId>io.fabric8</groupId> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 624 | <artifactId>docker-maven-plugin</artifactId> |
| 625 | <configuration> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 626 | <verbose>${verbose}</verbose> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 627 | <apiVersion>${docker.api.version}</apiVersion> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 628 | <registry>nexus3.onap.org:10001</registry> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 629 | <authConfig> |
| 630 | <pull> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 631 | <username>${docker.username}</username> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 632 | <password>${docker.password}</password> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 633 | </pull> |
| 634 | </authConfig> |
| 635 | <images> |
| 636 | |
| 637 | <!-- Build frontend image --> |
| 638 | <image> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 639 | <name>onap/sdc-frontend</name> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 640 | <alias>sdc-frontend</alias> |
| 641 | <build> |
| 642 | <cleanup>try</cleanup> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 643 | <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 644 | <tags> |
| 645 | <tag>latest</tag> |
| 646 | <tag> |
| 647 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 648 | </tag> |
| 649 | <tag> |
| 650 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp} |
| 651 | </tag> |
| 652 | </tags> |
| 653 | </build> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 654 | </image> |
| 655 | </images> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 656 | </configuration> |
| 657 | <executions> |
| 658 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 659 | <id>clean-images</id> |
| 660 | <phase>pre-clean</phase> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 661 | <goals> |
| 662 | <goal>remove</goal> |
| 663 | </goals> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 664 | <configuration> |
| 665 | <removeAll>true</removeAll> |
| 666 | <image>onap/sdc-frontend</image> |
| 667 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 668 | </execution> |
| 669 | |
| 670 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 671 | <id>generate-images</id> |
| 672 | <phase>install</phase> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 673 | <goals> |
| 674 | <goal>build</goal> |
| 675 | </goals> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 676 | </execution> |
| 677 | |
| 678 | <execution> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 679 | <id>push-images</id> |
| 680 | <phase>deploy</phase> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 681 | <goals> |
| 682 | <goal>push</goal> |
| 683 | </goals> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 684 | <configuration> |
| 685 | <image>onap/sdc-frontend</image> |
| 686 | </configuration> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 687 | </execution> |
| 688 | </executions> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 689 | </plugin> |
| 690 | </plugins> |
| 691 | </build> |
vasraz | f0d4dd5 | 2021-11-15 12:27:54 +0000 | [diff] [blame] | 692 | </profile> |
| 693 | </profiles> |
vasraz | e917111 | 2021-11-26 15:57:50 +0000 | [diff] [blame] | 694 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 695 | </project> |