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