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> |
Michael Lando | d8a0dea | 2018-06-02 19:23:27 +0300 | [diff] [blame] | 11 | <version>1.3.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> |
| 46 | <artifactId>groovy-all</artifactId> |
| 47 | <version>${groovy.version}</version> |
| 48 | <scope>compile</scope> |
| 49 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 50 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 51 | <dependency> |
| 52 | <groupId>org.codehaus.janino</groupId> |
| 53 | <artifactId>janino</artifactId> |
| 54 | <version>${janino.version}</version> |
| 55 | <scope>compile</scope> |
| 56 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 57 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 58 | <dependency> |
| 59 | <groupId>org.yaml</groupId> |
| 60 | <artifactId>snakeyaml</artifactId> |
| 61 | <version>${snakeyaml.version}</version> |
| 62 | <scope>compile</scope> |
| 63 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 64 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 65 | <dependency> |
| 66 | <groupId>org.apache.commons</groupId> |
| 67 | <artifactId>commons-jci-core</artifactId> |
| 68 | <version>${commons-jci-core.version}</version> |
| 69 | <scope>compile</scope> |
| 70 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 71 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 72 | <dependency> |
| 73 | <groupId>com.google.code.gson</groupId> |
| 74 | <artifactId>gson</artifactId> |
| 75 | <version>${gson.version}</version> |
| 76 | <scope>compile</scope> |
| 77 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 78 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 79 | <dependency> |
| 80 | <groupId>org.glassfish.jersey.containers</groupId> |
| 81 | <artifactId>jersey-container-servlet</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 82 | <version>${jersey-bom.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 83 | <scope>compile</scope> |
| 84 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 85 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 86 | <dependency> |
| 87 | <groupId>org.glassfish.jersey.media</groupId> |
| 88 | <artifactId>jersey-media-multipart</artifactId> |
| 89 | <version>${jersey-bom.version}</version> |
| 90 | <scope>compile</scope> |
| 91 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 92 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 93 | <dependency> |
| 94 | <groupId>org.glassfish.jersey.media</groupId> |
| 95 | <artifactId>jersey-media-moxy</artifactId> |
| 96 | <version>${jersey-bom.version}</version> |
| 97 | <scope>compile</scope> |
| 98 | </dependency> |
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>javax.mail</groupId> |
| 102 | <artifactId>javax.mail-api</artifactId> |
| 103 | <version>1.5.2</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> |
| 108 | <groupId>org.glassfish.jersey.media</groupId> |
| 109 | <artifactId>jersey-media-json-jackson</artifactId> |
| 110 | <version>${jersey-bom.version}</version> |
| 111 | <scope>compile</scope> |
| 112 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 113 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 114 | <dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 115 | <groupId>org.glassfish.jersey.inject</groupId> |
| 116 | <artifactId>jersey-hk2</artifactId> |
| 117 | <version>${jersey-bom.version}</version> |
| 118 | </dependency> |
| 119 | |
| 120 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 121 | <groupId>com.fasterxml.jackson.core</groupId> |
| 122 | <artifactId>jackson-core</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-databind</artifactId> |
| 130 | <version>${jackson.version}</version> |
| 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 | <dependency> |
| 135 | <groupId>com.fasterxml.jackson.core</groupId> |
| 136 | <artifactId>jackson-annotations</artifactId> |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 137 | <version>${jackson-annotations.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 | <!-- http client --> |
| 142 | <dependency> |
| 143 | <groupId>org.apache.httpcomponents</groupId> |
| 144 | <artifactId>httpclient</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 145 | <version>${httpclient.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>httpcore</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 152 | <version>${httpcore.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>org.apache.httpcomponents</groupId> |
| 158 | <artifactId>httpmime</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 159 | <version>${httpclient.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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-logging</groupId> |
| 165 | <artifactId>commons-logging</artifactId> |
| 166 | <version>${commons-logging}</version> |
| 167 | <scope>compile</scope> |
| 168 | </dependency> |
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>commons-codec</groupId> |
| 172 | <artifactId>commons-codec</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 173 | <version>${commons-codec}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 174 | <scope>compile</scope> |
| 175 | </dependency> |
| 176 | <!-- http client END --> |
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 | <dependency> |
| 179 | <groupId>javax.servlet</groupId> |
vempo | d6d1291 | 2018-07-09 14:27:57 +0300 | [diff] [blame] | 180 | <artifactId>javax.servlet-api</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 181 | <version>${servlet-api.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 182 | <scope>provided</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 | <!-- JSON and YAML Parsing --> |
| 186 | <dependency> |
| 187 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 188 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 189 | <version>${jackson.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 | <!-- Jetty Proxy --> |
| 194 | <dependency> |
| 195 | <groupId>org.eclipse.jetty</groupId> |
| 196 | <artifactId>jetty-proxy</artifactId> |
| 197 | <version>${jetty.version}</version> |
| 198 | <scope>compile</scope> |
| 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 | <dependency> |
| 202 | <groupId>org.eclipse.jetty</groupId> |
| 203 | <artifactId>jetty-servlets</artifactId> |
| 204 | <version>${jetty.version}</version> |
Tal Gitelman | ffdda7d | 2017-07-02 15:33:25 +0300 | [diff] [blame] | 205 | <scope>compile</scope> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 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 | <!-- Proxy servlet --> |
| 209 | <dependency> |
| 210 | <groupId>com.google.guava</groupId> |
| 211 | <artifactId>guava</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 212 | <version>${guava.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 213 | <scope>compile</scope> |
| 214 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 215 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 216 | <!-- Aspects --> |
| 217 | <dependency> |
| 218 | <groupId>com.jcabi</groupId> |
| 219 | <artifactId>jcabi-aspects</artifactId> |
| 220 | <version>${jcabi.version}</version> |
| 221 | <scope>compile</scope> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.aspectj</groupId> |
| 225 | <artifactId>aspectjrt</artifactId> |
| 226 | <version>${aspectjrt.version}</version> |
| 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 | <dependency> |
| 231 | <groupId>org.apache.commons</groupId> |
| 232 | <artifactId>commons-lang3</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 233 | <version>${lang3.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 234 | <scope>compile</scope> |
| 235 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 236 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 237 | <!-- Inserted for ECOMP Portal Integration --> |
| 238 | <dependency> |
| 239 | <groupId>org.openecomp.ecompsdkos</groupId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 240 | <artifactId>epsdk-fw</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 241 | <version>${ecomp.version}</version> |
| 242 | <scope>compile</scope> |
| 243 | <exclusions> |
| 244 | <exclusion> |
| 245 | <groupId>com.att.nsa</groupId> |
| 246 | <artifactId>cambriaClient</artifactId> |
| 247 | </exclusion> |
| 248 | <exclusion> |
| 249 | <artifactId>slf4j-log4j12</artifactId> |
| 250 | <groupId>org.slf4j</groupId> |
| 251 | </exclusion> |
| 252 | </exclusions> |
| 253 | </dependency> |
| 254 | <!-- System metrics --> |
| 255 | <dependency> |
| 256 | <groupId>org.fusesource</groupId> |
| 257 | <artifactId>sigar</artifactId> |
| 258 | <version>${sigar.version}</version> |
| 259 | <scope>compile</scope> |
| 260 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 261 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 262 | <!-- TEST --> |
| 263 | <dependency> |
| 264 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 265 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 266 | <version>${jersey-bom.version}</version> |
| 267 | <type>pom</type> |
| 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-servlet</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.eclipse.jetty</groupId> |
| 280 | <artifactId>jetty-webapp</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 281 | <version>${jetty.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 282 | <scope>test</scope> |
| 283 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 284 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 285 | <dependency> |
| 286 | <groupId>org.mockito</groupId> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 287 | <artifactId>mockito-core</artifactId> |
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 | </dependencies> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 292 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 293 | <build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 294 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 295 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 296 | |
| 297 | <plugins> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 298 | <plugin> |
| 299 | <groupId>org.apache.maven.plugins</groupId> |
| 300 | <artifactId>maven-war-plugin</artifactId> |
| 301 | <version>2.6</version> |
| 302 | <configuration> |
| 303 | <archive> |
| 304 | <manifest> |
| 305 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 306 | </manifest> |
| 307 | </archive> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 308 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 309 | <webResources> |
| 310 | <resource> |
| 311 | <directory>src/main/resources</directory> |
| 312 | </resource> |
| 313 | </webResources> |
| 314 | </configuration> |
| 315 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 316 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 317 | <plugin> |
| 318 | <groupId>org.eclipse.jetty</groupId> |
| 319 | <artifactId>jetty-maven-plugin</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 320 | <version>${jetty.version}</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 321 | <!--<version>9.0.6.v20130930</version>--> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 322 | <configuration> |
| 323 | <contextPath>/</contextPath> |
| 324 | <webApp> |
| 325 | <contextPath>/</contextPath> |
| 326 | <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern> |
| 327 | </webApp> |
| 328 | <war>${project.build.directory}/${project.build.finalName}.war</war> |
| 329 | </configuration> |
| 330 | </plugin> |
| 331 | |
| 332 | <plugin> |
| 333 | <groupId>org.apache.maven.plugins</groupId> |
| 334 | <artifactId>maven-deploy-plugin</artifactId> |
| 335 | <version>2.7</version> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 336 | <configuration> |
| 337 | <skip>true</skip> |
| 338 | </configuration> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 339 | </plugin> |
| 340 | |
| 341 | <plugin> |
| 342 | <groupId>com.jcabi</groupId> |
| 343 | <artifactId>jcabi-maven-plugin</artifactId> |
| 344 | <version>${jcabi.plugin.version}</version> |
| 345 | <executions> |
| 346 | <execution> |
| 347 | <goals> |
| 348 | <goal>ajc</goal> |
| 349 | </goals> |
| 350 | </execution> |
| 351 | </executions> |
| 352 | </plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 353 | <plugin> |
| 354 | <artifactId>maven-clean-plugin</artifactId> |
| 355 | <version>3.0.0</version> |
| 356 | <executions> |
| 357 | <execution> |
| 358 | <id>clean.catalog.fe.folder</id> |
| 359 | <phase>clean</phase> |
| 360 | <goals> |
| 361 | <goal>clean</goal> |
| 362 | </goals> |
| 363 | <configuration> |
| 364 | <filesets> |
| 365 | <!-- FE WAR's --> |
| 366 | <fileset> |
| 367 | <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory> |
| 368 | <followSymlinks>false</followSymlinks> |
| 369 | <includes> |
| 370 | <include>*.war</include> |
| 371 | </includes> |
| 372 | </fileset> |
| 373 | </filesets> |
| 374 | </configuration> |
| 375 | </execution> |
| 376 | </executions> |
| 377 | </plugin> |
| 378 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 379 | </plugins> |
| 380 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 381 | <pluginManagement> |
| 382 | <plugins> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 383 | <!--This plugin's configuration is used to store Eclipse m2e settings |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 384 | only. It has no influence on the Maven build itself. --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 385 | <plugin> |
| 386 | <groupId>org.eclipse.m2e</groupId> |
| 387 | <artifactId>lifecycle-mapping</artifactId> |
| 388 | <version>1.0.0</version> |
| 389 | <configuration> |
| 390 | <lifecycleMappingMetadata> |
| 391 | <pluginExecutions> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 392 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 393 | <pluginExecution> |
| 394 | <pluginExecutionFilter> |
| 395 | <groupId>com.jcabi</groupId> |
| 396 | <artifactId>jcabi-maven-plugin</artifactId> |
| 397 | <versionRange>[0.0,)</versionRange> |
| 398 | <goals> |
| 399 | <goal>ajc</goal> |
| 400 | </goals> |
| 401 | </pluginExecutionFilter> |
| 402 | <action> |
| 403 | <execute /> |
| 404 | </action> |
| 405 | </pluginExecution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 406 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 407 | </pluginExecutions> |
| 408 | </lifecycleMappingMetadata> |
| 409 | </configuration> |
| 410 | </plugin> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 411 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 412 | <!-- jacbi (log injection) --> |
| 413 | |
| 414 | </plugins> |
| 415 | </pluginManagement> |
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 | </build> |
| 418 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 419 | <profiles> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 420 | <profile> |
| 421 | <id>catalog</id> |
| 422 | <activation> |
| 423 | <activeByDefault>false</activeByDefault> |
| 424 | </activation> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 425 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 426 | <build> |
| 427 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 428 | </build> |
| 429 | </profile> |
| 430 | <profile> |
| 431 | <id>docker-staging</id> |
| 432 | <properties> |
| 433 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 434 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 435 | </properties> |
| 436 | </profile> |
| 437 | |
| 438 | <profile> |
| 439 | <id>docker</id> |
| 440 | <activation> |
| 441 | <activeByDefault>false</activeByDefault> |
| 442 | </activation> |
Areli, Fuss (af732p) | c7941c2 | 2018-04-12 13:25:35 +0300 | [diff] [blame] | 443 | <properties> |
| 444 | <docker.username>docker</docker.username> |
| 445 | <docker.password>docker</docker.password> |
| 446 | </properties> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 447 | <build> |
| 448 | <plugins> |
| 449 | <plugin> |
| 450 | <artifactId>maven-resources-plugin</artifactId> |
| 451 | <version>3.0.2</version> |
| 452 | <executions> |
| 453 | <execution> |
| 454 | <id>copy-resources-fe</id> |
| 455 | <phase>verify</phase> |
| 456 | <goals> |
| 457 | <goal>copy-resources</goal> |
| 458 | </goals> |
| 459 | <configuration> |
| 460 | <outputDirectory>${basedir}/sdc-frontend</outputDirectory> |
| 461 | <resources> |
| 462 | <resource> |
| 463 | <directory>${project.parent.basedir}/catalog-fe/target</directory> |
| 464 | <includes> |
| 465 | <include>catalog-fe-${project.version}.war</include> |
| 466 | </includes> |
| 467 | </resource> |
| 468 | <resource> |
| 469 | <directory>${project.parent.basedir}/openecomp-ui/target</directory> |
| 470 | <includes> |
| 471 | <include>onboarding-fe-${project.version}.war</include> |
| 472 | </includes> |
| 473 | </resource> |
| 474 | </resources> |
| 475 | </configuration> |
| 476 | </execution> |
| 477 | </executions> |
| 478 | </plugin> |
| 479 | <plugin> |
| 480 | <groupId>io.fabric8</groupId> |
| 481 | <artifactId>docker-maven-plugin</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 482 | <version>${fabric8.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 483 | |
| 484 | <configuration> |
| 485 | <verbose>true</verbose> |
| 486 | <apiVersion>1.23</apiVersion> |
| 487 | <registry>nexus3.onap.org:10001</registry> |
| 488 | <authConfig> |
| 489 | <pull> |
Areli, Fuss (af732p) | c7941c2 | 2018-04-12 13:25:35 +0300 | [diff] [blame] | 490 | <username>${docker.username}</username> |
| 491 | <password>${docker.password}</password> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 492 | </pull> |
| 493 | </authConfig> |
| 494 | <images> |
| 495 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 496 | <!-- Build frontend image --> |
| 497 | <image> |
| 498 | <name>onap/sdc-frontend</name> |
| 499 | <alias>sdc-frontend</alias> |
| 500 | <build> |
| 501 | <cleanup>try</cleanup> |
| 502 | <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir> |
| 503 | <tags> |
| 504 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 505 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 506 | </tags> |
| 507 | </build> |
| 508 | </image> |
| 509 | </images> |
| 510 | </configuration> |
| 511 | <executions> |
| 512 | <execution> |
| 513 | <id>clean-images</id> |
| 514 | <phase>pre-clean</phase> |
| 515 | <goals> |
| 516 | <goal>remove</goal> |
| 517 | </goals> |
| 518 | <configuration> |
| 519 | <removeAll>true</removeAll> |
| 520 | <image>onap/sdc-frontend</image> |
| 521 | </configuration> |
| 522 | </execution> |
| 523 | |
| 524 | <execution> |
| 525 | <id>generate-images</id> |
| 526 | <phase>install</phase> |
| 527 | <goals> |
| 528 | <goal>build</goal> |
| 529 | </goals> |
| 530 | </execution> |
| 531 | |
| 532 | <execution> |
| 533 | <id>push-images</id> |
| 534 | <phase>deploy</phase> |
| 535 | <goals> |
| 536 | <goal>push</goal> |
| 537 | </goals> |
| 538 | <configuration> |
| 539 | <image>onap/sdc-frontend</image> |
| 540 | </configuration> |
| 541 | </execution> |
| 542 | </executions> |
| 543 | </plugin> |
| 544 | </plugins> |
| 545 | </build> |
| 546 | </profile> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 547 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 548 | </project> |