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