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