1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
|
<!--
============LICENSE_START=======================================================
org.onap.dmaap
================================================================================
Copyright © 2017 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END=========================================================
ECOMP is a trademark and service mark of AT&T Intellectual Property.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.att.ajsc</groupId>
<artifactId>ajsc-archetype-parent</artifactId>
<version>1.0.0</version>
<relativePath></relativePath>
</parent>
<groupId>org.onap.dmaap.messagerouter.messageservice</groupId>
<artifactId>dmaapMR1</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>Message Router Service</name>
<description>Message Router - Restful interface built for kafka</description>
<url>https://github.com/att/dmaap-framework</url>
<licenses>
<license>
<name>APache License Version 2.0</name>
</license>
</licenses>
<developers>
<developer>
<name>Rajashree</name>
<email></email>
<organization>ATT</organization>
<organizationUrl>www.att.com</organizationUrl>
</developer>
<developer>
<name>Ramkumar</name>
<email></email>
<organization>ATT</organization>
<organizationUrl>www.att.com</organizationUrl>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<checkModificationExcludes>
</checkModificationExcludes>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9.4</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-docker-file</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${dockerLocation}</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/main/resources/docker</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.11</version>
<configuration>
<imageName>attos/dmaap</imageName>
<dockerDirectory>${dockerLocation}</dockerDirectory>
<serverId>docker-hub</serverId>
<registryUrl>https://index.docker.io/v1</registryUrl>
<imageTags>
<imageTag>${dmaapImg}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
<forceTags>true</forceTags>
</configuration>
</plugin>
<plugin>
<groupId>com.blackducksoftware.integration</groupId>
<artifactId>hub-maven-plugin</artifactId>
<version>1.0.4</version>
<inherited>false</inherited>
<configuration>
<target>${project.basedir}</target>
</configuration>
<executions>
<execution>
<id>create-bdio-file</id>
<phase>package</phase>
<goals>
<goal>createHubOutput</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<nexusUrl>${nexusproxy}</nexusUrl>
<stagingProfileId>176c31dfe190a</stagingProfileId>
<serverId>ecomp-staging</serverId>
<skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
<includes>
<include>org.onap.clamp.*</include>
</includes>
</configuration>
<executions>
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
<!-- <append>true</append> -->
</configuration>
</execution>
<execution>
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
<!-- <append>true</append> -->
</configuration>
</execution>
<execution>
<goals>
<goal>merge</goal>
</goals>
<phase>post-integration-test</phase>
<configuration>
<fileSets>
<fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
<directory>${project.build.directory}/coverage-reports</directory>
<includes>
<include>*.exec</include>
</includes>
</fileSet>
</fileSets>
<destFile>${project.build.directory}/jacoco-dev.exec</destFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
<docker.registry>hub.docker.com</docker.registry>
<module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
<module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
<ajscRuntimeVersion>1.0.0</ajscRuntimeVersion>
<!-- This will be the Absolute Root of the Project and should contain NO
Versioning -->
<absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
<!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
<!-- For Versioning upon installation, add /${project.version} to distFilesRoot.
For NO Versioning, leave as is -->
<!-- example: /appl/${project.artifactId}/${project.version}. Also, add
${project.version} to ${runAjscHome} for running locally. -->
<distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
<!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
<runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
<!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser>
<installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
<!-- For SOA Cloud Installation -->
<installOwnerUser>msgrtr</installOwnerUser>
<installOwnerGroup>dmaap</installOwnerGroup>
<ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
<!-- Port Selection. A value of 0 will allow for dynamic port selection.
For local testing, you may choose to hardcode this value to something like
8080 -->
<serverPort>3904</serverPort>
<sslport>3905</sslport>
<testRouteOffer>workstation</testRouteOffer>
<testEnv>DEV</testEnv>
<dmaapImg>1.0.19</dmaapImg>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
<sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
<sitePath>/content/sites/site/org/onap/clamp/${project.version}</sitePath>
</properties>
<!-- Distribution management -->
<!-- End Distribution management -->
<!-- The standard build tasks for this project are inherited from the parent.
Please do not override the build tasks. However tasks and/or profiles can
be included here as well as additional dependencies for your service. Any
runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars
folder and will be made available on the AJSC classpath for your service.
Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the
CSI environment. Therefore, they are provided within this project as "provided"
dependencies. In order for the AJSC to run properly, locally, the CSM and
DME2 dependencies will be copied into the target/commonLibs folder and will
be made available to the classpath of the AJSC through the use of the system
property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set
in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do
so). If you have a startup failure related to a missing dme2 class not found
exception, please contact the AJSC team for assistance. You can email support
at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding
the usage of the AJSC service pom.xml and management of dependencies, please
goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
<dependencies>
<!-- cmn-CommonDataModel dependency added to resolve build issue not finding
version 100.0.64 -->
<!-- <dependency>
<groupId>csi-schemas-source</groupId>
<artifactId>cmn-CommonDataModel</artifactId>
<version>112.0.50</version>
</dependency> -->
<!-- TODO: add open source version here -->
<dependency>
<groupId>com.att.cadi</groupId>
<artifactId>cadi-core</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.att.nsa</groupId>
<artifactId>msgrtr</artifactId>
<version>0.0.5</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>com.att.ajsc</groupId>
<artifactId>ajsc-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-util</artifactId>
</exclusion>
<!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId>
</exclusion> -->
<exclusion>
<groupId>com.att.nsa</groupId>
<artifactId>tomcat-util</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20131018</version>
</dependency>
<!-- CXF JAX-RS extension -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-extension-providers</artifactId>
<version>3.0.4</version>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
<version>1.3.7</version>
</dependency>
<!-- dme2 related dependencies -->
<!-- <dependency>
<groupId>net.cingular.enterprise</groupId>
<artifactId>csm-framework</artifactId>
<version>${csm.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.cingular.enterprise</groupId>
<artifactId>csm-jmxsupport-jdk</artifactId>
<version>${csm.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.cingular.enterprise</groupId>
<artifactId>csm-jmx</artifactId>
<version>${csm.version}</version>
<scope>provided</scope>
</dependency> -->
<!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided"
scope. In CSI env, this jar MUST be included within service project's swm
package -->
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.att.aft</groupId>
<artifactId>dme2</artifactId>
<version>${dme2.version}</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>com.att.ajsc</groupId>
<artifactId>ajsc-archetype-parent</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.att.cadi</groupId>
<artifactId>cadi-aaf</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.att.inno</groupId>
<artifactId>rosetta</artifactId>
<version>1.2.11</version>
</dependency>
<dependency>
<groupId>com.att.inno</groupId>
<artifactId>env</artifactId>
<version>1.2.11</version>
</dependency>
<dependency>
<groupId>com.att.inno</groupId>
<artifactId>xgen</artifactId>
<version>1.2.11</version>
</dependency>
<dependency>
<groupId>com.att.inno</groupId>
<artifactId>rosetta</artifactId>
<version>1.2.11</version>
</dependency>
</dependencies>
<!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory>
</resource> </resources> </build> -->
<profiles>
<!-- Use this profile to run the AJSC locally. This profile can be successfully
shutdown WITHIN eclipse even in a Windows environment. Debugging is also
available with this profile. -->
<profile>
<id>runAjsc</id>
<build>
<defaultGoal>initialize</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<!-- In order to better mimic a SOA cloud installation of AJSC (and
to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult
to diagnose), within this profile used to run locally, we are NOT including
project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars.
The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is
the only dependency required by this profile to run locally. -->
<includeProjectDependencies>false</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies>
<executable>java</executable>
<mainClass>com.att.ajsc.runner.Runner</mainClass>
<executableDependency>
<groupId>com.att.ajsc</groupId>
<artifactId>ajsc-runner</artifactId>
</executableDependency>
<additionalClasspathElements>
<additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
</additionalClasspathElements>
<environmentVariables>
<AJSC_HOME>${runAjscHome}</AJSC_HOME>
</environmentVariables>
<!-- Main AJSC System Properties below (necessary for proper startup) -->
<systemProperties>
<systemProperty>
<key>AJSC_HOME</key>
<value>${runAjscHome}</value>
</systemProperty>
<systemProperty>
<key>AJSC_HOME</key>
<value>${runAjscHome}</value>
</systemProperty>
<systemProperty>
<key>AJSC_CONF_HOME</key>
<value>${basedir}/bundleconfig-local</value>
</systemProperty>
<systemProperty>
<key>logback.configurationFile</key>
<value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
</systemProperty>
<systemProperty>
<key>AJSC_SHARED_CONFIG</key>
<value>${basedir}/ajsc-shared-config</value>
</systemProperty>
<!-- Please, NOTE: The following 2 system properties will normally
be set within the sys-props.properties file once deployed to a node. We are
setting them HERE to run locally to make more efficient use of maven variable
replacement for ${basedir} -->
<!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that
will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
<sysproperty>
<key>AJSC_EXTERNAL_LIB_FOLDERS</key>
<value>${basedir}/target/commonLibs</value>
</sysproperty>
<!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular
files that may need to be added to the classpath. These files will be externalized
on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties).
Failure to have these files on the classpath may result in errors thrown
by csm framework. -->
<sysproperty>
<key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
<value>${basedir}/ajsc-shared-config/etc</value>
</sysproperty>
<systemProperty>
<key>AJSC_SERVICE_NAMESPACE</key>
<value>${module.ajsc.namespace.name}</value>
</systemProperty>
<systemProperty>
<key>AJSC_SERVICE_VERSION</key>
<value>${module.ajsc.namespace.version}</value>
</systemProperty>
<systemProperty>
<key>SOACLOUD_SERVICE_VERSION</key>
<value>${project.version}</value>
</systemProperty>
<systemProperty>
<key>server.port</key>
<value>${serverPort}</value>
</systemProperty>
</systemProperties>
<!-- Command Line Arguments to add to the java command. Here, you
can specify the port as well as the Context you want your service to run
in. Use context=/ to run in an unnamed Context (Root Context). The default
configuration of the AJSC is to run under the / Context. Setting the port
here can aid during the development phase of your service. However, you can
leave this argument out entirely, and the AJSC will default to using an Ephemeral
port. -->
<arguments>
<argument>context=/</argument>
<argument>port=${serverPort}</argument>
<argument>sslport=${sslport}</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<executable>java</executable>
</configuration>
<dependencies>
<dependency>
<groupId>com.att.ajsc</groupId>
<artifactId>ajsc-runner</artifactId>
<version>${ajscRuntimeVersion}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-docker-file</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${dockerLocation}</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/main/resources/docker</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.11</version>
<configuration>
<imageName>${docker.registry}/${project.artifactId}</imageName>
<dockerDirectory>${dockerLocation}</dockerDirectory>
<serverId>docker-hub</serverId>
<registryUrl>https://${docker.registry}</registryUrl>
<imageTags>
<imageTag>${dmaapImg}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
<forceTags>true</forceTags>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>ecomp-releases</id>
<name>Clamp Release Repository</name>
<url>${nexusproxy}/${releaseNexusPath}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
<name>Clamp Snapshot Repository</name>
<url>${nexusproxy}/${snapshotNexusPath}</url>
</snapshotRepository>
<site>
<id>ecomp-site</id>
<url>dav:${nexusproxy}${sitePath}</url>
</site>
</distributionManagement>
<repositories>
<repository>
<id>central</id>
<name>Maven 2 repository 2</name>
<url>http://repo2.maven.org/maven2/</url>
</repository>
<repository>
<id>ecomp-releases</id>
<name>ONAP Release Repository</name>
<url>${nexusproxy}/${releaseNexusPath}</url>
</repository>
<repository>
<id>ecomp-staging</id>
<name>ONAP Staging Repository</name>
<url>${nexusproxy}/${stagingNexusPath}</url>
</repository>
<repository>
<id>ecomp-snapshots</id>
<name>ONAP Snapshot Repository</name>
<url>${nexusproxy}/${snapshotNexusPath}</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>spring-repo</id>
<name>Spring repo</name>
<url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
</repository>
<repository>
<id>repository.jboss.org-public</id>
<name>JBoss.org Maven repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
</project>
|