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