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