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