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