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