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