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