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> |
| 12 | <version>1.6.0-SNAPSHOT</version> |
| 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> |
| 333 | <artifactId>janusgraph-cassandra</artifactId> |
| 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> |
| 342 | <groupId>io.netty</groupId> |
| 343 | <artifactId>netty-all</artifactId> |
| 344 | </exclusion> |
| 345 | </exclusions> |
| 346 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 347 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 348 | <dependency> |
| 349 | <groupId>org.apache.commons</groupId> |
| 350 | <artifactId>commons-lang3</artifactId> |
| 351 | <version>${lang3.version}</version> |
| 352 | <scope>compile</scope> |
| 353 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 354 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 355 | <dependency> |
| 356 | <groupId>com.googlecode.json-simple</groupId> |
| 357 | <artifactId>json-simple</artifactId> |
| 358 | <version>${json-simple.version}</version> |
| 359 | <scope>compile</scope> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 360 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 361 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 362 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 363 | <dependency> |
| 364 | <groupId>org.elasticsearch</groupId> |
| 365 | <artifactId>elasticsearch</artifactId> |
| 366 | <version>${elastic-search.version}</version> |
| 367 | <scope>compile</scope> |
| 368 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 369 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 370 | <!-- functional java --> |
| 371 | <dependency> |
| 372 | <groupId>org.functionaljava</groupId> |
| 373 | <artifactId>functionaljava</artifactId> |
| 374 | <version>${functionaljava.version}</version> |
| 375 | <scope>compile</scope> |
| 376 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 377 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 378 | <!-- Aspects --> |
| 379 | <dependency> |
| 380 | <groupId>com.jcabi</groupId> |
| 381 | <artifactId>jcabi-aspects</artifactId> |
| 382 | <version>${jcabi.version}</version> |
| 383 | <scope>compile</scope> |
| 384 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 385 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 386 | <dependency> |
| 387 | <groupId>org.aspectj</groupId> |
| 388 | <artifactId>aspectjrt</artifactId> |
| 389 | <version>${aspectjrt.version}</version> |
| 390 | <scope>compile</scope> |
| 391 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 392 | |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 393 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 394 | <!-- CAMBRIA CLIENT for U-EB --> |
| 395 | <dependency> |
| 396 | <groupId>com.att.nsa</groupId> |
| 397 | <artifactId>cambriaClient</artifactId> |
| 398 | <version>1.2.1-oss</version> |
| 399 | <scope>compile</scope> |
| 400 | <exclusions> |
| 401 | <exclusion> |
| 402 | <groupId>com.att.nsa</groupId> |
| 403 | <artifactId>saClientLibrary</artifactId> |
| 404 | </exclusion> |
| 405 | </exclusions> |
| 406 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 407 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 408 | <dependency> |
| 409 | <groupId>org.json</groupId> |
| 410 | <artifactId>json</artifactId> |
| 411 | <version>20131018</version> |
| 412 | <scope>compile</scope> |
| 413 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 414 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 415 | <!-- CASSANDRA --> |
| 416 | <dependency> |
| 417 | <groupId>com.datastax.cassandra</groupId> |
| 418 | <artifactId>cassandra-driver-core</artifactId> |
| 419 | <version>${cassandra.driver.version}</version> |
| 420 | <scope>compile</scope> |
| 421 | </dependency> |
| 422 | <dependency> |
| 423 | <groupId>com.datastax.cassandra</groupId> |
| 424 | <artifactId>cassandra-driver-mapping</artifactId> |
| 425 | <version>${cassandra.driver.version}</version> |
| 426 | <scope>compile</scope> |
| 427 | </dependency> |
| 428 | <dependency> |
| 429 | <groupId>org.apache.thrift</groupId> |
| 430 | <artifactId>libthrift</artifactId> |
| 431 | <version>${libthrift.version}</version> |
| 432 | </dependency> |
| 433 | <!-- CASSANDRA END --> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 434 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 435 | <!-- Inserted for ECOMP Portal Integration --> |
| 436 | <dependency> |
| 437 | <groupId>org.onap.portal.sdk</groupId> |
| 438 | <artifactId>epsdk-fw</artifactId> |
| 439 | <version>${ecomp.version}</version> |
| 440 | <scope>compile</scope> |
| 441 | <exclusions> |
| 442 | <exclusion> |
| 443 | <groupId>com.att.nsa</groupId> |
| 444 | <artifactId>cambriaClient</artifactId> |
| 445 | </exclusion> |
| 446 | <exclusion> |
| 447 | <artifactId>slf4j-log4j12</artifactId> |
| 448 | <groupId>org.slf4j</groupId> |
| 449 | </exclusion> |
| 450 | <exclusion> |
| 451 | <artifactId>powermock-api-mockito</artifactId> |
| 452 | <groupId>org.powermock</groupId> |
| 453 | </exclusion> |
| 454 | <exclusion> |
| 455 | <groupId> org.onap.aaf.authz</groupId> |
| 456 | <artifactId> aaf-cadi-aaf</artifactId> |
| 457 | </exclusion> |
| 458 | <exclusion> |
| 459 | <artifactId>aaf-cadi-core</artifactId> |
| 460 | <groupId>org.onap.aaf.authz</groupId> |
| 461 | </exclusion> |
| 462 | <exclusion> |
| 463 | <artifactId>commons-codec</artifactId> |
| 464 | <groupId>commons-codec</groupId> |
| 465 | </exclusion> |
| 466 | </exclusions> |
| 467 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 468 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 469 | <!--Jetty Proxy--> |
| 470 | <dependency> |
| 471 | <groupId>org.eclipse.jetty</groupId> |
| 472 | <artifactId>jetty-proxy</artifactId> |
| 473 | <version>${jetty.version}</version> |
| 474 | <scope>compile</scope> |
| 475 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 476 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 477 | <dependency> |
| 478 | <groupId>org.eclipse.jetty</groupId> |
| 479 | <artifactId>jetty-servlets</artifactId> |
| 480 | <version>${jetty.version}</version> |
| 481 | <scope>compile</scope> |
| 482 | </dependency> |
| 483 | <!-- System metrics --> |
| 484 | <dependency> |
| 485 | <groupId>org.fusesource</groupId> |
| 486 | <artifactId>sigar</artifactId> |
| 487 | <version>${sigar.version}</version> |
| 488 | <scope>compile</scope> |
| 489 | </dependency> |
| 490 | <dependency> |
| 491 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 492 | <artifactId>dmaapClient</artifactId> |
| 493 | <version>1.1.3</version> |
| 494 | <scope>compile</scope> |
| 495 | <exclusions> |
| 496 | <exclusion> |
| 497 | <groupId>com.att.aft</groupId> |
| 498 | <artifactId>dme2</artifactId> |
| 499 | </exclusion> |
| 500 | </exclusions> |
| 501 | </dependency> |
| 502 | <dependency> |
| 503 | <groupId>com.att.aft</groupId> |
| 504 | <artifactId>dme2</artifactId> |
| 505 | <version>3.1.200-oss</version> |
| 506 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 507 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 508 | <dependency> |
| 509 | <groupId>javax.jms</groupId> |
| 510 | <artifactId>jms</artifactId> |
| 511 | <version>1.1</version> |
| 512 | <scope>provided</scope> |
| 513 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 514 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 515 | <!-- CADI --> |
| 516 | <dependency> |
| 517 | <groupId>org.onap.aaf.authz</groupId> |
| 518 | <artifactId>aaf-cadi-aaf</artifactId> |
| 519 | <version>${cadi.version}</version> |
| 520 | <exclusions> |
| 521 | <exclusion> |
| 522 | <groupId>com.datastax.cassandra</groupId> |
| 523 | <artifactId>cassandra-driver-core</artifactId> |
| 524 | </exclusion> |
| 525 | <exclusion> |
| 526 | <groupId>org.slf4j</groupId> |
| 527 | <artifactId>slf4j-log4j12</artifactId> |
| 528 | </exclusion> |
| 529 | </exclusions> |
| 530 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 531 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 532 | <!-- TEST --> |
| 533 | <dependency> |
| 534 | <groupId>org.assertj</groupId> |
| 535 | <artifactId>assertj-core</artifactId> |
| 536 | <scope>test</scope> |
| 537 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 538 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 539 | <dependency> |
| 540 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 541 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 542 | <version>${jersey-bom.version}</version> |
| 543 | <type>pom</type> |
| 544 | <scope>test</scope> |
| 545 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 546 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 547 | <dependency> |
| 548 | <groupId>org.glassfish.jersey.core</groupId> |
| 549 | <artifactId>jersey-client</artifactId> |
| 550 | <version>${jersey-bom.version}</version> |
| 551 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 552 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 553 | <dependency> |
| 554 | <groupId>com.github.tomakehurst</groupId> |
| 555 | <artifactId>wiremock-standalone</artifactId> |
| 556 | <scope>test</scope> |
| 557 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 558 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 559 | <dependency> |
| 560 | <groupId>org.eclipse.jetty</groupId> |
| 561 | <artifactId>jetty-webapp</artifactId> |
| 562 | <version>${jetty.version}</version> |
| 563 | <scope>test</scope> |
| 564 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 565 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 566 | <dependency> |
| 567 | <groupId>junit</groupId> |
| 568 | <artifactId>junit</artifactId> |
| 569 | <version>${junit.version}</version> |
| 570 | <scope>test</scope> |
| 571 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 572 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 573 | <dependency> |
| 574 | <groupId>org.mockito</groupId> |
| 575 | <artifactId>mockito-core</artifactId> |
| 576 | <scope>test</scope> |
| 577 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 578 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 579 | <dependency> |
| 580 | <groupId>org.springframework</groupId> |
| 581 | <artifactId>spring-test</artifactId> |
| 582 | <version>${spring.version}</version> |
| 583 | <scope>test</scope> |
| 584 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 585 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 586 | <dependency> |
| 587 | <groupId>org.springframework</groupId> |
| 588 | <artifactId>spring-tx</artifactId> |
| 589 | <version>${spring.version}</version> |
| 590 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 591 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 592 | <dependency> |
| 593 | <groupId>io.cucumber</groupId> |
| 594 | <artifactId>cucumber-java</artifactId> |
| 595 | <scope>test</scope> |
| 596 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 597 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 598 | <dependency> |
| 599 | <groupId>io.cucumber</groupId> |
| 600 | <artifactId>cucumber-junit</artifactId> |
| 601 | <scope>test</scope> |
| 602 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 603 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 604 | <dependency> |
| 605 | <groupId>org.jmockit</groupId> |
| 606 | <artifactId>jmockit</artifactId> |
| 607 | <version>${jmockit.version}</version> |
| 608 | <scope>test</scope> |
| 609 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 610 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 611 | <dependency> |
| 612 | <groupId>com.google.code.bean-matchers</groupId> |
| 613 | <artifactId>bean-matchers</artifactId> |
| 614 | <version>0.11</version> |
| 615 | <scope>test</scope> |
| 616 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 617 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 618 | <dependency> |
| 619 | <groupId>org.hamcrest</groupId> |
| 620 | <artifactId>java-hamcrest</artifactId> |
| 621 | <version>${java-hamcrest.version}</version> |
| 622 | <scope>test</scope> |
| 623 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 624 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 625 | <dependency> |
| 626 | <groupId>org.codehaus.groovy</groupId> |
| 627 | <artifactId>groovy</artifactId> |
| 628 | <version>2.4.8</version> |
| 629 | </dependency> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 630 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 631 | <dependency> |
| 632 | <groupId>io.netty</groupId> |
| 633 | <artifactId>netty-handler</artifactId> |
| 634 | </dependency> |
| 635 | <dependency> |
| 636 | <groupId>org.onap.sdc.common</groupId> |
| 637 | <artifactId>onap-tosca-datatype</artifactId> |
| 638 | <version>${project.version}</version> |
| 639 | </dependency> |
| 640 | <dependency> |
| 641 | <groupId>org.apache.commons</groupId> |
| 642 | <artifactId>commons-collections4</artifactId> |
| 643 | <version>${commons.collections.version}</version> |
| 644 | </dependency> |
| 645 | <dependency> |
| 646 | <groupId>org.codehaus.jackson</groupId> |
| 647 | <artifactId>jackson-mapper-asl</artifactId> |
| 648 | <version>${jackson.mapper.version}</version> |
| 649 | </dependency> |
| 650 | <dependency> |
| 651 | <groupId>org.onap.sdc.sdc-be-common</groupId> |
| 652 | <artifactId>security-util-lib</artifactId> |
Yuli Shlosberg | 47fc40a | 2020-01-23 11:50:40 +0200 | [diff] [blame] | 653 | <version>${security.util.lib.version}</version> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 654 | </dependency> |
| 655 | </dependencies> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 656 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 657 | <build> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 658 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 659 | <finalName>${project.artifactId}-${project.version}</finalName> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 660 | |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 661 | <plugins> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 662 | <plugin> |
| 663 | <groupId>org.apache.maven.plugins</groupId> |
| 664 | <artifactId>maven-war-plugin</artifactId> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 665 | <configuration> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 666 | <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar, |
| 667 | WEB-INF/classes/elasticsearch.yml, |
| 668 | WEB-INF/classes/portal.properties |
| 669 | </packagingExcludes> |
| 670 | <archive> |
| 671 | <manifestEntries> |
| 672 | <SDC-Version>${project.version}</SDC-Version> |
| 673 | </manifestEntries> |
| 674 | <manifest> |
| 675 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 676 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 677 | </manifest> |
| 678 | </archive> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 679 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 680 | <webResources> |
| 681 | <resource> |
| 682 | <directory>src/main/resources</directory> |
| 683 | <directory>src/main/resources/swagger</directory> |
| 684 | </resource> |
| 685 | </webResources> |
| 686 | <attachClasses>true</attachClasses> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 687 | </configuration> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 688 | </plugin> |
| 689 | <plugin> |
| 690 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 691 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 692 | <executions> |
| 693 | <execution> |
| 694 | <id>validate</id> |
| 695 | <phase>validate</phase> |
| 696 | <goals> |
| 697 | <goal>validate</goal> |
| 698 | </goals> |
| 699 | <configuration> |
| 700 | <validationSets> |
| 701 | <validationSet> |
| 702 | <includes> |
| 703 | <include>src/main/resources/**/*.y*ml</include> |
| 704 | <include>src/test/resources/**/*.y*ml</include> |
| 705 | </includes> |
| 706 | <excludes> |
| 707 | <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude> |
| 708 | </excludes> |
| 709 | </validationSet> |
| 710 | <validationSet> |
| 711 | <includes> |
| 712 | <include>src/main/resources/**/*.json</include> |
| 713 | <include>src/test/resources/**/*.json</include> |
| 714 | </includes> |
| 715 | </validationSet> |
| 716 | </validationSets> |
| 717 | </configuration> |
| 718 | </execution> |
| 719 | </executions> |
| 720 | </plugin> |
| 721 | <plugin> |
| 722 | <groupId>com.jcabi</groupId> |
| 723 | <artifactId>jcabi-maven-plugin</artifactId> |
| 724 | <version>${jcabi.maven.plugin.version}</version> |
| 725 | <executions> |
| 726 | <execution> |
| 727 | <goals> |
| 728 | <goal>ajc</goal> |
| 729 | </goals> |
| 730 | </execution> |
| 731 | </executions> |
| 732 | </plugin> |
| 733 | <plugin> |
| 734 | <groupId>org.apache.maven.plugins</groupId> |
| 735 | <artifactId>maven-assembly-plugin</artifactId> |
| 736 | <executions> |
| 737 | <execution> |
| 738 | <id>normatives</id> |
| 739 | <phase>package</phase> |
| 740 | <goals> |
| 741 | <goal>single</goal> |
| 742 | </goals> |
| 743 | <configuration> |
| 744 | <finalName>normatives</finalName> |
| 745 | <appendAssemblyId>false</appendAssemblyId> |
| 746 | <descriptors> |
| 747 | <descriptor>${project.basedir}/normatives.xml</descriptor> |
| 748 | </descriptors> |
| 749 | </configuration> |
| 750 | </execution> |
| 751 | </executions> |
| 752 | </plugin> |
| 753 | <plugin> |
| 754 | <groupId>org.apache.maven.plugins</groupId> |
| 755 | <artifactId>maven-clean-plugin</artifactId> |
| 756 | <executions> |
| 757 | <execution> |
| 758 | <id>clean.sdc.backend.folder</id> |
| 759 | <phase>clean</phase> |
| 760 | <goals> |
| 761 | <goal>clean</goal> |
| 762 | </goals> |
| 763 | <configuration> |
| 764 | <filesets> |
| 765 | <!-- static configuration files --> |
| 766 | <fileset> |
| 767 | <directory> |
| 768 | ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default |
| 769 | </directory> |
| 770 | <followSymlinks>false</followSymlinks> |
| 771 | <includes> |
| 772 | <include>Artifact-Generator.properties</include> |
| 773 | <include>error-configuration.yaml</include> |
| 774 | <include>ecomp-error-configuration.yaml</include> |
| 775 | <include>logback.xml</include> |
| 776 | </includes> |
| 777 | </fileset> |
| 778 | <!-- BE WAR's --> |
| 779 | <fileset> |
| 780 | <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory> |
| 781 | <followSymlinks>false</followSymlinks> |
| 782 | <includes> |
| 783 | <include>*.war</include> |
| 784 | </includes> |
| 785 | </fileset> |
| 786 | <fileset> |
| 787 | <directory> |
| 788 | ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default |
| 789 | </directory> |
| 790 | <followSymlinks>false</followSymlinks> |
| 791 | <includes> |
| 792 | <include>normatives.tar.gz</include> |
| 793 | </includes> |
| 794 | </fileset> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 795 | |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 796 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 797 | </filesets> |
| 798 | </configuration> |
| 799 | </execution> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 800 | |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 801 | <execution> |
| 802 | <id>clean-static-files</id> |
| 803 | <phase>clean</phase> |
| 804 | <goals> |
| 805 | <goal>clean</goal> |
| 806 | </goals> |
| 807 | <configuration> |
| 808 | <filesets> |
| 809 | <!-- tosca files --> |
| 810 | <fileset> |
| 811 | <directory>${project.parent.basedir}/asdctool/tosca</directory> |
| 812 | <followSymlinks>false</followSymlinks> |
| 813 | </fileset> |
| 814 | </filesets> |
| 815 | </configuration> |
| 816 | </execution> |
| 817 | </executions> |
| 818 | </plugin> |
| 819 | <plugin> |
| 820 | <groupId>org.apache.maven.plugins</groupId> |
| 821 | <artifactId>maven-resources-plugin</artifactId> |
| 822 | <executions> |
| 823 | <execution> |
| 824 | <id>copy-static-configuration-files</id> |
| 825 | <phase>verify</phase> |
| 826 | <goals> |
| 827 | <goal>copy-resources</goal> |
| 828 | </goals> |
| 829 | <configuration> |
| 830 | <outputDirectory> |
| 831 | ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default |
| 832 | </outputDirectory> |
| 833 | <resources> |
| 834 | <resource> |
| 835 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/config |
| 836 | </directory> |
| 837 | <includes> |
| 838 | <include>Artifact-Generator.properties</include> |
| 839 | <include>error-configuration.yaml</include> |
| 840 | <include>ecomp-error-configuration.yaml</include> |
| 841 | <include>logback.xml</include> |
| 842 | </includes> |
| 843 | </resource> |
| 844 | </resources> |
| 845 | </configuration> |
| 846 | </execution> |
| 847 | <execution> |
| 848 | <id>copy-tosca-folder</id> |
| 849 | <!-- here the phase you need --> |
| 850 | <phase>install</phase> |
| 851 | <goals> |
| 852 | <goal>copy-resources</goal> |
| 853 | </goals> |
| 854 | <configuration> |
| 855 | <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory> |
| 856 | <resources> |
| 857 | <resource> |
| 858 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca |
| 859 | </directory> |
| 860 | <filtering>true</filtering> |
| 861 | </resource> |
| 862 | </resources> |
| 863 | </configuration> |
| 864 | </execution> |
| 865 | </executions> |
| 866 | </plugin> |
| 867 | <plugin> |
| 868 | <groupId>com.github.kongchen</groupId> |
| 869 | <artifactId>swagger-maven-plugin</artifactId> |
| 870 | <version>3.1.0</version> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 871 | <configuration> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 872 | <apiSources> |
| 873 | <apiSource> |
| 874 | <springmvc>false</springmvc> |
| 875 | <schemes>http</schemes> |
| 876 | <basePath>/sdc</basePath> |
| 877 | <locations> |
| 878 | io.swagger.jaxrs.json;org.openecomp.sdc.be.externalapi.servlet;org.openecomp.sdc.be.distribution.servlet;org.openecomp.normative.api |
| 879 | </locations> |
| 880 | <info> |
| 881 | <title>External Rest API</title> |
| 882 | <version>v1.0</version> |
| 883 | <description>External Rest API Documentation</description> |
| 884 | <termsOfService> |
| 885 | http://www.github.com/kongchen/swagger-maven-plugin |
| 886 | </termsOfService> |
| 887 | </info> |
| 888 | <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath> |
| 889 | <outputPath>${basedir}/target/generated/swagger-ui/api.html</outputPath> |
| 890 | <swaggerDirectory>${basedir}/target/generated/swagger-ui |
| 891 | </swaggerDirectory> |
| 892 | <swaggerApiReader>io.swagger.jaxrs.config.DefaultJaxrsConfig</swaggerApiReader> |
| 893 | </apiSource> |
| 894 | </apiSources> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 895 | </configuration> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 896 | <executions> |
| 897 | <execution> |
| 898 | <phase>compile</phase> |
| 899 | <goals> |
| 900 | <goal>generate</goal> |
| 901 | </goals> |
| 902 | </execution> |
| 903 | </executions> |
| 904 | </plugin> |
vasraz | fa5bdf0 | 2019-08-26 13:39:26 +0000 | [diff] [blame] | 905 | </plugins> |
ys9693 | 16a9fce | 2020-01-19 13:50:02 +0200 | [diff] [blame] | 906 | |
| 907 | <pluginManagement> |
| 908 | <plugins> |
| 909 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 910 | only. It has no influence on the Maven build itself. --> |
| 911 | <plugin> |
| 912 | <groupId>org.eclipse.m2e</groupId> |
| 913 | <artifactId>lifecycle-mapping</artifactId> |
| 914 | <version>1.0.0</version> |
| 915 | <configuration> |
| 916 | <lifecycleMappingMetadata> |
| 917 | <pluginExecutions> |
| 918 | <pluginExecution> |
| 919 | <pluginExecutionFilter> |
| 920 | <groupId>com.googlecode.maven-download-plugin</groupId> |
| 921 | <artifactId>download-maven-plugin</artifactId> |
| 922 | <versionRange>[1.2.1,)</versionRange> |
| 923 | <goals> |
| 924 | <goal>wget</goal> |
| 925 | </goals> |
| 926 | </pluginExecutionFilter> |
| 927 | <action> |
| 928 | <ignore></ignore> |
| 929 | </action> |
| 930 | </pluginExecution> |
| 931 | |
| 932 | <pluginExecution> |
| 933 | <pluginExecutionFilter> |
| 934 | <groupId>com.jcabi</groupId> |
| 935 | <artifactId>jcabi-maven-plugin</artifactId> |
| 936 | <versionRange>[0.0,)</versionRange> |
| 937 | <goals> |
| 938 | <goal>ajc</goal> |
| 939 | </goals> |
| 940 | </pluginExecutionFilter> |
| 941 | <action> |
| 942 | <execute/> |
| 943 | </action> |
| 944 | </pluginExecution> |
| 945 | |
| 946 | </pluginExecutions> |
| 947 | </lifecycleMappingMetadata> |
| 948 | </configuration> |
| 949 | </plugin> |
| 950 | </plugins> |
| 951 | </pluginManagement> |
| 952 | <!-- Swagger Plugins End --> |
| 953 | </build> |
| 954 | |
| 955 | <profiles> |
| 956 | <profile> |
| 957 | <id>docker-staging</id> |
| 958 | <properties> |
| 959 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 960 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 961 | </properties> |
| 962 | </profile> |
| 963 | |
| 964 | <profile> |
| 965 | <id>docker</id> |
| 966 | <activation> |
| 967 | <activeByDefault>false</activeByDefault> |
| 968 | </activation> |
| 969 | <build> |
| 970 | <plugins> |
| 971 | <plugin> |
| 972 | <groupId>org.apache.maven.plugins</groupId> |
| 973 | <artifactId>maven-resources-plugin</artifactId> |
| 974 | <executions> |
| 975 | <execution> |
| 976 | <id>copy-resources-apidocs</id> |
| 977 | <phase>verify</phase> |
| 978 | <goals> |
| 979 | <goal>copy-resources</goal> |
| 980 | </goals> |
| 981 | <configuration> |
| 982 | <outputDirectory>${basedir}/sdc-backend</outputDirectory> |
| 983 | <resources> |
| 984 | <resource> |
| 985 | <directory> |
| 986 | ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs |
| 987 | </directory> |
| 988 | <includes> |
| 989 | <include>api-docs.war</include> |
| 990 | </includes> |
| 991 | </resource> |
| 992 | </resources> |
| 993 | </configuration> |
| 994 | </execution> |
| 995 | |
| 996 | <execution> |
| 997 | <id>copy-resources-be</id> |
| 998 | <phase>verify</phase> |
| 999 | <goals> |
| 1000 | <goal>copy-resources</goal> |
| 1001 | </goals> |
| 1002 | <configuration> |
| 1003 | <outputDirectory>${basedir}/sdc-backend</outputDirectory> |
| 1004 | <resources> |
| 1005 | <resource> |
| 1006 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 1007 | <includes> |
| 1008 | <include>catalog-be-${project.version}.war</include> |
| 1009 | </includes> |
| 1010 | </resource> |
| 1011 | <resource> |
| 1012 | <directory> |
| 1013 | ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target |
| 1014 | </directory> |
| 1015 | <includes> |
| 1016 | <include>onboarding-be-${project.version}.war</include> |
| 1017 | </includes> |
| 1018 | </resource> |
| 1019 | </resources> |
| 1020 | </configuration> |
| 1021 | </execution> |
| 1022 | <execution> |
| 1023 | <id>copy-normatives</id> |
| 1024 | <phase>verify</phase> |
| 1025 | <goals> |
| 1026 | <goal>copy-resources</goal> |
| 1027 | </goals> |
| 1028 | <configuration> |
| 1029 | <outputDirectory> |
| 1030 | sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default |
| 1031 | </outputDirectory> |
| 1032 | <resources> |
| 1033 | <resource> |
| 1034 | <directory>${project.parent.basedir}/catalog-be/target</directory> |
| 1035 | <includes> |
| 1036 | <include>normatives.tar.gz</include> |
| 1037 | </includes> |
| 1038 | </resource> |
| 1039 | </resources> |
| 1040 | </configuration> |
| 1041 | </execution> |
| 1042 | </executions> |
| 1043 | </plugin> |
| 1044 | <plugin> |
| 1045 | <groupId>io.fabric8</groupId> |
| 1046 | <artifactId>docker-maven-plugin</artifactId> |
| 1047 | <configuration> |
| 1048 | <apiVersion>1.23</apiVersion> |
| 1049 | <registry>nexus3.onap.org:10001</registry> |
| 1050 | <authConfig> |
| 1051 | <pull> |
| 1052 | <username>docker</username> |
| 1053 | <password>docker</password> |
| 1054 | </pull> |
| 1055 | </authConfig> |
| 1056 | <images> |
| 1057 | |
| 1058 | <!-- Build backend image --> |
| 1059 | <image> |
| 1060 | <name>onap/sdc-backend</name> |
| 1061 | <alias>sdc-backend</alias> |
| 1062 | <build> |
| 1063 | <cleanup>try</cleanup> |
| 1064 | <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir> |
| 1065 | <tags> |
| 1066 | <tag>${docker.tag}</tag> |
| 1067 | <tag> |
| 1068 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1069 | </tag> |
| 1070 | </tags> |
| 1071 | </build> |
| 1072 | </image> |
| 1073 | <!-- Build backend-init image --> |
| 1074 | <image> |
| 1075 | <name>onap/sdc-backend-init</name> |
| 1076 | <alias>sdc-backend-init</alias> |
| 1077 | <build> |
| 1078 | <cleanup>try</cleanup> |
| 1079 | <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir> |
| 1080 | <tags> |
| 1081 | <tag>${docker.tag}</tag> |
| 1082 | <tag> |
| 1083 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 1084 | </tag> |
| 1085 | </tags> |
| 1086 | </build> |
| 1087 | </image> |
| 1088 | </images> |
| 1089 | </configuration> |
| 1090 | <executions> |
| 1091 | <execution> |
| 1092 | <id>clean-images</id> |
| 1093 | <phase>pre-clean</phase> |
| 1094 | <goals> |
| 1095 | <goal>remove</goal> |
| 1096 | </goals> |
| 1097 | <configuration> |
| 1098 | <removeAll>true</removeAll> |
| 1099 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1100 | </configuration> |
| 1101 | </execution> |
| 1102 | |
| 1103 | <execution> |
| 1104 | <id>generate-images</id> |
| 1105 | <phase>install</phase> |
| 1106 | <goals> |
| 1107 | <goal>build</goal> |
| 1108 | </goals> |
| 1109 | </execution> |
| 1110 | |
| 1111 | <execution> |
| 1112 | <id>push-images</id> |
| 1113 | <phase>deploy</phase> |
| 1114 | <goals> |
| 1115 | <goal>push</goal> |
| 1116 | </goals> |
| 1117 | <configuration> |
| 1118 | <image>onap/sdc-backend,onap/sdc-backend-init</image> |
| 1119 | </configuration> |
| 1120 | </execution> |
| 1121 | </executions> |
| 1122 | </plugin> |
| 1123 | </plugins> |
| 1124 | </build> |
| 1125 | </profile> |
| 1126 | </profiles> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 1127 | </project> |