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