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