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