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"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 4 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 5 | <artifactId>catalog-be</artifactId> |
| 6 | <packaging>war</packaging> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 7 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 8 | <parent> |
| 9 | <groupId>org.openecomp.sdc</groupId> |
| 10 | <artifactId>sdc-main</artifactId> |
| 11 | <version>1.2.0-SNAPSHOT</version> |
| 12 | </parent> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 13 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 14 | <properties> |
| 15 | <swagger-ui-version>2.1.0-M2</swagger-ui-version> |
| 16 | </properties> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 17 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 18 | <dependencies> |
| 19 | <!--JSON and YAML Parsing--> |
| 20 | <dependency> |
| 21 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 22 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 23 | <version>${jackson.yaml.version}</version> |
| 24 | <scope>compile</scope> |
| 25 | </dependency> |
Michael Lando | c34b77c | 2017-02-28 19:03:11 +0200 | [diff] [blame] | 26 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 27 | <dependency> |
| 28 | <groupId>com.fasterxml.jackson.core</groupId> |
| 29 | <artifactId>jackson-databind</artifactId> |
| 30 | <version>${jackson.version}</version> |
| 31 | <scope>compile</scope> |
| 32 | </dependency> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 33 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 34 | <dependency> |
| 35 | <groupId>com.fasterxml.jackson.core</groupId> |
| 36 | <artifactId>jackson-core</artifactId> |
| 37 | <version>${jackson.version}</version> |
| 38 | <scope>compile</scope> |
| 39 | </dependency> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 40 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 41 | <dependency> |
| 42 | <groupId>com.fasterxml.jackson.core</groupId> |
| 43 | <artifactId>jackson-annotations</artifactId> |
| 44 | <version>${jackson.annotations.version}</version> |
| 45 | <scope>compile</scope> |
| 46 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 47 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 48 | <dependency> |
| 49 | <groupId>org.glassfish.jersey.media</groupId> |
| 50 | <artifactId>jersey-media-multipart</artifactId> |
| 51 | <version>${jersey-bom.version}</version> |
| 52 | <scope>compile</scope> |
| 53 | </dependency> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 54 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 55 | <dependency> |
| 56 | <groupId>org.openecomp.sdc</groupId> |
| 57 | <artifactId>security-utils</artifactId> |
| 58 | <version>${project.version}</version> |
| 59 | <scope>compile</scope> |
| 60 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 61 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 62 | <dependency> |
| 63 | <groupId>com.tinkerpop.blueprints</groupId> |
| 64 | <artifactId>blueprints-sail-graph</artifactId> |
| 65 | <version>2.5.0</version> |
| 66 | <optional>true</optional> |
| 67 | <exclusions> |
| 68 | <exclusion> |
| 69 | <groupId>org.slf4j</groupId> |
| 70 | <artifactId>slf4j-log4j12</artifactId> |
| 71 | </exclusion> |
| 72 | </exclusions> |
| 73 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 74 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 75 | <dependency> |
| 76 | <groupId>com.tinkerpop.blueprints</groupId> |
| 77 | <artifactId>blueprints-graph-sail</artifactId> |
| 78 | <version>2.5.0</version> |
| 79 | <optional>true</optional> |
| 80 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 81 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 82 | <!-- Swagger Dependencies Start --> |
| 83 | <dependency> |
| 84 | <groupId>io.swagger</groupId> |
| 85 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 86 | <scope>compile</scope> |
Gitelman, Tal (tg851x) | 6a924cf | 2018-03-13 14:00:22 +0200 | [diff] [blame] | 87 | <version>1.5.18</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 88 | </dependency> |
Gitelman, Tal (tg851x) | 6a924cf | 2018-03-13 14:00:22 +0200 | [diff] [blame] | 89 | |
| 90 | <!-- <dependency> |
| 91 | <groupId>io.swagger.core.v3</groupId> |
| 92 | <artifactId>swagger-jaxrs2</artifactId> |
| 93 | <version>2.0.0-rc4</version> |
| 94 | </dependency> --> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 95 | <!-- Swagger Dependencies End --> |
Tal Gitelman | ed7e1c3 | 2017-06-29 19:30:00 +0300 | [diff] [blame] | 96 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 97 | <dependency> |
| 98 | <groupId>org.openecomp.sdc</groupId> |
| 99 | <artifactId>common-app-api</artifactId> |
| 100 | <version>${project.version}</version> |
| 101 | <scope>compile</scope> |
| 102 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 103 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>org.openecomp.sdc.be</groupId> |
| 106 | <artifactId>common-be</artifactId> |
| 107 | <version>${project.version}</version> |
| 108 | <scope>compile</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.openecomp.sdc.be</groupId> |
| 112 | <artifactId>catalog-dao</artifactId> |
| 113 | <version>${project.version}</version> |
| 114 | <scope>compile</scope> |
| 115 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 116 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 117 | <dependency> |
| 118 | <groupId>org.openecomp.sdc.be</groupId> |
| 119 | <artifactId>catalog-model</artifactId> |
| 120 | <version>${project.version}</version> |
| 121 | <scope>compile</scope> |
| 122 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 123 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 124 | <dependency> |
| 125 | <groupId>ch.qos.logback</groupId> |
| 126 | <artifactId>logback-classic</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 127 | <version>${logback.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 128 | <scope>compile</scope> |
| 129 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 130 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 131 | <!-- Snake Yaml --> |
| 132 | <dependency> |
| 133 | <groupId>org.yaml</groupId> |
| 134 | <artifactId>snakeyaml</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 135 | <version>${snakeyaml.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 136 | <scope>compile</scope> |
| 137 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 138 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 139 | <!-- File changes listener --> |
| 140 | <dependency> |
| 141 | <groupId>org.apache.commons</groupId> |
| 142 | <artifactId>commons-jci-core</artifactId> |
| 143 | <version>${commons-jci-core.version}</version> |
| 144 | <scope>compile</scope> |
| 145 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 146 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 147 | <!-- Gson --> |
| 148 | <dependency> |
| 149 | <groupId>com.google.code.gson</groupId> |
| 150 | <artifactId>gson</artifactId> |
| 151 | <version>${gson.version}</version> |
| 152 | <scope>compile</scope> |
| 153 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 154 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 155 | <!-- jersey --> |
| 156 | <dependency> |
| 157 | <groupId>org.glassfish.jersey.media</groupId> |
| 158 | <artifactId>jersey-media-json-jackson</artifactId> |
| 159 | <version>${jersey-bom.version}</version> |
| 160 | <scope>compile</scope> |
| 161 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 162 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 163 | <dependency> |
| 164 | <groupId>org.glassfish.jersey.containers</groupId> |
| 165 | <artifactId>jersey-container-servlet-core</artifactId> |
| 166 | <version>${jersey-bom.version}</version> |
| 167 | <scope>compile</scope> |
| 168 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 169 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 170 | <dependency> |
| 171 | <groupId>org.glassfish.jersey.ext</groupId> |
| 172 | <artifactId>jersey-spring4</artifactId> |
| 173 | <version>${jersey-bom.version}</version> |
| 174 | <exclusions> |
| 175 | <exclusion> |
| 176 | <groupId>org.springframework</groupId> |
| 177 | <artifactId>spring-web</artifactId> |
| 178 | </exclusion> |
| 179 | <exclusion> |
| 180 | <groupId>org.springframework</groupId> |
| 181 | <artifactId>spring-beans</artifactId> |
| 182 | </exclusion> |
| 183 | <exclusion> |
| 184 | <groupId>org.springframework</groupId> |
| 185 | <artifactId>spring-core</artifactId> |
| 186 | </exclusion> |
| 187 | <exclusion> |
| 188 | <groupId>org.springframework</groupId> |
| 189 | <artifactId>spring-aop</artifactId> |
| 190 | </exclusion> |
| 191 | <!-- Transitive dependency of spring-bridge --> |
| 192 | <exclusion> |
| 193 | <groupId>org.springframework</groupId> |
| 194 | <artifactId>spring-context</artifactId> |
| 195 | </exclusion> |
| 196 | </exclusions> |
| 197 | |
| 198 | </dependency> |
| 199 | |
| 200 | <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler |
| 201 | currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency--> |
| 202 | <dependency> |
| 203 | <groupId>org.glassfish.hk2.external</groupId> |
| 204 | <artifactId>asm-all-repackaged</artifactId> |
| 205 | </dependency> |
| 206 | |
| 207 | <dependency> |
| 208 | <groupId>org.glassfish.jersey.ext</groupId> |
| 209 | <artifactId>jersey-bean-validation</artifactId> |
| 210 | </dependency> |
| 211 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 212 | <!-- http client --> |
| 213 | <dependency> |
| 214 | <groupId>org.apache.httpcomponents</groupId> |
| 215 | <artifactId>httpclient</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 216 | <version>${httpclient.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 217 | <scope>compile</scope> |
| 218 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 219 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 220 | <dependency> |
| 221 | <groupId>org.apache.httpcomponents</groupId> |
| 222 | <artifactId>httpcore</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 223 | <version>${httpcore.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 224 | <scope>compile</scope> |
| 225 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 226 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 227 | <dependency> |
| 228 | <groupId>commons-logging</groupId> |
| 229 | <artifactId>commons-logging</artifactId> |
| 230 | <version>${commons-logging}</version> |
| 231 | <scope>compile</scope> |
| 232 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 233 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 234 | <dependency> |
| 235 | <groupId>commons-codec</groupId> |
| 236 | <artifactId>commons-codec</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 237 | <version>${commons-codec}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 238 | <scope>compile</scope> |
| 239 | </dependency> |
| 240 | <!-- http client END --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 241 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 242 | <dependency> |
| 243 | <groupId>javax.servlet</groupId> |
| 244 | <artifactId>servlet-api</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 245 | <version>${servlet-api.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 246 | <scope>provided</scope> |
| 247 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 248 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 249 | <dependency> |
| 250 | <groupId>org.eclipse.jgit</groupId> |
| 251 | <artifactId>org.eclipse.jgit</artifactId> |
| 252 | <version>3.4.1.201406201815-r</version> |
| 253 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 254 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 255 | <!-- spring - used by A4C --> |
| 256 | <dependency> |
| 257 | <groupId>org.springframework</groupId> |
| 258 | <artifactId>spring-core</artifactId> |
| 259 | <version>${spring.version}</version> |
| 260 | <scope>compile</scope> |
| 261 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 262 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 263 | <dependency> |
| 264 | <groupId>org.springframework</groupId> |
| 265 | <artifactId>spring-context</artifactId> |
| 266 | <version>${spring.version}</version> |
| 267 | <scope>compile</scope> |
| 268 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 269 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 270 | <dependency> |
| 271 | <groupId>org.springframework</groupId> |
| 272 | <artifactId>spring-web</artifactId> |
| 273 | <version>${spring.version}</version> |
| 274 | <scope>compile</scope> |
| 275 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 276 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 277 | <dependency> |
| 278 | <groupId>org.springframework</groupId> |
| 279 | <artifactId>spring-webmvc</artifactId> |
| 280 | <version>${spring.version}</version> |
| 281 | <scope>compile</scope> |
| 282 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 283 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 284 | <dependency> |
| 285 | <groupId>org.springframework</groupId> |
| 286 | <artifactId>spring-aop</artifactId> |
| 287 | <version>${spring.version}</version> |
| 288 | <scope>compile</scope> |
| 289 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 290 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 291 | <dependency> |
| 292 | <groupId>org.springframework</groupId> |
| 293 | <artifactId>spring-beans</artifactId> |
| 294 | <version>${spring.version}</version> |
| 295 | <scope>compile</scope> |
| 296 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 297 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 298 | <dependency> |
| 299 | <groupId>org.springframework</groupId> |
| 300 | <artifactId>spring-expression</artifactId> |
| 301 | <version>${spring.version}</version> |
| 302 | <scope>compile</scope> |
| 303 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 304 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 305 | <dependency> |
| 306 | <groupId>org.codehaus.groovy</groupId> |
| 307 | <artifactId>groovy-all</artifactId> |
| 308 | <version>${groovy.version}</version> |
| 309 | <scope>compile</scope> |
| 310 | </dependency> |
Michael Lando | c34b77c | 2017-02-28 19:03:11 +0200 | [diff] [blame] | 311 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 312 | <dependency> |
| 313 | <groupId>org.codehaus.janino</groupId> |
| 314 | <artifactId>janino</artifactId> |
| 315 | <version>${janino.version}</version> |
| 316 | <scope>compile</scope> |
| 317 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 318 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 319 | <dependency> |
| 320 | <groupId>org.codehaus.janino</groupId> |
| 321 | <artifactId>commons-compiler</artifactId> |
| 322 | <version>${janino.version}</version> |
| 323 | <scope>compile</scope> |
| 324 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 325 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 326 | <dependency> |
| 327 | <groupId>com.google.guava</groupId> |
| 328 | <artifactId>guava</artifactId> |
| 329 | <version>${guava.version}</version> |
| 330 | <scope>compile</scope> |
| 331 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 332 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 333 | <!-- TITAN --> |
| 334 | <dependency> |
| 335 | <groupId>com.thinkaurelius.titan</groupId> |
| 336 | <artifactId>titan-core</artifactId> |
| 337 | <version>${titan.version}</version> |
| 338 | <scope>compile</scope> |
| 339 | <exclusions> |
| 340 | <exclusion> |
| 341 | <groupId>org.json</groupId> |
| 342 | <artifactId>json</artifactId> |
| 343 | </exclusion> |
| 344 | <exclusion> |
| 345 | <artifactId>slf4j-log4j12</artifactId> |
| 346 | <groupId>org.slf4j</groupId> |
| 347 | </exclusion> |
| 348 | </exclusions> |
| 349 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 350 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 351 | <dependency> |
| 352 | <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId> |
| 353 | <artifactId>sdc-titan-cassandra</artifactId> |
| 354 | <version>${titan.version}</version> |
| 355 | <scope>compile</scope> |
| 356 | <exclusions> |
| 357 | <exclusion> |
| 358 | <groupId>org.slf4j</groupId> |
| 359 | <artifactId>slf4j-log4j12</artifactId> |
| 360 | </exclusion> |
| 361 | <exclusion> |
| 362 | <groupId>io.netty</groupId> |
| 363 | <artifactId>netty-all</artifactId> |
| 364 | </exclusion> |
| 365 | </exclusions> |
| 366 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 367 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 368 | <dependency> |
| 369 | <groupId>org.apache.commons</groupId> |
| 370 | <artifactId>commons-lang3</artifactId> |
| 371 | <version>${lang3.version}</version> |
| 372 | <scope>compile</scope> |
| 373 | </dependency> |
| 374 | <!-- TITAN END --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 375 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 376 | <dependency> |
| 377 | <groupId>com.googlecode.json-simple</groupId> |
| 378 | <artifactId>json-simple</artifactId> |
| 379 | <version>${json-simple.version}</version> |
| 380 | <scope>compile</scope> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 381 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 382 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 383 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 384 | <dependency> |
| 385 | <groupId>org.elasticsearch</groupId> |
| 386 | <artifactId>elasticsearch</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 387 | <version>${elastic-search.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 388 | <scope>compile</scope> |
| 389 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 390 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 391 | <dependency> |
| 392 | <groupId>org.elasticsearch.plugin</groupId> |
| 393 | <artifactId>shield</artifactId> |
| 394 | <version>${elastic-search.version}</version> |
| 395 | <scope>compile</scope> |
| 396 | </dependency> |
| 397 | <!-- functional java --> |
| 398 | <dependency> |
| 399 | <groupId>org.functionaljava</groupId> |
| 400 | <artifactId>functionaljava</artifactId> |
| 401 | <version>${functionaljava.version}</version> |
| 402 | <scope>compile</scope> |
| 403 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 404 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 405 | <!-- Aspects --> |
| 406 | <dependency> |
| 407 | <groupId>com.jcabi</groupId> |
| 408 | <artifactId>jcabi-aspects</artifactId> |
| 409 | <version>${jcabi.version}</version> |
| 410 | <scope>compile</scope> |
| 411 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 412 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 413 | <dependency> |
| 414 | <groupId>org.aspectj</groupId> |
| 415 | <artifactId>aspectjrt</artifactId> |
| 416 | <version>${aspectjrt.version}</version> |
| 417 | <scope>compile</scope> |
| 418 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 419 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 420 | |
| 421 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 422 | <!-- CAMBRIA CLIENT for U-EB --> |
| 423 | <dependency> |
| 424 | <groupId>com.att.nsa</groupId> |
| 425 | <artifactId>cambriaClient</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 426 | <version>1.2.1-oss</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 427 | <scope>compile</scope> |
| 428 | <exclusions> |
| 429 | <exclusion> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 430 | <groupId>com.att.nsa</groupId> |
| 431 | <artifactId>saClientLibrary</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 432 | </exclusion> |
| 433 | </exclusions> |
| 434 | </dependency> |
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 | <dependency> |
| 437 | <groupId>org.json</groupId> |
| 438 | <artifactId>json</artifactId> |
| 439 | <version>20131018</version> |
| 440 | <scope>compile</scope> |
| 441 | </dependency> |
| 442 | <dependency> |
| 443 | <groupId>org.apache.tinkerpop</groupId> |
| 444 | <artifactId>tinkergraph-gremlin</artifactId> |
| 445 | <version>3.0.1-incubating</version> |
| 446 | <scope>compile</scope> |
| 447 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 448 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 449 | <dependency> |
| 450 | <groupId>org.apache.tinkerpop</groupId> |
| 451 | <artifactId>gremlin-groovy</artifactId> |
| 452 | <version>3.0.1-incubating</version> |
| 453 | <scope>compile</scope> |
| 454 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 455 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 456 | <!-- CASSANDRA --> |
| 457 | <dependency> |
| 458 | <groupId>com.datastax.cassandra</groupId> |
| 459 | <artifactId>cassandra-driver-core</artifactId> |
| 460 | <version>${cassandra.driver.version}</version> |
| 461 | <scope>compile</scope> |
| 462 | </dependency> |
| 463 | <dependency> |
| 464 | <groupId>com.datastax.cassandra</groupId> |
| 465 | <artifactId>cassandra-driver-mapping</artifactId> |
| 466 | <version>${cassandra.driver.version}</version> |
| 467 | <scope>compile</scope> |
| 468 | </dependency> |
| 469 | <!-- CASSANDRA END --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 470 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 471 | <!-- Inserted for ECOMP Portal Integration --> |
| 472 | <dependency> |
| 473 | <groupId>org.openecomp.ecompsdkos</groupId> |
| 474 | <artifactId>epsdk-fw</artifactId> |
| 475 | <version>${ecomp.version}</version> |
| 476 | <scope>compile</scope> |
| 477 | <exclusions> |
| 478 | <exclusion> |
| 479 | <groupId>com.att.nsa</groupId> |
| 480 | <artifactId>cambriaClient</artifactId> |
| 481 | </exclusion> |
| 482 | <exclusion> |
| 483 | <artifactId>slf4j-log4j12</artifactId> |
| 484 | <groupId>org.slf4j</groupId> |
| 485 | </exclusion> |
| 486 | </exclusions> |
| 487 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 488 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 489 | <!--Artifact Generator--> |
| 490 | <dependency> |
| 491 | <groupId>org.openecomp.sdc.common</groupId> |
| 492 | <artifactId>openecomp-sdc-artifact-generator-api</artifactId> |
| 493 | <version>${artifact-generator-api.version}</version> |
| 494 | <scope>compile</scope> |
| 495 | <exclusions> |
| 496 | <exclusion> |
| 497 | <groupId>junit</groupId> |
| 498 | <artifactId>junit</artifactId> |
| 499 | </exclusion> |
| 500 | </exclusions> |
| 501 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 502 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 503 | <dependency> |
| 504 | <groupId>org.openecomp.sdc.common</groupId> |
| 505 | <artifactId>openecomp-sdc-artifact-generator-core</artifactId> |
| 506 | <version>${artifact-generator-core.version}</version> |
| 507 | <scope>compile</scope> |
| 508 | <exclusions> |
| 509 | <exclusion> |
| 510 | <groupId>junit</groupId> |
| 511 | <artifactId>junit</artifactId> |
| 512 | </exclusion> |
| 513 | </exclusions> |
| 514 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 515 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 516 | <dependency> |
| 517 | <groupId>org.openecomp.sdc.common</groupId> |
| 518 | <artifactId>openecomp-common-lib</artifactId> |
| 519 | <version>${dox-common-lib.version}</version> |
| 520 | <type>pom</type> |
| 521 | <exclusions> |
| 522 | <exclusion> |
| 523 | <groupId>junit</groupId> |
| 524 | <artifactId>junit</artifactId> |
| 525 | </exclusion> |
| 526 | </exclusions> |
| 527 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 528 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 529 | <!--Jetty Proxy--> |
| 530 | <dependency> |
| 531 | <groupId>org.eclipse.jetty</groupId> |
| 532 | <artifactId>jetty-proxy</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 533 | <version>${jetty.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 534 | <scope>compile</scope> |
| 535 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 536 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 537 | <dependency> |
| 538 | <groupId>org.eclipse.jetty</groupId> |
| 539 | <artifactId>jetty-servlets</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 540 | <version>${jetty.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 541 | <scope>compile</scope> |
| 542 | </dependency> |
| 543 | <!-- System metrics --> |
| 544 | <dependency> |
| 545 | <groupId>org.fusesource</groupId> |
| 546 | <artifactId>sigar</artifactId> |
| 547 | <version>${sigar.version}</version> |
| 548 | <scope>compile</scope> |
| 549 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 550 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 551 | <dependency> |
| 552 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 553 | <artifactId>dmaapClient</artifactId> |
Idan Amit | a65b55d | 2018-03-14 09:59:41 +0200 | [diff] [blame] | 554 | <version>1.1.3</version> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 555 | <scope>compile</scope> |
| 556 | <exclusions> |
| 557 | <exclusion> |
| 558 | <groupId>com.att.aft</groupId> |
| 559 | <artifactId>dme2</artifactId> |
| 560 | </exclusion> |
| 561 | </exclusions> |
| 562 | </dependency> |
| 563 | <dependency> |
| 564 | <groupId>com.att.aft</groupId> |
| 565 | <artifactId>dme2</artifactId> |
| 566 | <version>3.1.200-oss</version> |
| 567 | </dependency> |
| 568 | |
| 569 | <dependency> |
| 570 | <groupId>javax.jms</groupId> |
| 571 | <artifactId>jms</artifactId> |
| 572 | <version>1.1</version> |
| 573 | <scope>provided</scope> |
| 574 | </dependency> |
| 575 | |
| 576 | <dependency> |
| 577 | <groupId>javax.servlet</groupId> |
| 578 | <artifactId>javax.servlet-api</artifactId> |
| 579 | <version>3.1.0</version> |
| 580 | <scope>provided</scope> |
| 581 | </dependency> |
| 582 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 583 | <!-- TEST --> |
| 584 | <dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 585 | <groupId>org.assertj</groupId> |
| 586 | <artifactId>assertj-core</artifactId> |
| 587 | <scope>test</scope> |
| 588 | </dependency> |
| 589 | |
| 590 | <dependency> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 591 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 592 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 593 | <version>${jersey-bom.version}</version> |
| 594 | <type>pom</type> |
| 595 | <scope>test</scope> |
| 596 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 597 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 598 | <!--<dependency>--> |
| 599 | <!--<groupId>org.glassfish.jersey.test-framework.providers</groupId>--> |
| 600 | <!--<artifactId>jersey-test-framework-provider-inmemory</artifactId>--> |
| 601 | <!--<version>${jersey-bom.version}</version>--> |
| 602 | <!--<scope>test</scope>--> |
| 603 | <!--</dependency>--> |
| 604 | |
| 605 | <dependency> |
| 606 | <groupId>org.glassfish.jersey.core</groupId> |
| 607 | <artifactId>jersey-client</artifactId> |
| 608 | <version>${jersey-bom.version}</version> |
| 609 | <!--<scope>test</scope>--> |
| 610 | </dependency> |
| 611 | |
| 612 | <dependency> |
| 613 | <groupId>com.github.tomakehurst</groupId> |
| 614 | <artifactId>wiremock</artifactId> |
| 615 | <scope>test</scope> |
| 616 | </dependency> |
| 617 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 618 | <dependency> |
| 619 | <groupId>org.eclipse.jetty</groupId> |
| 620 | <artifactId>jetty-servlet</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 621 | <version>${jetty.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 622 | <scope>test</scope> |
| 623 | </dependency> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 624 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 625 | <dependency> |
| 626 | <groupId>org.eclipse.jetty</groupId> |
| 627 | <artifactId>jetty-webapp</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 628 | <version>${jetty.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 629 | <scope>test</scope> |
| 630 | </dependency> |
| 631 | |
| 632 | <dependency> |
| 633 | <groupId>junit</groupId> |
| 634 | <artifactId>junit</artifactId> |
| 635 | <version>${junit.version}</version> |
| 636 | <scope>test</scope> |
| 637 | </dependency> |
| 638 | |
| 639 | <dependency> |
| 640 | <groupId>org.mockito</groupId> |
| 641 | <artifactId>mockito-core</artifactId> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 642 | <scope>test</scope> |
| 643 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 644 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 645 | <dependency> |
| 646 | <groupId>org.springframework</groupId> |
| 647 | <artifactId>spring-test</artifactId> |
| 648 | <version>${spring.version}</version> |
| 649 | <scope>test</scope> |
| 650 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 651 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 652 | <dependency> |
| 653 | <groupId>org.springframework</groupId> |
| 654 | <artifactId>spring-tx</artifactId> |
| 655 | <version>${spring.version}</version> |
| 656 | <scope>test</scope> |
| 657 | </dependency> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 658 | |
| 659 | <dependency> |
| 660 | <groupId>io.cucumber</groupId> |
| 661 | <artifactId>cucumber-java</artifactId> |
| 662 | <scope>test</scope> |
| 663 | </dependency> |
| 664 | |
| 665 | <dependency> |
| 666 | <groupId>io.cucumber</groupId> |
| 667 | <artifactId>cucumber-junit</artifactId> |
| 668 | <scope>test</scope> |
| 669 | </dependency> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 670 | </dependencies> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 671 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 672 | <build> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 673 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 674 | <finalName>${project.artifactId}-${project.version}</finalName> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 675 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 676 | <plugins> |
| 677 | <plugin> |
| 678 | <groupId>org.apache.maven.plugins</groupId> |
| 679 | <artifactId>maven-war-plugin</artifactId> |
| 680 | <version>2.6</version> |
| 681 | <configuration> |
| 682 | <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar, |
| 683 | WEB-INF/classes/elasticsearch.yml, |
| 684 | WEB-INF/classes/portal.properties |
| 685 | </packagingExcludes> |
| 686 | <archive> |
| 687 | <manifestEntries> |
| 688 | <SDC-Version>${project.version}</SDC-Version> |
| 689 | </manifestEntries> |
| 690 | <manifest> |
| 691 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 692 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 693 | </manifest> |
| 694 | </archive> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 695 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 696 | <webResources> |
| 697 | <resource> |
| 698 | <directory>src/main/resources</directory> |
| 699 | <directory>src/main/resources/swagger</directory> |
| 700 | </resource> |
| 701 | </webResources> |
| 702 | <attachClasses>true</attachClasses> |
| 703 | </configuration> |
| 704 | </plugin> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 705 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 706 | <plugin> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 707 | <groupId>org.apache.maven.plugins</groupId> |
| 708 | <artifactId>maven-dependency-plugin</artifactId> |
| 709 | <executions> |
| 710 | <execution> |
| 711 | <id>copy-dependencies</id> |
| 712 | <phase>package</phase> |
| 713 | <goals> |
| 714 | <goal>copy-dependencies</goal> |
| 715 | </goals> |
| 716 | <configuration> |
| 717 | <includeScope>compile</includeScope> |
| 718 | </configuration> |
| 719 | </execution> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 720 | </executions> |
| 721 | </plugin> |
| 722 | |
| 723 | <plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 724 | <groupId>com.jcabi</groupId> |
| 725 | <artifactId>jcabi-maven-plugin</artifactId> |
| 726 | <version>${jcabi.plugin.version}</version> |
| 727 | <executions> |
| 728 | <execution> |
| 729 | <goals> |
| 730 | <goal>ajc</goal> |
| 731 | </goals> |
| 732 | </execution> |
| 733 | </executions> |
| 734 | </plugin> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 735 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 736 | <plugin> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 737 | <artifactId>maven-resources-plugin</artifactId> |
| 738 | <version>2.6</version> |
| 739 | <executions> |
| 740 | <execution> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 741 | <id>copy-tosca-folder</id> |
| 742 | <!-- here the phase you need --> |
| 743 | <phase>install</phase> |
| 744 | <goals> |
| 745 | <goal>copy-resources</goal> |
| 746 | </goals> |
| 747 | <configuration> |
| 748 | <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory> |
| 749 | <resources> |
| 750 | <resource> |
| 751 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory> |
| 752 | <filtering>true</filtering> |
| 753 | </resource> |
| 754 | </resources> |
| 755 | </configuration> |
| 756 | </execution> |
| 757 | </executions> |
| 758 | </plugin> |
| 759 | |
| 760 | <plugin> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 761 | <groupId>org.apache.maven.plugins</groupId> |
| 762 | <artifactId>maven-assembly-plugin</artifactId> |
| 763 | <executions> |
| 764 | <execution> |
| 765 | <id>normatives</id> |
| 766 | <phase>package</phase> |
| 767 | <goals> |
| 768 | <goal>single</goal> |
| 769 | </goals> |
| 770 | <configuration> |
| 771 | <finalName>normatives</finalName> |
| 772 | <appendAssemblyId>false</appendAssemblyId> |
| 773 | <descriptor>${project.basedir}/normatives.xml</descriptor> |
| 774 | </configuration> |
| 775 | </execution> |
| 776 | </executions> |
| 777 | </plugin> |
| 778 | <plugin> |
| 779 | <artifactId>maven-clean-plugin</artifactId> |
| 780 | <version>3.0.0</version> |
| 781 | <executions> |
| 782 | <execution> |
| 783 | <id>clean.sdc.backend.folder</id> |
| 784 | <phase>clean</phase> |
| 785 | <goals> |
| 786 | <goal>clean</goal> |
| 787 | </goals> |
| 788 | <configuration> |
| 789 | <filesets> |
| 790 | <!-- static configuration files --> |
| 791 | <fileset> |
| 792 | <directory> |
| 793 | ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default |
| 794 | </directory> |
| 795 | <followSymlinks>false</followSymlinks> |
| 796 | <includes> |
| 797 | <include>Artifact-Generator.properties</include> |
| 798 | <include>error-configuration.yaml</include> |
| 799 | <include>ecomp-error-configuration.yaml</include> |
| 800 | <include>logback.xml</include> |
| 801 | </includes> |
| 802 | </fileset> |
| 803 | <!-- BE WAR's --> |
| 804 | <fileset> |
| 805 | <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory> |
| 806 | <followSymlinks>false</followSymlinks> |
| 807 | <includes> |
| 808 | <include>*.war</include> |
| 809 | </includes> |
| 810 | </fileset> |
| 811 | <fileset> |
| 812 | <directory> |
| 813 | ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default |
| 814 | </directory> |
| 815 | <followSymlinks>false</followSymlinks> |
| 816 | <includes> |
| 817 | <include>normatives.tar.gz</include> |
| 818 | </includes> |
| 819 | </fileset> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 820 | |
| 821 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 822 | </filesets> |
| 823 | </configuration> |
| 824 | </execution> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 825 | |
| 826 | <execution> |
| 827 | <id>clean-static-files</id> |
| 828 | <phase>clean</phase> |
| 829 | <goals> |
| 830 | <goal>clean</goal> |
| 831 | </goals> |
| 832 | <configuration> |
| 833 | <filesets> |
| 834 | <!-- tosca files --> |
| 835 | <fileset> |
| 836 | <directory>${project.parent.basedir}/asdctool/tosca</directory> |
| 837 | <followSymlinks>false</followSymlinks> |
| 838 | </fileset> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 839 | </filesets> |
| 840 | </configuration> |
| 841 | </execution> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 842 | </executions> |
| 843 | </plugin> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 844 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 845 | </plugins> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 846 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 847 | <pluginManagement> |
| 848 | <plugins> |
| 849 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 850 | only. It has no influence on the Maven build itself. --> |
| 851 | <plugin> |
| 852 | <groupId>org.eclipse.m2e</groupId> |
| 853 | <artifactId>lifecycle-mapping</artifactId> |
| 854 | <version>1.0.0</version> |
| 855 | <configuration> |
| 856 | <lifecycleMappingMetadata> |
| 857 | <pluginExecutions> |
| 858 | <pluginExecution> |
| 859 | <pluginExecutionFilter> |
| 860 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 861 | <artifactId>download-maven-plugin</artifactId> |
| 862 | <versionRange>[1.2.1,)</versionRange> |
| 863 | <goals> |
| 864 | <goal>wget</goal> |
| 865 | </goals> |
| 866 | </pluginExecutionFilter> |
| 867 | <action> |
| 868 | <ignore></ignore> |
| 869 | </action> |
| 870 | </pluginExecution> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 871 | |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 872 | <pluginExecution> |
| 873 | <pluginExecutionFilter> |
| 874 | <groupId>com.jcabi</groupId> |
| 875 | <artifactId>jcabi-maven-plugin</artifactId> |
| 876 | <versionRange>[0.0,)</versionRange> |
| 877 | <goals> |
| 878 | <goal>ajc</goal> |
| 879 | </goals> |
| 880 | </pluginExecutionFilter> |
| 881 | <action> |
| 882 | <execute/> |
| 883 | </action> |
| 884 | </pluginExecution> |
| 885 | |
| 886 | </pluginExecutions> |
| 887 | </lifecycleMappingMetadata> |
| 888 | </configuration> |
| 889 | </plugin> |
| 890 | <plugin> |
| 891 | <groupId>org.apache.maven.plugins</groupId> |
| 892 | <artifactId>maven-deploy-plugin</artifactId> |
| 893 | <version>2.7</version> |
| 894 | <configuration> |
| 895 | <skip>true</skip> |
| 896 | </configuration> |
| 897 | </plugin> |
| 898 | </plugins> |
| 899 | </pluginManagement> |
| 900 | <!-- Swagger Plugins End --> |
| 901 | </build> |
| 902 | |
| 903 | <profiles> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 904 | <profile> |
| 905 | <id>catalog</id> |
| 906 | <activation> |
| 907 | <activeByDefault>false</activeByDefault> |
| 908 | </activation> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 909 | |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 910 | <build> |
| 911 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 912 | </build> |
| 913 | </profile> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 914 | <profile> |
| 915 | <id>docker-staging</id> |
| 916 | <properties> |
| 917 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 918 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 919 | </properties> |
| 920 | </profile> |
| 921 | |
| 922 | <profile> |
| 923 | <id>docker</id> |
| 924 | <activation> |
| 925 | <activeByDefault>false</activeByDefault> |
| 926 | </activation> |
| 927 | <build> |
| 928 | <plugins> |
| 929 | <plugin> |
| 930 | <artifactId>maven-resources-plugin</artifactId> |
| 931 | <version>3.0.2</version> |
| 932 | <executions> |
| 933 | <execution> |
| 934 | <id>copy-resources-apidocs</id> |
| 935 | <phase>verify</phase> |
| 936 | <goals> |
| 937 | <goal>copy-resources</goal> |
| 938 | </goals> |
| 939 | <configuration> |
| 940 | <outputDirectory>${basedir}/sdc-backend</outputDirectory> |
| 941 | <resources> |
| 942 | <resource> |
| 943 | <directory> |
| 944 | ${project.parent.basedir}/openecomp-be/tools/swagger-ui/api-docs |
| 945 | </directory> |
| 946 | <includes> |
| 947 | <include>api-docs.war</include> |
| 948 | </includes> |
| 949 | </resource> |
| 950 | </resources> |
| 951 | </configuration> |
| 952 | </execution> |
| 953 | |
| 954 | <execution> |
| 955 | <id>copy-static-configuration-files</id> |
| 956 | <phase>verify</phase> |
| 957 | <goals> |
| 958 | <goal>copy-resources</goal> |
| 959 | </goals> |
| 960 | <configuration> |
| 961 | <outputDirectory>${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory> |
| 962 | <resources> |
| 963 | <resource> |
| 964 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory> |
| 965 | <includes> |
| 966 | <include>Artifact-Generator.properties</include> |
| 967 | <include>error-configuration.yaml</include> |
| 968 | <include>ecomp-error-configuration.yaml</include> |
| 969 | <include>logback.xml</include> |
| 970 | </includes> |
| 971 | </resource> |
| 972 | </resources> |
| 973 | </configuration> |
| 974 | </execution> |
| 975 | |
| 976 | <execution> |
| 977 | <id>copy-resources-be</id> |
| 978 | <phase>verify</phase> |
| 979 | <goals> |
| 980 | <goal>copy-resources</goal> |
| 981 | </goals> |
| 982 | <configuration> |
| 983 | <outputDirectory>${basedir}/sdc-backend</outputDirectory> |
| 984 | <resources> |
| 985 | <resource> |
| 986 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 987 | <includes> |
| 988 | <include>catalog-be-${project.version}.war</include> |
| 989 | </includes> |
| 990 | </resource> |
| 991 | <resource> |
| 992 | <directory> |
| 993 | ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target |
| 994 | </directory> |
| 995 | <includes> |
| 996 | <include>onboarding-be-${project.version}.war</include> |
| 997 | </includes> |
| 998 | </resource> |
| 999 | </resources> |
| 1000 | </configuration> |
| 1001 | </execution> |
| 1002 | <execution> |
| 1003 | <id>copy-normatives</id> |
| 1004 | <phase>verify</phase> |
| 1005 | <goals> |
| 1006 | <goal>copy-resources</goal> |
| 1007 | </goals> |
| 1008 | <configuration> |
| 1009 | <outputDirectory>sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default</outputDirectory> |
| 1010 | <resources> |
| 1011 | <resource> |
| 1012 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 1013 | <includes> |
| 1014 | <include>normatives.tar.gz</include> |
| 1015 | </includes> |
| 1016 | </resource> |
| 1017 | </resources> |
| 1018 | </configuration> |
| 1019 | </execution> |
| 1020 | </executions> |
| 1021 | </plugin> |
| 1022 | <plugin> |
| 1023 | <groupId>io.fabric8</groupId> |
| 1024 | <artifactId>docker-maven-plugin</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 1025 | <version>${fabric8.version}</version> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 1026 | |
| 1027 | <configuration> |
| 1028 | <verbose>true</verbose> |
| 1029 | <apiVersion>1.23</apiVersion> |
| 1030 | <registry>nexus3.onap.org:10001</registry> |
| 1031 | <authConfig> |
| 1032 | <pull> |
| 1033 | <username>docker</username> |
| 1034 | <password>docker</password> |
| 1035 | </pull> |
| 1036 | </authConfig> |
| 1037 | <images> |
| 1038 | |
| 1039 | <!-- Build backend image --> |
| 1040 | <image> |
| 1041 | <name>onap/sdc-backend</name> |
| 1042 | <alias>sdc-backend</alias> |
| 1043 | <build> |
| 1044 | <cleanup>try</cleanup> |
| 1045 | <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir> |
| 1046 | <tags> |
| 1047 | <tag>${docker.tag}</tag> |
| 1048 | <tag>${docker.latest.tag}</tag> |
| 1049 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 1050 | </tags> |
| 1051 | </build> |
| 1052 | </image> |
| 1053 | <!-- Build backend-init image --> |
| 1054 | <image> |
| 1055 | <name>onap/sdc-backend-init</name> |
| 1056 | <alias>sdc-backend-init</alias> |
| 1057 | <build> |
| 1058 | <cleanup>try</cleanup> |
| 1059 | <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir> |
| 1060 | <tags> |
| 1061 | <tag>${docker.tag}</tag> |
| 1062 | <tag>${docker.latest.tag}</tag> |
| 1063 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 1064 | </tags> |
| 1065 | </build> |
| 1066 | </image> |
| 1067 | </images> |
| 1068 | </configuration> |
| 1069 | <executions> |
| 1070 | <execution> |
| 1071 | <id>clean-images</id> |
| 1072 | <phase>pre-clean</phase> |
| 1073 | <goals> |
| 1074 | <goal>remove</goal> |
| 1075 | </goals> |
| 1076 | <configuration> |
| 1077 | <removeAll>true</removeAll> |
| 1078 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1079 | </configuration> |
| 1080 | </execution> |
| 1081 | |
| 1082 | <execution> |
| 1083 | <id>generate-images</id> |
| 1084 | <phase>install</phase> |
| 1085 | <goals> |
| 1086 | <goal>build</goal> |
| 1087 | </goals> |
| 1088 | </execution> |
| 1089 | |
| 1090 | <execution> |
| 1091 | <id>push-images</id> |
| 1092 | <phase>deploy</phase> |
| 1093 | <goals> |
| 1094 | <goal>push</goal> |
| 1095 | </goals> |
| 1096 | <configuration> |
| 1097 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1098 | </configuration> |
| 1099 | </execution> |
| 1100 | </executions> |
| 1101 | </plugin> |
| 1102 | </plugins> |
| 1103 | </build> |
| 1104 | </profile> |
| 1105 | |
| 1106 | |
| 1107 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1108 | </project> |