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