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> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 31 | <artifactId>common-app-api</artifactId> |
| 32 | <version>${project.version}</version> |
| 33 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 34 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 35 | <!-- File changes listener --> |
| 36 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 37 | <groupId>ch.qos.logback</groupId> |
| 38 | <artifactId>logback-classic</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 39 | <version>${logback.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 40 | <scope>compile</scope> |
| 41 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 42 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 43 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 44 | <groupId>org.codehaus.groovy</groupId> |
Tal Gitelman | a3b79a2 | 2018-09-25 17:22:34 +0300 | [diff] [blame] | 45 | <artifactId>groovy</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 46 | <scope>compile</scope> |
| 47 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 48 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 49 | <dependency> |
| 50 | <groupId>org.codehaus.janino</groupId> |
| 51 | <artifactId>janino</artifactId> |
| 52 | <version>${janino.version}</version> |
| 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.yaml</groupId> |
| 58 | <artifactId>snakeyaml</artifactId> |
| 59 | <version>${snakeyaml.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.apache.commons</groupId> |
| 65 | <artifactId>commons-jci-core</artifactId> |
| 66 | <version>${commons-jci-core.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>com.google.code.gson</groupId> |
| 72 | <artifactId>gson</artifactId> |
| 73 | <version>${gson.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>org.glassfish.jersey.containers</groupId> |
| 79 | <artifactId>jersey-container-servlet</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 80 | <version>${jersey-bom.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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.media</groupId> |
| 86 | <artifactId>jersey-media-multipart</artifactId> |
| 87 | <version>${jersey-bom.version}</version> |
| 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-moxy</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 | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 98 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 99 | <dependency> |
| 100 | <groupId>org.glassfish.jersey.media</groupId> |
| 101 | <artifactId>jersey-media-json-jackson</artifactId> |
| 102 | <version>${jersey-bom.version}</version> |
| 103 | <scope>compile</scope> |
| 104 | </dependency> |
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> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 107 | <groupId>org.glassfish.jersey.inject</groupId> |
| 108 | <artifactId>jersey-hk2</artifactId> |
| 109 | <version>${jersey-bom.version}</version> |
| 110 | </dependency> |
| 111 | |
| 112 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 113 | <groupId>com.fasterxml.jackson.core</groupId> |
| 114 | <artifactId>jackson-core</artifactId> |
| 115 | <version>${jackson.version}</version> |
| 116 | <scope>compile</scope> |
| 117 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 118 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 119 | <dependency> |
| 120 | <groupId>com.fasterxml.jackson.core</groupId> |
| 121 | <artifactId>jackson-databind</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-annotations</artifactId> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 129 | <version>${jackson-annotations.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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 | <!-- http client --> |
| 134 | <dependency> |
| 135 | <groupId>org.apache.httpcomponents</groupId> |
| 136 | <artifactId>httpclient</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 137 | <version>${httpclient.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 138 | <scope>compile</scope> |
| 139 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 140 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 141 | <dependency> |
| 142 | <groupId>org.apache.httpcomponents</groupId> |
| 143 | <artifactId>httpcore</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 144 | <version>${httpcore.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>httpmime</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 151 | <version>${httpclient.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>commons-logging</groupId> |
| 157 | <artifactId>commons-logging</artifactId> |
| 158 | <version>${commons-logging}</version> |
| 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-codec</groupId> |
| 164 | <artifactId>commons-codec</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 165 | <version>${commons-codec}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 166 | <scope>compile</scope> |
| 167 | </dependency> |
| 168 | <!-- http client END --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 169 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 170 | <dependency> |
| 171 | <groupId>javax.servlet</groupId> |
vempo | d6d1291 | 2018-07-09 14:27:57 +0300 | [diff] [blame] | 172 | <artifactId>javax.servlet-api</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 173 | <version>${servlet-api.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 174 | <scope>provided</scope> |
| 175 | </dependency> |
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 | <!-- JSON and YAML Parsing --> |
| 178 | <dependency> |
| 179 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 180 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 181 | <version>${jackson.version}</version> |
| 182 | <scope>compile</scope> |
| 183 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 184 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 185 | <!-- Jetty Proxy --> |
| 186 | <dependency> |
| 187 | <groupId>org.eclipse.jetty</groupId> |
| 188 | <artifactId>jetty-proxy</artifactId> |
| 189 | <version>${jetty.version}</version> |
| 190 | <scope>compile</scope> |
| 191 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 192 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 193 | <dependency> |
| 194 | <groupId>org.eclipse.jetty</groupId> |
| 195 | <artifactId>jetty-servlets</artifactId> |
| 196 | <version>${jetty.version}</version> |
Tal Gitelman | ffdda7d | 2017-07-02 15:33:25 +0300 | [diff] [blame] | 197 | <scope>compile</scope> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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 | <!-- Proxy servlet --> |
| 201 | <dependency> |
| 202 | <groupId>com.google.guava</groupId> |
| 203 | <artifactId>guava</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 204 | <version>${guava.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 205 | <scope>compile</scope> |
| 206 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 207 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 208 | <!-- Aspects --> |
| 209 | <dependency> |
| 210 | <groupId>com.jcabi</groupId> |
| 211 | <artifactId>jcabi-aspects</artifactId> |
| 212 | <version>${jcabi.version}</version> |
| 213 | <scope>compile</scope> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.aspectj</groupId> |
| 217 | <artifactId>aspectjrt</artifactId> |
| 218 | <version>${aspectjrt.version}</version> |
| 219 | <scope>compile</scope> |
| 220 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 221 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 222 | <dependency> |
| 223 | <groupId>org.apache.commons</groupId> |
| 224 | <artifactId>commons-lang3</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 225 | <version>${lang3.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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 | <!-- Inserted for ECOMP Portal Integration --> |
| 230 | <dependency> |
Tal Gitelman | 7d05e16 | 2018-10-10 14:52:54 +0300 | [diff] [blame] | 231 | <groupId>org.onap.portal.sdk</groupId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 232 | <artifactId>epsdk-fw</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 233 | <version>${ecomp.version}</version> |
| 234 | <scope>compile</scope> |
| 235 | <exclusions> |
| 236 | <exclusion> |
| 237 | <groupId>com.att.nsa</groupId> |
| 238 | <artifactId>cambriaClient</artifactId> |
| 239 | </exclusion> |
| 240 | <exclusion> |
| 241 | <artifactId>slf4j-log4j12</artifactId> |
| 242 | <groupId>org.slf4j</groupId> |
| 243 | </exclusion> |
| 244 | </exclusions> |
| 245 | </dependency> |
| 246 | <!-- System metrics --> |
| 247 | <dependency> |
| 248 | <groupId>org.fusesource</groupId> |
| 249 | <artifactId>sigar</artifactId> |
| 250 | <version>${sigar.version}</version> |
| 251 | <scope>compile</scope> |
| 252 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 253 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 254 | <!-- TEST --> |
| 255 | <dependency> |
| 256 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 257 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 258 | <version>${jersey-bom.version}</version> |
| 259 | <type>pom</type> |
| 260 | <scope>test</scope> |
| 261 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 262 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 263 | <dependency> |
Tomasz Golabek | 0e72730 | 2019-06-04 15:31:47 +0200 | [diff] [blame] | 264 | <groupId>com.google.code.bean-matchers</groupId> |
| 265 | <artifactId>bean-matchers</artifactId> |
| 266 | <version>${bean-matchers.version}</version> |
| 267 | <scope>test</scope> |
| 268 | </dependency> |
| 269 | |
| 270 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 271 | <groupId>org.eclipse.jetty</groupId> |
| 272 | <artifactId>jetty-servlet</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 273 | <version>${jetty.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 274 | <scope>test</scope> |
| 275 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 276 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 277 | <dependency> |
| 278 | <groupId>org.eclipse.jetty</groupId> |
| 279 | <artifactId>jetty-webapp</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.mockito</groupId> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 286 | <artifactId>mockito-core</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 287 | <scope>test</scope> |
| 288 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 289 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 290 | </dependencies> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 291 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 292 | <build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 293 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 294 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 295 | |
| 296 | <plugins> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <artifactId>maven-war-plugin</artifactId> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 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 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [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 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 315 | <plugin> |
| 316 | <groupId>org.eclipse.jetty</groupId> |
| 317 | <artifactId>jetty-maven-plugin</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 318 | <version>${jetty.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 319 | <configuration> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 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> |
| 327 | |
| 328 | <plugin> |
| 329 | <groupId>org.apache.maven.plugins</groupId> |
| 330 | <artifactId>maven-deploy-plugin</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 331 | <configuration> |
| 332 | <skip>true</skip> |
| 333 | </configuration> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 334 | </plugin> |
| 335 | |
| 336 | <plugin> |
| 337 | <groupId>com.jcabi</groupId> |
| 338 | <artifactId>jcabi-maven-plugin</artifactId> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 339 | <version>${jcabi.maven.plugin.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 340 | <executions> |
| 341 | <execution> |
| 342 | <goals> |
| 343 | <goal>ajc</goal> |
| 344 | </goals> |
| 345 | </execution> |
| 346 | </executions> |
| 347 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 348 | <plugin> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 349 | <groupId>org.apache.maven.plugins</groupId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 350 | <artifactId>maven-clean-plugin</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 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> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 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> |
| 398 | </configuration> |
| 399 | </execution> |
| 400 | </executions> |
| 401 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 402 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 403 | </plugins> |
| 404 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 405 | <pluginManagement> |
| 406 | <plugins> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 407 | <!--This plugin's configuration is used to store Eclipse m2e settings |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 408 | only. It has no influence on the Maven build itself. --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 409 | <plugin> |
| 410 | <groupId>org.eclipse.m2e</groupId> |
| 411 | <artifactId>lifecycle-mapping</artifactId> |
| 412 | <version>1.0.0</version> |
| 413 | <configuration> |
| 414 | <lifecycleMappingMetadata> |
| 415 | <pluginExecutions> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 416 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 417 | <pluginExecution> |
| 418 | <pluginExecutionFilter> |
| 419 | <groupId>com.jcabi</groupId> |
| 420 | <artifactId>jcabi-maven-plugin</artifactId> |
| 421 | <versionRange>[0.0,)</versionRange> |
| 422 | <goals> |
| 423 | <goal>ajc</goal> |
| 424 | </goals> |
| 425 | </pluginExecutionFilter> |
| 426 | <action> |
| 427 | <execute /> |
| 428 | </action> |
| 429 | </pluginExecution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 430 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 431 | </pluginExecutions> |
| 432 | </lifecycleMappingMetadata> |
| 433 | </configuration> |
| 434 | </plugin> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 435 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 436 | <!-- jacbi (log injection) --> |
| 437 | |
| 438 | </plugins> |
| 439 | </pluginManagement> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 440 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 441 | </build> |
| 442 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 443 | <profiles> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 444 | <profile> |
| 445 | <id>catalog</id> |
| 446 | <activation> |
| 447 | <activeByDefault>false</activeByDefault> |
| 448 | </activation> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 449 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 450 | <build> |
| 451 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 452 | </build> |
| 453 | </profile> |
| 454 | <profile> |
| 455 | <id>docker-staging</id> |
| 456 | <properties> |
| 457 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 458 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 459 | </properties> |
| 460 | </profile> |
| 461 | |
| 462 | <profile> |
| 463 | <id>docker</id> |
| 464 | <activation> |
| 465 | <activeByDefault>false</activeByDefault> |
| 466 | </activation> |
Areli, Fuss (af732p) | c7941c2 | 2018-04-12 13:25:35 +0300 | [diff] [blame] | 467 | <properties> |
| 468 | <docker.username>docker</docker.username> |
| 469 | <docker.password>docker</docker.password> |
| 470 | </properties> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 471 | <build> |
| 472 | <plugins> |
| 473 | <plugin> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 474 | <groupId>org.apache.maven.plugins</groupId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 475 | <artifactId>maven-resources-plugin</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 476 | <executions> |
| 477 | <execution> |
| 478 | <id>copy-resources-fe</id> |
| 479 | <phase>verify</phase> |
| 480 | <goals> |
| 481 | <goal>copy-resources</goal> |
| 482 | </goals> |
| 483 | <configuration> |
| 484 | <outputDirectory>${basedir}/sdc-frontend</outputDirectory> |
| 485 | <resources> |
| 486 | <resource> |
| 487 | <directory>${project.parent.basedir}/catalog-fe/target</directory> |
| 488 | <includes> |
| 489 | <include>catalog-fe-${project.version}.war</include> |
| 490 | </includes> |
| 491 | </resource> |
| 492 | <resource> |
| 493 | <directory>${project.parent.basedir}/openecomp-ui/target</directory> |
| 494 | <includes> |
| 495 | <include>onboarding-fe-${project.version}.war</include> |
| 496 | </includes> |
| 497 | </resource> |
| 498 | </resources> |
| 499 | </configuration> |
| 500 | </execution> |
| 501 | </executions> |
| 502 | </plugin> |
| 503 | <plugin> |
| 504 | <groupId>io.fabric8</groupId> |
| 505 | <artifactId>docker-maven-plugin</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 506 | <configuration> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 507 | <apiVersion>1.23</apiVersion> |
| 508 | <registry>nexus3.onap.org:10001</registry> |
| 509 | <authConfig> |
| 510 | <pull> |
Areli, Fuss (af732p) | c7941c2 | 2018-04-12 13:25:35 +0300 | [diff] [blame] | 511 | <username>${docker.username}</username> |
| 512 | <password>${docker.password}</password> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 513 | </pull> |
| 514 | </authConfig> |
| 515 | <images> |
| 516 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 517 | <!-- Build frontend image --> |
| 518 | <image> |
| 519 | <name>onap/sdc-frontend</name> |
| 520 | <alias>sdc-frontend</alias> |
| 521 | <build> |
| 522 | <cleanup>try</cleanup> |
| 523 | <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir> |
| 524 | <tags> |
| 525 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 526 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 527 | </tags> |
| 528 | </build> |
| 529 | </image> |
| 530 | </images> |
| 531 | </configuration> |
| 532 | <executions> |
| 533 | <execution> |
| 534 | <id>clean-images</id> |
| 535 | <phase>pre-clean</phase> |
| 536 | <goals> |
| 537 | <goal>remove</goal> |
| 538 | </goals> |
| 539 | <configuration> |
| 540 | <removeAll>true</removeAll> |
| 541 | <image>onap/sdc-frontend</image> |
| 542 | </configuration> |
| 543 | </execution> |
| 544 | |
| 545 | <execution> |
| 546 | <id>generate-images</id> |
| 547 | <phase>install</phase> |
| 548 | <goals> |
| 549 | <goal>build</goal> |
| 550 | </goals> |
| 551 | </execution> |
| 552 | |
| 553 | <execution> |
| 554 | <id>push-images</id> |
| 555 | <phase>deploy</phase> |
| 556 | <goals> |
| 557 | <goal>push</goal> |
| 558 | </goals> |
| 559 | <configuration> |
| 560 | <image>onap/sdc-frontend</image> |
| 561 | </configuration> |
| 562 | </execution> |
| 563 | </executions> |
| 564 | </plugin> |
| 565 | </plugins> |
| 566 | </build> |
| 567 | </profile> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 568 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 569 | </project> |