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