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