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