Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 5 | <artifactId>asdctool</artifactId> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 6 | <packaging>jar</packaging> |
| 7 | |
| 8 | <parent> |
| 9 | <groupId>org.openecomp.sdc</groupId> |
| 10 | <artifactId>sdc-main</artifactId> |
Michael Lando | 0ad3c80 | 2017-09-19 16:32:59 +0300 | [diff] [blame] | 11 | <version>1.2.0-SNAPSHOT</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 12 | </parent> |
| 13 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 14 | <dependencies> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 15 | |
Michael Lando | c34b77c | 2017-02-28 19:03:11 +0200 | [diff] [blame] | 16 | <dependency> |
Michael Lando | c34b77c | 2017-02-28 19:03:11 +0200 | [diff] [blame] | 17 | <groupId>com.google.guava</groupId> |
| 18 | <artifactId>guava</artifactId> |
| 19 | <version>${guava.version}</version> |
| 20 | <scope>compile</scope> |
| 21 | </dependency> |
| 22 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 23 | <!-- ASDC dependencies --> |
| 24 | <dependency> |
| 25 | <groupId>org.openecomp.sdc.be</groupId> |
| 26 | <artifactId>common-be</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 27 | <version>${project.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 28 | <scope>compile</scope> |
| 29 | </dependency> |
| 30 | <dependency> |
| 31 | <groupId>org.openecomp.sdc</groupId> |
| 32 | <artifactId>common-app-api</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 33 | <version>${project.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 34 | <scope>compile</scope> |
| 35 | </dependency> |
| 36 | |
| 37 | <dependency> |
| 38 | <groupId>org.openecomp.sdc.be</groupId> |
| 39 | <artifactId>catalog-dao</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 40 | <version>${project.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 41 | <scope>compile</scope> |
| 42 | </dependency> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>org.openecomp.sdc.be</groupId> |
| 46 | <artifactId>catalog-model</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 47 | <version>${project.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 48 | <scope>compile</scope> |
| 49 | </dependency> |
| 50 | |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 51 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 52 | <dependency> |
| 53 | <groupId>org.openecomp.sdc</groupId> |
| 54 | <artifactId>catalog-be</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 55 | <version>${project.version}</version> |
| 56 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 57 | <!-- Comment Out in order to debug in eclipse --> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 58 | <classifier>classes</classifier> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 59 | |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 60 | <exclusions> |
| 61 | <exclusion> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 62 | <groupId>org.openecomp.ecompsdkos</groupId> |
| 63 | <artifactId>epsdk-fw</artifactId> |
| 64 | </exclusion> |
| 65 | |
| 66 | <exclusion> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 67 | <groupId>org.onap.sdc.common</groupId> |
| 68 | <artifactId>onap-sdc-artifact-generator-api</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 69 | </exclusion> |
| 70 | |
| 71 | <exclusion> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 72 | <groupId>org.onap.sdc.common</groupId> |
| 73 | <artifactId>onap-sdc-artifact-generator-core</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 74 | </exclusion> |
| 75 | |
| 76 | <exclusion> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 77 | <groupId>org.onap.sdc.common</groupId> |
| 78 | <artifactId>onap-common-lib</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 79 | </exclusion> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 80 | |
| 81 | <exclusion> |
| 82 | <groupId>com.att.nsa</groupId> |
| 83 | <artifactId>cambriaClient</artifactId> |
| 84 | </exclusion> |
| 85 | <exclusion> |
| 86 | <groupId>com.att.nsa</groupId> |
| 87 | <artifactId>dmaapClient</artifactId> |
| 88 | </exclusion> |
| 89 | <exclusion> |
| 90 | <artifactId>slf4j-log4j12</artifactId> |
| 91 | <groupId>org.slf4j</groupId> |
| 92 | </exclusion> |
| 93 | |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 94 | </exclusions> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 95 | |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 96 | <scope>compile</scope> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 97 | </dependency> |
| 98 | |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 99 | <dependency> |
| 100 | <groupId>org.openecomp.ecompsdkos</groupId> |
| 101 | <artifactId>epsdk-fw</artifactId> |
| 102 | <version>${ecomp.version}</version> |
| 103 | <scope>compile</scope> |
| 104 | <exclusions> |
| 105 | <exclusion> |
| 106 | <groupId>com.att.nsa</groupId> |
| 107 | <artifactId>cambriaClient</artifactId> |
| 108 | </exclusion> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 109 | <exclusion> |
| 110 | <groupId>com.att.nsa</groupId> |
| 111 | <artifactId>dmaapClient</artifactId> |
| 112 | </exclusion> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 113 | <exclusion> |
| 114 | <artifactId>slf4j-log4j12</artifactId> |
| 115 | <groupId>org.slf4j</groupId> |
| 116 | </exclusion> |
| 117 | </exclusions> |
| 118 | </dependency> |
| 119 | |
| 120 | |
| 121 | <!--Artifact Generator--> |
| 122 | <dependency> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 123 | <groupId>org.onap.sdc.common</groupId> |
| 124 | <artifactId>onap-sdc-artifact-generator-api</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 125 | <version>${artifact-generator-api.version}</version> |
| 126 | <scope>compile</scope> |
| 127 | <exclusions> |
| 128 | <exclusion> |
| 129 | <groupId>junit</groupId> |
| 130 | <artifactId>junit</artifactId> |
| 131 | </exclusion> |
| 132 | </exclusions> |
| 133 | </dependency> |
| 134 | |
| 135 | <dependency> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 136 | <groupId>org.onap.sdc.common</groupId> |
| 137 | <artifactId>onap-sdc-artifact-generator-core</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 138 | <version>${artifact-generator-core.version}</version> |
| 139 | <scope>compile</scope> |
| 140 | <exclusions> |
| 141 | <exclusion> |
| 142 | <groupId>junit</groupId> |
| 143 | <artifactId>junit</artifactId> |
| 144 | </exclusion> |
| 145 | </exclusions> |
| 146 | </dependency> |
| 147 | |
| 148 | <dependency> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 149 | <groupId>org.onap.sdc.common</groupId> |
| 150 | <artifactId>onap-common-lib</artifactId> |
Michael Lando | f5500c3 | 2017-07-19 11:23:23 +0300 | [diff] [blame] | 151 | <version>${dox-common-lib.version}</version> |
| 152 | <type>pom</type> |
| 153 | <exclusions> |
| 154 | <exclusion> |
| 155 | <groupId>junit</groupId> |
| 156 | <artifactId>junit</artifactId> |
| 157 | </exclusion> |
| 158 | </exclusions> |
| 159 | </dependency> |
| 160 | |
| 161 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 162 | <!-- ASDC dependencies end --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 163 | <dependency> |
| 164 | <groupId>org.eclipse.jetty</groupId> |
| 165 | <artifactId>jetty-server</artifactId> |
Michael Lando | d618ad6 | 2018-05-13 22:27:13 +0300 | [diff] [blame^] | 166 | <version>${jetty.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 167 | <scope>compile</scope> |
| 168 | </dependency> |
| 169 | |
| 170 | <!-- listen to file changes --> |
| 171 | <dependency> |
| 172 | <groupId>org.apache.commons</groupId> |
| 173 | <artifactId>commons-jci-core</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 174 | <version>${commons-jci-core.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 175 | <scope>compile</scope> |
| 176 | </dependency> |
| 177 | |
| 178 | <dependency> |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 179 | <groupId>commons-cli</groupId> |
| 180 | <artifactId>commons-cli</artifactId> |
| 181 | <version>1.4</version> |
| 182 | </dependency> |
| 183 | |
| 184 | <dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 185 | <groupId>org.eclipse.jetty</groupId> |
| 186 | <artifactId>jetty-servlet</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 187 | <version>${jetty.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 188 | <scope>compile</scope> |
| 189 | </dependency> |
| 190 | |
| 191 | <dependency> |
| 192 | <groupId>org.glassfish.jersey.core</groupId> |
| 193 | <artifactId>jersey-server</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 194 | <version>${jersey-bom.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 195 | <scope>compile</scope> |
| 196 | </dependency> |
| 197 | |
| 198 | <dependency> |
| 199 | <groupId>org.glassfish.jersey.containers</groupId> |
| 200 | <artifactId>jersey-container-servlet-core</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 201 | <version>${jersey-bom.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 202 | <scope>compile</scope> |
| 203 | </dependency> |
| 204 | |
| 205 | <dependency> |
| 206 | <groupId>org.glassfish.jersey.containers</groupId> |
| 207 | <artifactId>jersey-container-jetty-http</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 208 | <version>${jersey-bom.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 209 | <scope>compile</scope> |
| 210 | </dependency> |
| 211 | |
| 212 | <dependency> |
| 213 | <groupId>org.glassfish.jersey.media</groupId> |
| 214 | <artifactId>jersey-media-moxy</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 215 | <version>${jersey-bom.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 216 | <scope>compile</scope> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.glassfish.jersey.media</groupId> |
| 221 | <artifactId>jersey-media-multipart</artifactId> |
| 222 | <version>2.14</version> |
| 223 | <scope>compile</scope> |
| 224 | </dependency> |
| 225 | |
| 226 | <!-- slf4j + logback --> |
| 227 | <dependency> |
| 228 | <groupId>org.slf4j</groupId> |
| 229 | <artifactId>slf4j-api</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 230 | <version>${slf4j-api.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 231 | <scope>compile</scope> |
| 232 | </dependency> |
| 233 | |
| 234 | <dependency> |
| 235 | <groupId>ch.qos.logback</groupId> |
| 236 | <artifactId>logback-classic</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 237 | <version>${logback.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 238 | <scope>compile</scope> |
| 239 | </dependency> |
| 240 | |
| 241 | <dependency> |
| 242 | <groupId>ch.qos.logback</groupId> |
| 243 | <artifactId>logback-core</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 244 | <version>${logback.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 245 | <scope>compile</scope> |
| 246 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 247 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 248 | <!-- groovy --> |
| 249 | <dependency> |
| 250 | <groupId>org.codehaus.groovy</groupId> |
| 251 | <artifactId>groovy-all</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 252 | <version>${groovy.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 253 | <scope>compile</scope> |
| 254 | </dependency> |
| 255 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 256 | <dependency> |
| 257 | <groupId>commons-configuration</groupId> |
| 258 | <artifactId>commons-configuration</artifactId> |
| 259 | <version>1.6</version> |
| 260 | <scope>compile</scope> |
| 261 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 262 | |
| 263 | <!-- TITAN --> |
| 264 | <dependency> |
| 265 | <groupId>com.thinkaurelius.titan</groupId> |
| 266 | <artifactId>titan-core</artifactId> |
| 267 | <version>${titan.version}</version> |
| 268 | <scope>compile</scope> |
| 269 | <exclusions> |
| 270 | <exclusion> |
| 271 | <groupId>org.json</groupId> |
| 272 | <artifactId>json</artifactId> |
| 273 | </exclusion> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 274 | <exclusion> |
| 275 | <groupId>org.slf4j</groupId> |
| 276 | <artifactId>slf4j-log4j12</artifactId> |
| 277 | </exclusion> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 278 | </exclusions> |
| 279 | </dependency> |
| 280 | |
| 281 | <dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 282 | <groupId>com.googlecode.json-simple</groupId> |
| 283 | <artifactId>json-simple</artifactId> |
| 284 | <version>${json-simple.version}</version> |
| 285 | <scope>compile</scope> |
| 286 | </dependency> |
| 287 | |
| 288 | <dependency> |
Michael Lando | c7916a4 | 2018-03-20 12:11:07 +0200 | [diff] [blame] | 289 | <groupId>org.onap.sdc.sdc-titan-cassandra</groupId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 290 | <artifactId>sdc-titan-cassandra</artifactId> |
Michael Lando | c7916a4 | 2018-03-20 12:11:07 +0200 | [diff] [blame] | 291 | <version>${sdc.titan.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 292 | <scope>compile</scope> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 293 | <exclusions> |
| 294 | <exclusion> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 295 | <groupId>org.slf4j</groupId> |
| 296 | <artifactId>slf4j-log4j12</artifactId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 297 | </exclusion> |
| 298 | </exclusions> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 299 | </dependency> |
| 300 | |
| 301 | <dependency> |
| 302 | <groupId>org.apache.tinkerpop</groupId> |
| 303 | <artifactId>tinkergraph-gremlin</artifactId> |
| 304 | <version>3.0.1-incubating</version> |
| 305 | <scope>compile</scope> |
| 306 | </dependency> |
| 307 | |
| 308 | <dependency> |
| 309 | <groupId>org.apache.tinkerpop</groupId> |
| 310 | <artifactId>gremlin-groovy</artifactId> |
| 311 | <version>3.0.1-incubating</version> |
| 312 | <scope>compile</scope> |
| 313 | </dependency> |
| 314 | |
| 315 | <dependency> |
| 316 | <groupId>com.tinkerpop.blueprints</groupId> |
| 317 | <artifactId>blueprints-sail-graph</artifactId> |
| 318 | <version>2.5.0</version> |
| 319 | <optional>true</optional> |
| 320 | <scope>compile</scope> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 321 | <exclusions> |
| 322 | <exclusion> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 323 | <groupId>org.slf4j</groupId> |
| 324 | <artifactId>slf4j-log4j12</artifactId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 325 | </exclusion> |
| 326 | </exclusions> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 327 | </dependency> |
| 328 | |
| 329 | <dependency> |
| 330 | <groupId>com.tinkerpop.blueprints</groupId> |
| 331 | <artifactId>blueprints-graph-sail</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 332 | <version>2.5.0</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 333 | <optional>true</optional> |
| 334 | <scope>compile</scope> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 335 | <exclusions> |
| 336 | <exclusion> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 337 | <groupId>org.slf4j</groupId> |
| 338 | <artifactId>slf4j-log4j12</artifactId> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 339 | </exclusion> |
| 340 | </exclusions> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 341 | </dependency> |
| 342 | |
| 343 | <!-- TITAN end --> |
| 344 | <dependency> |
| 345 | <groupId>commons-logging</groupId> |
| 346 | <artifactId>commons-logging</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 347 | <version>${commons-logging}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 348 | <scope>compile</scope> |
| 349 | </dependency> |
| 350 | |
| 351 | <dependency> |
| 352 | <groupId>commons-codec</groupId> |
| 353 | <artifactId>commons-codec</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 354 | <version>${commons-codec}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 355 | <scope>compile</scope> |
| 356 | </dependency> |
| 357 | <dependency> |
| 358 | <groupId>com.fasterxml.jackson.core</groupId> |
| 359 | <artifactId>jackson-core</artifactId> |
| 360 | <version>${jackson.version}</version> |
| 361 | <scope>compile</scope> |
| 362 | </dependency> |
| 363 | |
| 364 | <dependency> |
| 365 | <groupId>com.fasterxml.jackson.core</groupId> |
| 366 | <artifactId>jackson-databind</artifactId> |
| 367 | <version>${jackson.version}</version> |
| 368 | <scope>compile</scope> |
| 369 | </dependency> |
| 370 | |
| 371 | <dependency> |
| 372 | <groupId>com.fasterxml.jackson.core</groupId> |
| 373 | <artifactId>jackson-annotations</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 374 | <version>${jackson.annotations.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 375 | <scope>compile</scope> |
| 376 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 377 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 378 | <dependency> |
| 379 | <groupId>com.google.code.gson</groupId> |
| 380 | <artifactId>gson</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 381 | <version>${gson.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 382 | <scope>compile</scope> |
| 383 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 384 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 385 | <dependency> |
| 386 | <groupId>org.apache.httpcomponents</groupId> |
| 387 | <artifactId>httpclient</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 388 | <version>${httpclient.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 389 | <scope>compile</scope> |
| 390 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 391 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 392 | <dependency> |
| 393 | <groupId>org.apache.httpcomponents</groupId> |
| 394 | <artifactId>httpcore</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 395 | <version>${httpcore.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 396 | <scope>compile</scope> |
| 397 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 398 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 399 | <!-- Spring 4 dependencies --> |
| 400 | <dependency> |
| 401 | <groupId>org.springframework</groupId> |
| 402 | <artifactId>spring-core</artifactId> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 403 | <version>${spring.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 404 | <scope>compile</scope> |
| 405 | </dependency> |
| 406 | |
| 407 | <dependency> |
| 408 | <groupId>org.springframework</groupId> |
| 409 | <artifactId>spring-context</artifactId> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 410 | <version>${spring.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 411 | <scope>compile</scope> |
| 412 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 413 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 414 | <dependency> |
| 415 | <groupId>org.springframework</groupId> |
| 416 | <artifactId>spring-expression</artifactId> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 417 | <version>${spring.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 418 | <scope>compile</scope> |
| 419 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 420 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 421 | <dependency> |
| 422 | <groupId>org.springframework</groupId> |
| 423 | <artifactId>spring-beans</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 424 | <version>${spring.version}</version> |
| 425 | <!--<version>4.0.7.RELEASE</version>--> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 426 | <scope>compile</scope> |
| 427 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 428 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 429 | <dependency> |
| 430 | <groupId>org.springframework</groupId> |
| 431 | <artifactId>spring-aop</artifactId> |
Michael Lando | c0ac015 | 2017-02-27 23:48:43 +0200 | [diff] [blame] | 432 | <version>${spring.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 433 | <scope>compile</scope> |
| 434 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 435 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 436 | <!-- Spring 4 dependencies end --> |
| 437 | <!-- JavaConfig need this library --> |
| 438 | <dependency> |
| 439 | <groupId>cglib</groupId> |
| 440 | <artifactId>cglib</artifactId> |
| 441 | <version>3.2.4</version> |
| 442 | <scope>compile</scope> |
| 443 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 444 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 445 | <dependency> |
| 446 | <groupId>org.yaml</groupId> |
| 447 | <artifactId>snakeyaml</artifactId> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 448 | <version>${snakeyaml.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 449 | <scope>compile</scope> |
| 450 | </dependency> |
| 451 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 452 | <dependency> |
| 453 | <groupId>org.functionaljava</groupId> |
| 454 | <artifactId>functionaljava</artifactId> |
| 455 | <version>${functionaljava.version}</version> |
| 456 | <scope>compile</scope> |
| 457 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 458 | |
| 459 | <dependency> |
| 460 | <groupId>org.elasticsearch</groupId> |
| 461 | <artifactId>elasticsearch</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 462 | <version>${elastic-search.version}</version> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 463 | <scope>compile</scope> |
| 464 | </dependency> |
| 465 | |
| 466 | <dependency> |
| 467 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 468 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 469 | <version>${jackson.version}</version> |
| 470 | <scope>compile</scope> |
| 471 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 472 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 473 | <dependency> |
| 474 | <groupId>org.elasticsearch.plugin</groupId> |
| 475 | <artifactId>shield</artifactId> |
| 476 | <version>${elastic-search.version}</version> |
| 477 | <scope>compile</scope> |
| 478 | </dependency> |
| 479 | |
| 480 | <!-- CASSANDRA --> |
| 481 | <dependency> |
| 482 | <groupId>com.datastax.cassandra</groupId> |
| 483 | <artifactId>cassandra-driver-core</artifactId> |
| 484 | <version>${cassandra.driver.version}</version> |
| 485 | <scope>compile</scope> |
| 486 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 487 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 488 | <dependency> |
| 489 | <groupId>com.datastax.cassandra</groupId> |
| 490 | <artifactId>cassandra-driver-mapping</artifactId> |
| 491 | <version>${cassandra.driver.version}</version> |
| 492 | <scope>compile</scope> |
| 493 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 494 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 495 | <!-- CASSANDRA END --> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 496 | |
| 497 | <!-- OPEN CSV --> |
| 498 | <dependency> |
| 499 | <groupId>com.opencsv</groupId> |
| 500 | <artifactId>opencsv</artifactId> |
| 501 | <version>4.0</version> |
| 502 | <scope>compile</scope> |
| 503 | </dependency> |
| 504 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 505 | <dependency> |
| 506 | <groupId>org.apache.poi</groupId> |
| 507 | <artifactId>com.springsource.org.apache.poi</artifactId> |
| 508 | <version>3.9.0.FINAL</version> |
| 509 | <scope>compile</scope> |
| 510 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 511 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 512 | <dependency> |
| 513 | <groupId>org.jdom</groupId> |
| 514 | <artifactId>jdom</artifactId> |
| 515 | <version>2.0.2</version> |
| 516 | <scope>compile</scope> |
| 517 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 518 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 519 | <!-- Temporary, till building the populate task which adding all components |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 520 | to cache. We will use Serialization Utils. --> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 521 | <dependency> |
| 522 | <groupId>de.ruedigermoeller</groupId> |
| 523 | <artifactId>fst</artifactId> |
| 524 | <version>2.47</version> |
| 525 | <scope>compile</scope> |
| 526 | </dependency> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 527 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 528 | <!-- testing --> |
| 529 | <dependency> |
| 530 | <groupId>junit</groupId> |
| 531 | <artifactId>junit</artifactId> |
| 532 | <version>${junit.version}</version> |
| 533 | <scope>test</scope> |
| 534 | </dependency> |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 535 | |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 536 | <dependency> |
| 537 | <groupId>org.testng</groupId> |
| 538 | <artifactId>testng</artifactId> |
| 539 | <version>${testng.version}</version> |
| 540 | <scope>test</scope> |
| 541 | </dependency> |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 542 | |
| 543 | <dependency> |
| 544 | <groupId>org.mockito</groupId> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 545 | <artifactId>mockito-core</artifactId> |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 546 | <scope>test</scope> |
| 547 | </dependency> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 548 | <!-- testing end --> |
| 549 | |
| 550 | </dependencies> |
| 551 | |
| 552 | <build> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 553 | <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 554 | <plugins> |
| 555 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 556 | <plugin> |
| 557 | <groupId>org.apache.maven.plugins</groupId> |
| 558 | <artifactId>maven-deploy-plugin</artifactId> |
| 559 | <version>2.7</version> |
| 560 | <configuration> |
| 561 | <skip>true</skip> |
| 562 | </configuration> |
| 563 | </plugin> |
| 564 | |
| 565 | <plugin> |
| 566 | <groupId>org.apache.maven.plugins</groupId> |
| 567 | <artifactId>maven-assembly-plugin</artifactId> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 568 | <executions> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 569 | <execution> |
| 570 | <configuration> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 571 | <finalName>sdctool</finalName> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 572 | <appendAssemblyId>false</appendAssemblyId> |
Michael Lando | 02ab651 | 2018-04-05 23:32:27 +0300 | [diff] [blame] | 573 | <descriptors> |
| 574 | <descriptor>${project.basedir}/tarball.xml</descriptor> |
| 575 | </descriptors> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 576 | </configuration> |
| 577 | <id>assemble-file</id> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 578 | <phase>verify</phase> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 579 | <goals> |
| 580 | <goal>single</goal> |
| 581 | </goals> |
| 582 | </execution> |
| 583 | </executions> |
| 584 | </plugin> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 585 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 586 | <plugin> |
| 587 | <groupId>org.apache.maven.plugins</groupId> |
| 588 | <artifactId>maven-shade-plugin</artifactId> |
| 589 | <version>3.1.0</version> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 590 | <executions> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 591 | <execution> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 592 | <phase>package</phase> |
| 593 | <goals> |
| 594 | <goal>shade</goal> |
| 595 | </goals> |
| 596 | <configuration> |
| 597 | <filters> |
| 598 | <filter> |
| 599 | <artifact>org.openecomp.sdc:*</artifact> |
| 600 | <excludes> |
| 601 | <exclude>**/elasticsearch.yml</exclude> |
| 602 | </excludes> |
| 603 | </filter> |
| 604 | <filter> |
| 605 | <artifact>*:*</artifact> |
| 606 | <excludes> |
| 607 | <exclude>META-INF/*.SF</exclude> |
| 608 | <exclude>META-INF/*.DSA</exclude> |
| 609 | <exclude>META-INF/*.RSA</exclude> |
| 610 | </excludes> |
| 611 | </filter> |
| 612 | </filters> |
| 613 | <transformers> |
| 614 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 615 | </transformers> |
| 616 | </configuration> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 617 | </execution> |
| 618 | </executions> |
| 619 | </plugin> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 620 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 621 | <plugin> |
| 622 | <artifactId>maven-clean-plugin</artifactId> |
| 623 | <version>3.0.0</version> |
| 624 | <executions> |
| 625 | <execution> |
| 626 | <id>clean-static-files</id> |
| 627 | <phase>clean</phase> |
| 628 | <goals> |
| 629 | <goal>clean</goal> |
| 630 | </goals> |
| 631 | <configuration> |
| 632 | <filesets> |
| 633 | <!-- tosca files --> |
| 634 | <fileset> |
| 635 | <directory>${project.parent.basedir}/asdctool/tosca</directory> |
| 636 | <followSymlinks>false</followSymlinks> |
| 637 | </fileset> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 638 | <fileset> |
| 639 | <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory> |
| 640 | <followSymlinks>false</followSymlinks> |
| 641 | <includes> |
| 642 | <include>**/default.rb</include> |
| 643 | </includes> |
| 644 | </fileset> |
| 645 | <fileset> |
| 646 | <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory> |
| 647 | <followSymlinks>false</followSymlinks> |
| 648 | </fileset> |
| 649 | <fileset> |
| 650 | <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory> |
| 651 | <followSymlinks>false</followSymlinks> |
| 652 | <includes> |
| 653 | <include>**/sdctool.tar</include> |
| 654 | </includes> |
| 655 | </fileset> |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 656 | </filesets> |
| 657 | </configuration> |
| 658 | </execution> |
| 659 | </executions> |
| 660 | </plugin> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 661 | <plugin> |
| 662 | <groupId>ru.yaal.maven</groupId> |
| 663 | <artifactId>write-text-files-maven-plugin</artifactId> |
| 664 | <version>1.1</version> |
| 665 | <configuration> |
| 666 | <charset>UTF-8</charset> |
| 667 | <files> |
| 668 | <file> |
| 669 | <path> |
| 670 | ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb |
| 671 | </path> |
| 672 | <lines> |
| 673 | <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line> |
| 674 | </lines> |
| 675 | </file> |
| 676 | </files> |
| 677 | </configuration> |
| 678 | <executions> |
| 679 | <execution> |
| 680 | <id>write-text-files</id> |
| 681 | <phase>prepare-package</phase> |
| 682 | <goals> |
| 683 | <goal>write-text-files</goal> |
| 684 | </goals> |
| 685 | </execution> |
| 686 | </executions> |
| 687 | </plugin> |
| 688 | <plugin> |
| 689 | <groupId>org.apache.maven.plugins</groupId> |
| 690 | <artifactId>maven-resources-plugin</artifactId> |
| 691 | <version>3.0.2</version> |
| 692 | <executions> |
| 693 | |
| 694 | <execution> |
| 695 | <id>copy-tosca-folder</id> |
| 696 | <!-- here the phase you need --> |
| 697 | <phase>compile</phase> |
| 698 | <goals> |
| 699 | <goal>copy-resources</goal> |
| 700 | </goals> |
| 701 | <configuration> |
| 702 | <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory> |
| 703 | <resources> |
| 704 | <resource> |
| 705 | <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory> |
| 706 | <filtering>true</filtering> |
| 707 | </resource> |
| 708 | </resources> |
| 709 | </configuration> |
| 710 | </execution> |
| 711 | |
| 712 | </executions> |
| 713 | </plugin> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 714 | </plugins> |
| 715 | </build> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 716 | <profiles> |
| 717 | <profile> |
| 718 | <id>docker-staging</id> |
| 719 | <properties> |
| 720 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 721 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 722 | </properties> |
| 723 | </profile> |
| 724 | <profile> |
| 725 | <id>docker</id> |
| 726 | <activation> |
| 727 | <activeByDefault>false</activeByDefault> |
| 728 | </activation> |
| 729 | <build> |
| 730 | <plugins> |
| 731 | <plugin> |
| 732 | <artifactId>maven-resources-plugin</artifactId> |
| 733 | <version>3.0.2</version> |
| 734 | <executions> |
| 735 | <execution> |
| 736 | <id>copy-dox-files</id> |
| 737 | <phase>verify</phase> |
| 738 | <goals> |
| 739 | <goal>copy-resources</goal> |
| 740 | </goals> |
| 741 | <configuration> |
| 742 | <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory> |
| 743 | <resources> |
| 744 | <resource> |
| 745 | <directory>${project.parent.basedir}/openecomp-be</directory> |
| 746 | <includes> |
| 747 | <include>tools/build/**</include> |
| 748 | </includes> |
| 749 | </resource> |
| 750 | <resource> |
| 751 | <directory>${project.parent.basedir}/openecomp-be</directory> |
| 752 | <includes> |
| 753 | <include>tools/install/**</include> |
| 754 | </includes> |
| 755 | </resource> |
| 756 | </resources> |
| 757 | </configuration> |
| 758 | </execution> |
| 759 | <execution> |
| 760 | <id>copy-sdctool</id> |
| 761 | <phase>verify</phase> |
| 762 | <goals> |
| 763 | <goal>copy-resources</goal> |
| 764 | </goals> |
| 765 | <configuration> |
| 766 | <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory> |
| 767 | <resources> |
| 768 | <resource> |
| 769 | <directory>${project.parent.basedir}/asdctool/target</directory> |
| 770 | <includes> |
| 771 | <include>sdctool.tar</include> |
| 772 | </includes> |
| 773 | </resource> |
| 774 | </resources> |
| 775 | </configuration> |
| 776 | </execution> |
| 777 | </executions> |
| 778 | </plugin> |
| 779 | <plugin> |
| 780 | <groupId>io.fabric8</groupId> |
| 781 | <artifactId>docker-maven-plugin</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 782 | <version>${fabric8.version}</version> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 783 | |
| 784 | <configuration> |
| 785 | <verbose>true</verbose> |
| 786 | <apiVersion>1.23</apiVersion> |
| 787 | <registry>nexus3.onap.org:10001</registry> |
| 788 | <authConfig> |
| 789 | <pull> |
| 790 | <username>docker</username> |
| 791 | <password>docker</password> |
| 792 | </pull> |
| 793 | </authConfig> |
| 794 | <images> |
| 795 | <!-- Build cassandra-init image --> |
| 796 | <image> |
| 797 | <name>onap/sdc-cassandra-init</name> |
| 798 | <alias>sdc-cassandra-init</alias> |
| 799 | <build> |
| 800 | <cleanup>try</cleanup> |
| 801 | <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir> |
| 802 | <tags> |
| 803 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 804 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 805 | </tags> |
| 806 | </build> |
| 807 | </image> |
| 808 | </images> |
| 809 | </configuration> |
| 810 | <executions> |
| 811 | <execution> |
| 812 | <id>clean-images</id> |
| 813 | <phase>pre-clean</phase> |
| 814 | <goals> |
| 815 | <goal>remove</goal> |
| 816 | </goals> |
| 817 | <configuration> |
| 818 | <removeAll>true</removeAll> |
| 819 | <image>onap/sdc-cassandra-init</image> |
| 820 | </configuration> |
| 821 | </execution> |
| 822 | |
| 823 | <execution> |
| 824 | <id>generate-images</id> |
| 825 | <phase>install</phase> |
| 826 | <goals> |
| 827 | <goal>build</goal> |
| 828 | </goals> |
| 829 | </execution> |
| 830 | |
| 831 | <execution> |
| 832 | <id>push-images</id> |
| 833 | <phase>deploy</phase> |
| 834 | <goals> |
| 835 | <goal>push</goal> |
| 836 | </goals> |
| 837 | <configuration> |
| 838 | <image>onap/sdc-cassandra-init</image> |
| 839 | </configuration> |
| 840 | </execution> |
| 841 | </executions> |
| 842 | </plugin> |
| 843 | </plugins> |
| 844 | </build> |
| 845 | </profile> |
| 846 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 847 | </project> |