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