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> |
| 12 | <version>1.7.0-SNAPSHOT</version> |
| 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> |
| 197 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 198 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 199 | <dependency> |
| 200 | <groupId>org.eclipse.jetty</groupId> |
| 201 | <artifactId>jetty-servlets</artifactId> |
| 202 | <version>${jetty.version}</version> |
| 203 | <scope>compile</scope> |
| 204 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 205 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 206 | <!-- Proxy servlet --> |
| 207 | <dependency> |
| 208 | <groupId>com.google.guava</groupId> |
| 209 | <artifactId>guava</artifactId> |
| 210 | <version>${guava.version}</version> |
| 211 | <scope>compile</scope> |
| 212 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 213 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 214 | <!-- Aspects --> |
| 215 | <dependency> |
| 216 | <groupId>com.jcabi</groupId> |
| 217 | <artifactId>jcabi-aspects</artifactId> |
| 218 | <version>${jcabi.version}</version> |
| 219 | <scope>compile</scope> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>org.aspectj</groupId> |
| 223 | <artifactId>aspectjrt</artifactId> |
| 224 | <version>${aspectjrt.version}</version> |
| 225 | <scope>compile</scope> |
| 226 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 227 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 228 | <dependency> |
| 229 | <groupId>org.apache.commons</groupId> |
| 230 | <artifactId>commons-lang3</artifactId> |
| 231 | <version>${lang3.version}</version> |
| 232 | <scope>compile</scope> |
| 233 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 234 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 235 | <!-- Inserted for ECOMP Portal Integration --> |
| 236 | <dependency> |
| 237 | <groupId>org.onap.portal.sdk</groupId> |
| 238 | <artifactId>epsdk-fw</artifactId> |
| 239 | <version>${ecomp.version}</version> |
| 240 | <scope>compile</scope> |
| 241 | <exclusions> |
| 242 | <exclusion> |
| 243 | <groupId>com.att.nsa</groupId> |
| 244 | <artifactId>cambriaClient</artifactId> |
| 245 | </exclusion> |
| 246 | <exclusion> |
| 247 | <artifactId>slf4j-log4j12</artifactId> |
| 248 | <groupId>org.slf4j</groupId> |
| 249 | </exclusion> |
| 250 | </exclusions> |
| 251 | </dependency> |
| 252 | <!-- System metrics --> |
| 253 | <dependency> |
| 254 | <groupId>org.fusesource</groupId> |
| 255 | <artifactId>sigar</artifactId> |
| 256 | <version>${sigar.version}</version> |
| 257 | <scope>compile</scope> |
| 258 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 259 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 260 | <!-- TEST --> |
| 261 | <dependency> |
| 262 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 263 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 264 | <version>${jersey-bom.version}</version> |
| 265 | <type>pom</type> |
| 266 | <scope>test</scope> |
| 267 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 268 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 269 | <dependency> |
| 270 | <groupId>com.google.code.bean-matchers</groupId> |
| 271 | <artifactId>bean-matchers</artifactId> |
| 272 | <version>${bean-matchers.version}</version> |
| 273 | <scope>test</scope> |
| 274 | </dependency> |
Tomasz Golabek | 0e72730 | 2019-06-04 15:31:47 +0200 | [diff] [blame] | 275 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 276 | <dependency> |
| 277 | <groupId>org.eclipse.jetty</groupId> |
| 278 | <artifactId>jetty-servlet</artifactId> |
| 279 | <version>${jetty.version}</version> |
| 280 | <scope>test</scope> |
| 281 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 282 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 283 | <dependency> |
| 284 | <groupId>org.eclipse.jetty</groupId> |
| 285 | <artifactId>jetty-webapp</artifactId> |
| 286 | <version>${jetty.version}</version> |
| 287 | <scope>test</scope> |
| 288 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 289 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 290 | </dependencies> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 291 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 292 | <build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 293 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 294 | <finalName>${project.artifactId}-${project.version}</finalName> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 295 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 296 | <plugins> |
| 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <artifactId>maven-war-plugin</artifactId> |
| 300 | <configuration> |
| 301 | <archive> |
| 302 | <manifest> |
| 303 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 304 | </manifest> |
| 305 | </archive> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 306 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 307 | <webResources> |
| 308 | <resource> |
| 309 | <directory>src/main/resources</directory> |
| 310 | </resource> |
| 311 | </webResources> |
| 312 | </configuration> |
| 313 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 314 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 315 | <plugin> |
| 316 | <groupId>org.eclipse.jetty</groupId> |
| 317 | <artifactId>jetty-maven-plugin</artifactId> |
| 318 | <version>${jetty.version}</version> |
| 319 | <configuration> |
| 320 | <webApp> |
| 321 | <contextPath>/</contextPath> |
| 322 | <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern> |
| 323 | </webApp> |
| 324 | <war>${project.build.directory}/${project.build.finalName}.war</war> |
| 325 | </configuration> |
| 326 | </plugin> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 327 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 328 | <plugin> |
| 329 | <groupId>org.apache.maven.plugins</groupId> |
| 330 | <artifactId>maven-deploy-plugin</artifactId> |
| 331 | <configuration> |
| 332 | <skip>true</skip> |
| 333 | </configuration> |
| 334 | </plugin> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 335 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 336 | <plugin> |
| 337 | <groupId>com.jcabi</groupId> |
| 338 | <artifactId>jcabi-maven-plugin</artifactId> |
| 339 | <version>${jcabi.maven.plugin.version}</version> |
| 340 | <executions> |
| 341 | <execution> |
| 342 | <goals> |
| 343 | <goal>ajc</goal> |
| 344 | </goals> |
| 345 | </execution> |
| 346 | </executions> |
| 347 | </plugin> |
| 348 | <plugin> |
| 349 | <groupId>org.apache.maven.plugins</groupId> |
| 350 | <artifactId>maven-clean-plugin</artifactId> |
| 351 | <executions> |
| 352 | <execution> |
| 353 | <id>clean.catalog.fe.folder</id> |
| 354 | <phase>clean</phase> |
| 355 | <goals> |
| 356 | <goal>clean</goal> |
| 357 | </goals> |
| 358 | <configuration> |
| 359 | <filesets> |
| 360 | <!-- FE WAR's --> |
| 361 | <fileset> |
| 362 | <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory> |
| 363 | <followSymlinks>false</followSymlinks> |
| 364 | <includes> |
| 365 | <include>*.war</include> |
| 366 | </includes> |
| 367 | </fileset> |
| 368 | </filesets> |
| 369 | </configuration> |
| 370 | </execution> |
| 371 | </executions> |
| 372 | </plugin> |
| 373 | <plugin> |
| 374 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 375 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 376 | <executions> |
| 377 | <execution> |
| 378 | <id>validate</id> |
| 379 | <phase>validate</phase> |
| 380 | <goals> |
| 381 | <goal>validate</goal> |
| 382 | </goals> |
| 383 | <configuration> |
| 384 | <validationSets> |
| 385 | <validationSet> |
| 386 | <includes> |
| 387 | <include>src/main/resources/**/*.y*ml</include> |
| 388 | <include>src/test/resources/**/*.y*ml</include> |
| 389 | </includes> |
| 390 | </validationSet> |
| 391 | <validationSet> |
| 392 | <includes> |
| 393 | <include>src/main/resources/**/*.json</include> |
| 394 | <include>src/test/resources/**/*.json</include> |
| 395 | </includes> |
| 396 | </validationSet> |
| 397 | </validationSets> |
JulienBe | 6bd3d3a | 2020-06-24 15:35:23 +0200 | [diff] [blame] | 398 | <skip>${skipYamlJsonValidator}</skip> |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 399 | </configuration> |
| 400 | </execution> |
| 401 | </executions> |
| 402 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 403 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 404 | </plugins> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 405 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 406 | <pluginManagement> |
| 407 | <plugins> |
| 408 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 409 | only. It has no influence on the Maven build itself. --> |
| 410 | <plugin> |
| 411 | <groupId>org.eclipse.m2e</groupId> |
| 412 | <artifactId>lifecycle-mapping</artifactId> |
| 413 | <version>1.0.0</version> |
| 414 | <configuration> |
| 415 | <lifecycleMappingMetadata> |
| 416 | <pluginExecutions> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 417 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 418 | <pluginExecution> |
| 419 | <pluginExecutionFilter> |
| 420 | <groupId>com.jcabi</groupId> |
| 421 | <artifactId>jcabi-maven-plugin</artifactId> |
| 422 | <versionRange>[0.0,)</versionRange> |
| 423 | <goals> |
| 424 | <goal>ajc</goal> |
| 425 | </goals> |
| 426 | </pluginExecutionFilter> |
| 427 | <action> |
| 428 | <execute/> |
| 429 | </action> |
| 430 | </pluginExecution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 431 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 432 | </pluginExecutions> |
| 433 | </lifecycleMappingMetadata> |
| 434 | </configuration> |
| 435 | </plugin> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 436 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 437 | <!-- jacbi (log injection) --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 438 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 439 | </plugins> |
| 440 | </pluginManagement> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 441 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 442 | </build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 443 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 444 | <profiles> |
| 445 | <profile> |
| 446 | <id>catalog</id> |
| 447 | <activation> |
| 448 | <activeByDefault>false</activeByDefault> |
| 449 | </activation> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 450 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 451 | <build> |
| 452 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 453 | </build> |
| 454 | </profile> |
| 455 | <profile> |
| 456 | <id>docker-staging</id> |
| 457 | <properties> |
| 458 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 459 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 460 | </properties> |
| 461 | </profile> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 462 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 463 | <profile> |
| 464 | <id>docker</id> |
| 465 | <activation> |
| 466 | <activeByDefault>false</activeByDefault> |
| 467 | </activation> |
| 468 | <properties> |
| 469 | <docker.username>docker</docker.username> |
| 470 | <docker.password>docker</docker.password> |
| 471 | </properties> |
| 472 | <build> |
| 473 | <plugins> |
| 474 | <plugin> |
| 475 | <groupId>org.apache.maven.plugins</groupId> |
| 476 | <artifactId>maven-resources-plugin</artifactId> |
| 477 | <executions> |
| 478 | <execution> |
| 479 | <id>copy-resources-fe</id> |
| 480 | <phase>verify</phase> |
| 481 | <goals> |
| 482 | <goal>copy-resources</goal> |
| 483 | </goals> |
| 484 | <configuration> |
| 485 | <outputDirectory>${basedir}/sdc-frontend</outputDirectory> |
| 486 | <resources> |
| 487 | <resource> |
| 488 | <directory>${project.parent.basedir}/catalog-fe/target</directory> |
| 489 | <includes> |
| 490 | <include>catalog-fe-${project.version}.war</include> |
| 491 | </includes> |
| 492 | </resource> |
| 493 | <resource> |
| 494 | <directory>${project.parent.basedir}/openecomp-ui/target</directory> |
| 495 | <includes> |
| 496 | <include>onboarding-fe-${project.version}.war</include> |
| 497 | </includes> |
| 498 | </resource> |
| 499 | </resources> |
| 500 | </configuration> |
| 501 | </execution> |
| 502 | </executions> |
| 503 | </plugin> |
| 504 | <plugin> |
| 505 | <groupId>io.fabric8</groupId> |
| 506 | <artifactId>docker-maven-plugin</artifactId> |
| 507 | <configuration> |
| 508 | <apiVersion>1.23</apiVersion> |
| 509 | <registry>nexus3.onap.org:10001</registry> |
| 510 | <authConfig> |
| 511 | <pull> |
| 512 | <username>${docker.username}</username> |
| 513 | <password>${docker.password}</password> |
| 514 | </pull> |
| 515 | </authConfig> |
| 516 | <images> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 517 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 518 | <!-- Build frontend image --> |
| 519 | <image> |
| 520 | <name>onap/sdc-frontend</name> |
| 521 | <alias>sdc-frontend</alias> |
| 522 | <build> |
| 523 | <cleanup>try</cleanup> |
| 524 | <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir> |
| 525 | <tags> |
| 526 | <tag>${docker.tag}</tag> |
| 527 | <tag> |
| 528 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 529 | </tag> |
| 530 | </tags> |
| 531 | </build> |
| 532 | </image> |
| 533 | </images> |
| 534 | </configuration> |
| 535 | <executions> |
| 536 | <execution> |
| 537 | <id>clean-images</id> |
| 538 | <phase>pre-clean</phase> |
| 539 | <goals> |
| 540 | <goal>remove</goal> |
| 541 | </goals> |
| 542 | <configuration> |
| 543 | <removeAll>true</removeAll> |
| 544 | <image>onap/sdc-frontend</image> |
| 545 | </configuration> |
| 546 | </execution> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 547 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 548 | <execution> |
| 549 | <id>generate-images</id> |
| 550 | <phase>install</phase> |
| 551 | <goals> |
| 552 | <goal>build</goal> |
| 553 | </goals> |
| 554 | </execution> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 555 | |
vasraz | a36531c | 2020-04-29 18:39:35 +0100 | [diff] [blame] | 556 | <execution> |
| 557 | <id>push-images</id> |
| 558 | <phase>deploy</phase> |
| 559 | <goals> |
| 560 | <goal>push</goal> |
| 561 | </goals> |
| 562 | <configuration> |
| 563 | <image>onap/sdc-frontend</image> |
| 564 | </configuration> |
| 565 | </execution> |
| 566 | </executions> |
| 567 | </plugin> |
| 568 | </plugins> |
| 569 | </build> |
| 570 | </profile> |
| 571 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 572 | </project> |