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