Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | ea65269 | 2019-01-08 15:56:26 -0500 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.ccsdk.parent</groupId> |
| 7 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame] | 8 | <version>1.4.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | ea65269 | 2019-01-08 15:56:26 -0500 | [diff] [blame] | 9 | <relativePath/> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 10 | </parent> |
| 11 | |
| 12 | <groupId>org.onap.ccsdk.distribution</groupId> |
| 13 | <artifactId>distribution-odlsli-alpine</artifactId> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame] | 14 | <version>0.6.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 15 | <packaging>pom</packaging> |
| 16 | |
| 17 | <name>ccsdk-distribution :: odlsli-alpine</name> |
Timoney, Dan (dt5972) | e7cfae5 | 2019-01-03 15:14:58 -0500 | [diff] [blame] | 18 | <description>Creates Alpine-based ODLSLI Docker container</description> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 19 | <organization> |
| 20 | <name>openECOMP</name> |
| 21 | </organization> |
| 22 | |
| 23 | <properties> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame] | 24 | <base.image.name>onap/ccsdk-odl-neon-alpine-image</base.image.name> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 25 | <image.name>onap/ccsdk-odlsli-alpine-image</image.name> |
| 26 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
Timoney, Dan (dt5972) | 268c4ba | 2019-02-12 14:35:10 -0500 | [diff] [blame] | 27 | <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame] | 28 | <ccsdk.features.version>0.6.0-SNAPSHOT</ccsdk.features.version> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 29 | <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy> |
| 30 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 31 | <opendaylight.root>opt/opendaylight</opendaylight.root> |
| 32 | <docker.push.phase>deploy</docker.push.phase> |
| 33 | <docker.verbose>true</docker.verbose> |
| 34 | <ansible.gpg.key>93C4A3FD7BB9C367</ansible.gpg.key> |
janani b | c7bc0f7 | 2019-03-22 14:37:52 +0530 | [diff] [blame] | 35 | <odl.features.extra>odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs, odl-daexim-all, odl-restconf-nb-rfc8040</odl.features.extra> |
Timoney, Dan (dt5972) | aa9d825 | 2019-02-04 18:02:21 -0500 | [diff] [blame] | 36 | <ccsdk.odl.features>ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all</ccsdk.odl.features> |
| 37 | <odl.boot.features.extra>${odl.features.extra},${ccsdk.odl.features}</odl.boot.features.extra> |
Timoney, Dan (dt5972) | 8433d52 | 2019-07-23 14:29:58 -0400 | [diff] [blame] | 38 | |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame] | 39 | <ccsdk.sli.core.version>0.6.0-SNAPSHOT</ccsdk.sli.core.version> |
| 40 | <ccsdk.sli.adaptors.version>0.6.0-SNAPSHOT</ccsdk.sli.adaptors.version> |
| 41 | <ccsdk.sli.northbound.version>0.6.0-SNAPSHOT</ccsdk.sli.northbound.version> |
| 42 | <ccsdk.sli.plugins.version>0.6.0-SNAPSHOT</ccsdk.sli.plugins.version> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 43 | </properties> |
Sandeep Shah | b7c724b | 2019-04-27 03:05:08 -0500 | [diff] [blame] | 44 | |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 45 | <dependencies> |
| 46 | <dependency> |
| 47 | <groupId>${project.groupId}</groupId> |
| 48 | <artifactId>dependencies</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | <classifier>repo</classifier> |
| 51 | <type>zip</type> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
| 55 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 56 | <artifactId>dblib-installer</artifactId> |
| 57 | <version>${ccsdk.sli.core.version}</version> |
| 58 | <classifier>repo</classifier> |
| 59 | <type>zip</type> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 63 | <artifactId>filters-installer</artifactId> |
| 64 | <version>${ccsdk.sli.core.version}</version> |
| 65 | <classifier>repo</classifier> |
| 66 | <type>zip</type> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 70 | <artifactId>sli-installer</artifactId> |
| 71 | <version>${ccsdk.sli.core.version}</version> |
| 72 | <classifier>repo</classifier> |
| 73 | <type>zip</type> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 77 | <artifactId>sliapi-installer</artifactId> |
| 78 | <version>${ccsdk.sli.core.version}</version> |
| 79 | <classifier>repo</classifier> |
| 80 | <type>zip</type> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 84 | <artifactId>sliPluginUtils-installer</artifactId> |
| 85 | <version>${ccsdk.sli.core.version}</version> |
| 86 | <classifier>repo</classifier> |
| 87 | <type>zip</type> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 91 | <artifactId>utils-installer</artifactId> |
| 92 | <version>${ccsdk.sli.core.version}</version> |
| 93 | <classifier>repo</classifier> |
| 94 | <type>zip</type> |
| 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 98 | <artifactId>slicore-features-installer</artifactId> |
| 99 | <version>${ccsdk.sli.core.version}</version> |
| 100 | <classifier>repo</classifier> |
| 101 | <type>zip</type> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 105 | <artifactId>aai-service-installer</artifactId> |
| 106 | <version>${ccsdk.sli.adaptors.version}</version> |
| 107 | <classifier>repo</classifier> |
| 108 | <type>zip</type> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 112 | <artifactId>ansible-adapter-installer</artifactId> |
| 113 | <version>${ccsdk.sli.adaptors.version}</version> |
| 114 | <classifier>repo</classifier> |
| 115 | <type>zip</type> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Timoney, Dan (dt5972) | 0f4c96b | 2019-08-15 09:35:16 -0400 | [diff] [blame] | 119 | <artifactId>base-http-installer</artifactId> |
| 120 | <version>${ccsdk.sli.adaptors.version}</version> |
| 121 | <classifier>repo</classifier> |
| 122 | <type>zip</type> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 126 | <artifactId>mdsal-resource-installer</artifactId> |
| 127 | <version>${ccsdk.sli.adaptors.version}</version> |
| 128 | <classifier>repo</classifier> |
| 129 | <type>zip</type> |
| 130 | </dependency> |
| 131 | <dependency> |
Timoney, Dan (dt5972) | bdd9011 | 2019-03-28 10:30:45 -0400 | [diff] [blame] | 132 | <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> |
| 133 | <artifactId>publisher.installer</artifactId> |
| 134 | <version>${ccsdk.sli.adaptors.version}</version> |
| 135 | <classifier>repo</classifier> |
| 136 | <type>zip</type> |
| 137 | </dependency> |
| 138 | <dependency> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 139 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Timoney, Dan (dt5972) | c3c7475 | 2019-01-30 10:58:25 -0500 | [diff] [blame] | 140 | <artifactId>netbox-client-installer</artifactId> |
| 141 | <version>${ccsdk.sli.adaptors.version}</version> |
| 142 | <classifier>repo</classifier> |
| 143 | <type>zip</type> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 147 | <artifactId>resource-assignment-installer</artifactId> |
| 148 | <version>${ccsdk.sli.adaptors.version}</version> |
| 149 | <classifier>repo</classifier> |
| 150 | <type>zip</type> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Timoney, Dan (dt5972) | c3c7475 | 2019-01-30 10:58:25 -0500 | [diff] [blame] | 154 | <artifactId>saltstack-adapter-installer</artifactId> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 155 | <version>${ccsdk.sli.adaptors.version}</version> |
| 156 | <classifier>repo</classifier> |
| 157 | <type>zip</type> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 161 | <artifactId>sql-resource-installer</artifactId> |
| 162 | <version>${ccsdk.sli.adaptors.version}</version> |
| 163 | <classifier>repo</classifier> |
| 164 | <type>zip</type> |
| 165 | </dependency> |
Timoney, Dan (dt5972) | a92a838 | 2019-04-02 10:35:09 -0700 | [diff] [blame] | 166 | <dependency> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 167 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 168 | <artifactId>sliadaptors-features-installer</artifactId> |
| 169 | <version>${ccsdk.sli.adaptors.version}</version> |
| 170 | <classifier>repo</classifier> |
| 171 | <type>zip</type> |
Timoney, Dan (dt5972) | a92a838 | 2019-04-02 10:35:09 -0700 | [diff] [blame] | 172 | </dependency> |
| 173 | |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 174 | <dependency> |
| 175 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 176 | <artifactId>asdcApi-installer</artifactId> |
| 177 | <version>${ccsdk.sli.northbound.version}</version> |
| 178 | <classifier>repo</classifier> |
| 179 | <type>zip</type> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 183 | <artifactId>dataChange-installer</artifactId> |
| 184 | <version>${ccsdk.sli.northbound.version}</version> |
| 185 | <classifier>repo</classifier> |
| 186 | <type>zip</type> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 190 | <artifactId>lcm-installer</artifactId> |
| 191 | <version>${ccsdk.sli.northbound.version}</version> |
| 192 | <classifier>repo</classifier> |
| 193 | <type>zip</type> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 197 | <artifactId>slinorthbound-features-installer</artifactId> |
| 198 | <version>${ccsdk.sli.northbound.version}</version> |
| 199 | <classifier>repo</classifier> |
| 200 | <type>zip</type> |
| 201 | </dependency> |
| 202 | <dependency> |
| 203 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
| 204 | <artifactId>properties-node-installer</artifactId> |
| 205 | <version>${ccsdk.sli.plugins.version}</version> |
| 206 | <classifier>repo</classifier> |
| 207 | <type>zip</type> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
| 211 | <artifactId>restapi-call-node-installer</artifactId> |
| 212 | <version>${ccsdk.sli.plugins.version}</version> |
| 213 | <classifier>repo</classifier> |
| 214 | <type>zip</type> |
| 215 | </dependency> |
| 216 | <dependency> |
| 217 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
Munir Ahmad | df56c57 | 2019-01-09 08:45:42 -0500 | [diff] [blame] | 218 | <artifactId>template-node-installer</artifactId> |
| 219 | <version>${ccsdk.sli.plugins.version}</version> |
| 220 | <classifier>repo</classifier> |
| 221 | <type>zip</type> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 225 | <artifactId>restconf-client-installer</artifactId> |
| 226 | <version>${ccsdk.sli.plugins.version}</version> |
| 227 | <classifier>repo</classifier> |
| 228 | <type>zip</type> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
| 232 | <artifactId>sshapi-call-node-installer</artifactId> |
| 233 | <version>${ccsdk.sli.plugins.version}</version> |
| 234 | <classifier>repo</classifier> |
| 235 | <type>zip</type> |
| 236 | </dependency> |
| 237 | <dependency> |
| 238 | <groupId>org.onap.ccsdk.sli.plugins</groupId> |
| 239 | <artifactId>sliplugins-features-installer</artifactId> |
| 240 | <version>${ccsdk.sli.plugins.version}</version> |
| 241 | <classifier>repo</classifier> |
| 242 | <type>zip</type> |
| 243 | </dependency> |
| 244 | <dependency> |
| 245 | <groupId>org.onap.ccsdk.features</groupId> |
| 246 | <artifactId>features-installer</artifactId> |
| 247 | <version>${ccsdk.features.version}</version> |
| 248 | <classifier>repo</classifier> |
| 249 | <type>zip</type> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.onap.ccsdk.features</groupId> |
| 253 | <artifactId>blueprints-processor-installer</artifactId> |
| 254 | <version>${ccsdk.features.version}</version> |
| 255 | <classifier>repo</classifier> |
| 256 | <type>zip</type> |
| 257 | </dependency> |
Herbert Eiselt | 14e3242 | 2019-03-13 20:29:18 +0100 | [diff] [blame] | 258 | <dependency> |
| 259 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 260 | <artifactId>sdnr-wt-feature-aggregator-installer</artifactId> |
| 261 | <version>${ccsdk.features.version}</version> |
| 262 | <classifier>repo</classifier> |
| 263 | <type>zip</type> |
| 264 | </dependency> |
Ubuntu | c4acdc6 | 2019-02-20 20:05:48 +0000 | [diff] [blame] | 265 | <dependency> |
| 266 | <groupId>org.onap.ccsdk.features</groupId> |
| 267 | <artifactId>aafshiro-installer</artifactId> |
| 268 | <version>${ccsdk.features.version}</version> |
| 269 | <classifier>repo</classifier> |
| 270 | <type>zip</type> |
| 271 | </dependency> |
Sandeep Shah | b7c724b | 2019-04-27 03:05:08 -0500 | [diff] [blame] | 272 | <dependency> |
| 273 | <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId> |
| 274 | <artifactId>sdnr-northbound-features-installer</artifactId> |
| 275 | <version>${ccsdk.features.version}</version> |
| 276 | <classifier>repo</classifier> |
| 277 | <type>zip</type> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId> |
| 281 | <artifactId>oofpcipoc-installer</artifactId> |
| 282 | <version>${ccsdk.features.version}</version> |
| 283 | <classifier>repo</classifier> |
| 284 | <type>zip</type> |
| 285 | </dependency> |
| 286 | |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 287 | </dependencies> |
| 288 | |
| 289 | <build> |
| 290 | <extensions> |
| 291 | <extension> |
| 292 | <!-- this extension is required by wagon in order to pass the proxy --> |
| 293 | <groupId>org.apache.maven.wagon</groupId> |
| 294 | <artifactId>wagon-http-lightweight</artifactId> |
| 295 | <version>2.2</version> |
| 296 | </extension> |
| 297 | </extensions> |
| 298 | <plugins> |
| 299 | |
| 300 | |
| 301 | <plugin> |
| 302 | <groupId>org.codehaus.groovy.maven</groupId> |
| 303 | <artifactId>gmaven-plugin</artifactId> |
| 304 | <executions> |
| 305 | <execution> |
| 306 | <phase>validate</phase> |
| 307 | <goals> |
| 308 | <goal>execute</goal> |
| 309 | </goals> |
| 310 | <configuration> |
Timoney, Dan (dt5972) | 268c4ba | 2019-02-12 14:35:10 -0500 | [diff] [blame] | 311 | <source>${basedir}/../../src/main/scripts/TagVersion.groovy</source> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 312 | </configuration> |
| 313 | </execution> |
| 314 | </executions> |
| 315 | </plugin> |
| 316 | |
| 317 | |
| 318 | |
| 319 | <plugin> |
| 320 | <artifactId>maven-resources-plugin</artifactId> |
| 321 | <version>2.6</version> |
| 322 | <executions> |
| 323 | <execution> |
| 324 | <id>copy-dockerfile</id> |
| 325 | <goals> |
| 326 | <goal>copy-resources</goal> |
| 327 | </goals><!-- here the phase you need --> |
| 328 | <phase>validate</phase> |
| 329 | <configuration> |
| 330 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 331 | <resources> |
| 332 | <resource> |
| 333 | <directory>src/main/docker</directory> |
| 334 | <includes> |
| 335 | <include>Dockerfile</include> |
| 336 | </includes> |
| 337 | <filtering>true</filtering> |
| 338 | </resource> |
| 339 | </resources> |
| 340 | </configuration> |
| 341 | </execution> |
| 342 | |
| 343 | <execution> |
| 344 | <id>copy-scripts</id> |
| 345 | <goals> |
| 346 | <goal>copy-resources</goal> |
| 347 | </goals><!-- here the phase you need --> |
| 348 | <phase>validate</phase> |
| 349 | <configuration> |
| 350 | <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/bin</outputDirectory> |
| 351 | <resources> |
| 352 | <resource> |
| 353 | <directory>../src/main/scripts</directory> |
| 354 | <includes> |
| 355 | <include>*.sh</include> |
| 356 | </includes> |
| 357 | <filtering>false</filtering> |
| 358 | </resource> |
| 359 | </resources> |
| 360 | </configuration> |
| 361 | </execution> |
| 362 | |
| 363 | <execution> |
| 364 | <id>copy-odl-resources</id> |
| 365 | <goals> |
| 366 | <goal>copy-resources</goal> |
| 367 | </goals><!-- here the phase you need --> |
| 368 | <phase>validate</phase> |
| 369 | <configuration> |
| 370 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 371 | <resources> |
| 372 | <resource> |
| 373 | <directory>../src/main/resources</directory> |
| 374 | <includes> |
| 375 | <include>idmlight.db.mv.db</include> |
| 376 | <include>org.ops4j.pax.logging.cfg</include> |
| 377 | <include>install_ccsdk.yml</include> |
| 378 | <include>ansible-sources.list</include> |
| 379 | </includes> |
| 380 | <filtering>false</filtering> |
| 381 | </resource> |
| 382 | </resources> |
| 383 | </configuration> |
| 384 | </execution> |
| 385 | <execution> |
| 386 | <id>copy-config</id> |
| 387 | <goals> |
| 388 | <goal>copy-resources</goal> |
| 389 | </goals><!-- here the phase you need --> |
| 390 | <phase>validate</phase> |
| 391 | <configuration> |
| 392 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 393 | <resources> |
| 394 | <resource> |
| 395 | <directory>../src/main/resources</directory> |
| 396 | <includes> |
| 397 | <include>org.ops4j.pax.logging.cfg</include> |
| 398 | </includes> |
| 399 | <filtering>false</filtering> |
| 400 | </resource> |
| 401 | </resources> |
| 402 | </configuration> |
| 403 | </execution> |
| 404 | <execution> |
| 405 | <id>copy-data</id> |
| 406 | <goals> |
| 407 | <goal>copy-resources</goal> |
| 408 | </goals><!-- here the phase you need --> |
| 409 | <phase>validate</phase> |
| 410 | <configuration> |
| 411 | <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data</outputDirectory> |
| 412 | <resources> |
| 413 | <resource> |
| 414 | <directory>../src/main/resources</directory> |
| 415 | <includes> |
| 416 | <include>*.dump</include> |
| 417 | </includes> |
| 418 | <filtering>false</filtering> |
| 419 | </resource> |
| 420 | </resources> |
| 421 | </configuration> |
| 422 | </execution> |
| 423 | <execution> |
| 424 | <id>copy-properties</id> |
| 425 | <goals> |
| 426 | <goal>copy-resources</goal> |
| 427 | </goals><!-- here the phase you need --> |
| 428 | <phase>validate</phase> |
| 429 | <configuration> |
| 430 | <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/properties</outputDirectory> |
| 431 | <resources> |
| 432 | <resource> |
| 433 | <directory>../src/main/properties</directory> |
| 434 | <includes> |
| 435 | <include>*.properties</include> |
Sandeep Shah | e35e1c0 | 2019-07-02 15:05:50 -0500 | [diff] [blame] | 436 | <include>*.vt</include> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 437 | </includes> |
| 438 | <filtering>false</filtering> |
| 439 | </resource> |
| 440 | </resources> |
| 441 | </configuration> |
| 442 | </execution> |
| 443 | <execution> |
| 444 | <id>copy-keystores</id> |
| 445 | <goals> |
| 446 | <goal>copy-resources</goal> |
| 447 | </goals><!-- here the phase you need --> |
| 448 | <phase>validate</phase> |
| 449 | <configuration> |
| 450 | <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/stores</outputDirectory> |
| 451 | <resources> |
| 452 | <resource> |
| 453 | <directory>../src/main/stores</directory> |
| 454 | <includes> |
| 455 | <include>*.jks</include> |
| 456 | </includes> |
| 457 | <filtering>false</filtering> |
| 458 | </resource> |
| 459 | </resources> |
| 460 | </configuration> |
| 461 | </execution> |
| 462 | </executions> |
| 463 | </plugin> |
| 464 | <plugin> |
| 465 | <groupId>org.apache.maven.plugins</groupId> |
| 466 | <artifactId>maven-dependency-plugin</artifactId> |
| 467 | <version>3.0.2</version> |
| 468 | <executions> |
| 469 | <execution> |
| 470 | <id>unpack features</id> |
| 471 | <phase>generate-sources</phase> |
| 472 | <goals> |
| 473 | <goal>unpack-dependencies</goal> |
| 474 | </goals> |
| 475 | <configuration> |
| 476 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 477 | <excludeTransitive>true</excludeTransitive> |
| 478 | </configuration> |
| 479 | </execution> |
| 480 | <execution> |
| 481 | <id>unpack dgs</id> |
| 482 | <phase>generate-sources</phase> |
| 483 | <goals> |
| 484 | <goal>unpack</goal> |
| 485 | </goals> |
| 486 | <configuration> |
| 487 | <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk</outputDirectory> |
| 488 | <artifactItems> |
| 489 | <artifactItem> |
| 490 | <groupId>${project.groupId}</groupId> |
| 491 | <artifactId>platform-logic-installer</artifactId> |
| 492 | <version>${project.version}</version> |
| 493 | <type>zip</type> |
| 494 | </artifactItem> |
| 495 | </artifactItems> |
| 496 | </configuration> |
| 497 | </execution> |
| 498 | </executions> |
| 499 | </plugin> |
| 500 | <plugin> |
| 501 | <groupId>org.codehaus.mojo</groupId> |
| 502 | <artifactId>exec-maven-plugin</artifactId> |
| 503 | <version>1.5.0</version> |
| 504 | <executions> |
| 505 | |
| 506 | <execution> |
| 507 | <id>change shell permissions</id> |
| 508 | <phase>process-sources</phase> |
| 509 | <goals> |
| 510 | <goal>exec</goal> |
| 511 | </goals> |
| 512 | <configuration> |
| 513 | <executable>/usr/bin/find</executable> |
| 514 | <arguments> |
| 515 | <argument>${basedir}/target/docker-stage/opt/onap/ccsdk</argument> |
| 516 | <argument>-name</argument> |
| 517 | <argument>*.sh</argument> |
| 518 | <argument>-exec</argument> |
| 519 | <argument>chmod</argument> |
| 520 | <argument>+x</argument> |
| 521 | <argument>{}</argument> |
| 522 | <argument>;</argument> |
| 523 | </arguments> |
| 524 | </configuration> |
| 525 | </execution> |
| 526 | </executions> |
| 527 | </plugin> |
| 528 | |
| 529 | |
| 530 | </plugins> |
| 531 | </build> |
| 532 | |
| 533 | <profiles> |
| 534 | <profile> |
| 535 | <id>docker</id> |
| 536 | <build> |
| 537 | <plugins> |
| 538 | <plugin> |
| 539 | <groupId>io.fabric8</groupId> |
| 540 | <artifactId>docker-maven-plugin</artifactId> |
Simon Hrabos | 4680510 | 2019-03-28 03:22:04 -0700 | [diff] [blame] | 541 | <version>0.28.0</version> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 542 | <inherited>false</inherited> |
| 543 | <configuration> |
| 544 | <images> |
| 545 | <image> |
| 546 | <name>${image.name}</name> |
| 547 | <build> |
| 548 | <cleanup>try</cleanup> |
| 549 | <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> |
Simon Hrabos | 4680510 | 2019-03-28 03:22:04 -0700 | [diff] [blame] | 550 | <dockerFile>Dockerfile</dockerFile> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 551 | <tags> |
Timoney, Dan (dt5972) | 268c4ba | 2019-02-12 14:35:10 -0500 | [diff] [blame] | 552 | <tag>${project.docker.latestminortag.version}</tag> |
| 553 | <tag>${project.docker.latestfulltag.version}</tag> |
| 554 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
Timoney, Dan (dt5972) | b1ac725 | 2018-12-14 13:00:43 -0500 | [diff] [blame] | 555 | </tags> |
| 556 | </build> |
| 557 | </image> |
| 558 | </images> |
| 559 | </configuration> |
| 560 | <executions> |
| 561 | <execution> |
| 562 | <id>generate-images</id> |
| 563 | <phase>package</phase> |
| 564 | <goals> |
| 565 | <goal>build</goal> |
| 566 | </goals> |
| 567 | </execution> |
| 568 | |
| 569 | <execution> |
| 570 | <id>push-images</id> |
| 571 | <phase>${docker.push.phase}</phase> |
| 572 | <goals> |
| 573 | <goal>build</goal> |
| 574 | <goal>push</goal> |
| 575 | </goals> |
| 576 | </execution> |
| 577 | </executions> |
| 578 | </plugin> |
| 579 | </plugins> |
| 580 | </build> |
| 581 | </profile> |
| 582 | </profiles> |
| 583 | </project> |