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