2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
19 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>0.1.1</version>
32 <groupId>org.onap.dmaap.messagerouter.messageservice</groupId>
33 <artifactId>dmaapMR1</artifactId>
34 <version>1.0.2-SNAPSHOT</version>
35 <name>dmaap-messagerouter-messageservice</name>
36 <description>Message Router - Restful interface built for kafka</description>
39 <name>Apache License Version 2.0</name>
45 <name>Rajashree</name>
47 <organization>ATT</organization>
48 <organizationUrl>www.att.com</organizationUrl>
53 <organization>ATT</organization>
54 <organizationUrl>www.att.com</organizationUrl>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-site-plugin</artifactId>
63 <version>3.6</version>
66 <groupId>org.apache.maven.wagon</groupId>
67 <artifactId>wagon-webdav-jackrabbit</artifactId>
68 <version>2.10</version>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-antrun-plugin</artifactId>
75 <version>1.7</version>
78 <id>prep_service_runtime-ajsc-arch-parent</id>
79 <phase>generate-resources</phase>
81 <target name="prep_service_runtime">
82 <echo message="ENTERING 'copy_services_template' ant tasks" />
83 <!-- <filter token="basedir" value="${basedir}" /> -->
84 <!-- delete any prior stating stuff before package phase -->
85 <delete dir="target/versioned-ajsc" includes="**/*" />
86 <delete dir="target/versioned-runtime" includes="**/*" />
87 <delete dir="target/CDP" includes="**/*" />
89 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__
90 is replaced by module.ajsc.namespace.name) -->
91 <copy todir="target/versioned-ajsc">
92 <fileset dir="src/main/ajsc" includes="**/*" />
95 <!-- Copying the CDP, bundleconfig, and StaticContent to the target
96 directory for future use by replacer plugin -->
97 <copy todir="target/CDP" failonerror="false">
98 <fileset dir="CDP" includes="**/*.sh" />
100 <copy flatten="true" file="CDP/SampleBlueprint.xml"
102 tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
103 <copy todir="target/staticContent" failonerror="false">
104 <fileset dir="staticContent" includes="**/*" />
106 <copy todir="target/bundleconfig" failonerror="false">
107 <!-- filtering="true"> -->
108 <fileset dir="bundleconfig" />
111 <echo message="EXITING 'copy_services_template' ant tasks" />
112 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
113 <copy todir="target/versioned-runtime">
114 <fileset dir="src/main/runtime" includes="**/*" />
117 file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
119 file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
120 tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
122 file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
124 file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
125 tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
127 file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
129 file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
130 tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
132 file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
134 file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
135 tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
136 <echo message="EXITING 'copy_runtime_template' ant tasks" />
145 <phase>package</phase>
149 srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
150 includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
158 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
159 <phase>package</phase>
161 <target name="prep_home_directory_for_swm_pkgcreate">
162 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
173 <groupId>org.codehaus.groovy.maven</groupId>
174 <artifactId>gmaven-plugin</artifactId>
175 <version>1.0</version>
178 <id>gmaven-ajsc-arch-parent</id>
179 <phase>package</phase>
184 <sourcepath>src/main/groovy</sourcepath>
186 import ajsc.AssemblyService;
187 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
195 <groupId>com.google.code.maven-replacer-plugin</groupId>
196 <artifactId>replacer</artifactId>
197 <version>1.5.2</version>
200 <id>google-replacer-ajsc-arch-parent</id>
201 <phase>prepare-package</phase>
206 <basedir>${project.build.directory}</basedir>
208 <include>staticContent/**/*.html</include>
209 <include>CDP/**</include>
210 <include>bundleconfig/**</include>
211 <include>versioned-runtime/**/*.context</include>
212 <include>versioned-runtime/**/*.json</include>
213 <include>versioned-ajsc/**/*.route</include>
214 <include>versioned-ajsc/**/*.groovy</include>
215 <include>versioned-ajsc/**/*.xml</include>
216 <include>classes/*.properties</include>
217 <include>swm/package/nix/dist_files${distFilesRoot}/etc/*.properties</include>
219 <escape>true</escape>
222 <token>__module_ajsc_namespace_name__</token>
223 <value>${module.ajsc.namespace.name}</value>
226 <token>__module_ajsc_namespace_version__</token>
227 <value>${module.ajsc.namespace.version}</value>
230 <token>__ajscHome__</token>
231 <value>${replaceWinFilePath}</value>
234 <token>__projectGroupId__</token>
235 <value>${project.groupId}</value>
238 <token>__projectArtifactId__</token>
239 <value>${project.artifactId}</value>
242 <token>__projectVersion__</token>
243 <value>${project.version}</value>
246 <token>__basedir__</token>
247 <value>${replaceWinBasedirPath}</value>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <version>2.8</version>
261 <id>copy-dependencies-ajsc-arch-parent</id>
262 <phase>prepare-package</phase>
264 <goal>copy-dependencies</goal>
267 <includeScope>runtime</includeScope>
268 <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
269 <outputDirectory>${project.build.directory}/userjars</outputDirectory>
270 <silent>true</silent>
274 <id>copy-dependencies-ajsc-arch-parent-commonLibs</id>
275 <phase>prepare-package</phase>
277 <goal>copy-dependencies</goal>
280 <includeScope>provided</includeScope>
281 <includeGroupIds>net.cingular.enterprise,com.att.aft,dom4j</includeGroupIds>
282 <!-- <includeGroupIds>com.att.aft</includeGroupIds> -->
283 <outputDirectory>${project.build.directory}/commonLibs</outputDirectory>
284 <silent>true</silent>
289 <phase>prepare-package</phase>
291 <goal>copy-dependencies</goal>
294 <includeArtifactIds>ajsc-runner</includeArtifactIds>
295 <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-javadoc-plugin</artifactId>
305 <version>2.10.4</version>
307 <additionalparam>-Xdoclint:none</additionalparam>
311 <id>attach-javadocs</id>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-source-plugin</artifactId>
321 <version>3.0.0</version>
324 <id>attach-sources</id>
326 <goal>jar-no-fork</goal>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-release-plugin</artifactId>
334 <version>2.5.3</version>
336 <autoVersionSubmodules>true</autoVersionSubmodules>
337 <checkModificationExcludes>
338 </checkModificationExcludes>
342 <groupId>org.apache.maven.scm</groupId>
343 <artifactId>maven-scm-provider-gitexe</artifactId>
344 <version>1.9.4</version>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-deploy-plugin</artifactId>
351 <version>2.5</version>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-resources-plugin</artifactId>
359 <version>2.7</version>
362 <id>copy-docker-file</id>
363 <phase>package</phase>
365 <goal>copy-resources</goal>
368 <outputDirectory>${dockerLocation}</outputDirectory>
369 <overwrite>true</overwrite>
372 <directory>${basedir}/src/main/resources/docker</directory>
373 <filtering>true</filtering>
375 <include>**/*</include>
384 <groupId>com.spotify</groupId>
385 <artifactId>docker-maven-plugin</artifactId>
386 <version>0.4.13</version>
388 <imageName>onap/dmaap/dmaap-mr</imageName>
389 <dockerDirectory>${dockerLocation}</dockerDirectory>
390 <serverId>docker-hub</serverId>
391 <!-- <serverId>docker-hub</serverId> -->
393 <imageTag>${dmaapImg}</imageTag>
394 <imageTag>latest</imageTag>
396 <forceTags>true</forceTags>
399 <targetPath>/</targetPath>
400 <directory>${dockerLocation}</directory>
401 <include>${project.build.finalName}.jar</include>
404 <targetPath>/</targetPath>
405 <directory>${project.build.directory}</directory>
406 <include>**/**</include>
413 <phase>package</phase>
418 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
423 <id>tag-image-project-version</id>
424 <phase>package</phase>
429 <image>onap/dmaap/dmaap-mr</image>
430 <newName>${docker.push.registry}/onap/dmaap/dmaap-mr:${project.version}</newName>
431 <skipDockerTag>${skip.docker.push}</skipDockerTag>
436 <id>tag-image-latest</id>
437 <phase>package</phase>
442 <image>onap/dmaap/dmaap-mr</image>
443 <newName>${docker.push.registry}/onap/dmaap/dmaap-mr:latest</newName>
444 <skipDockerTag>${skip.docker.push}</skipDockerTag>
449 <id>push-image-latest</id>
450 <phase>deploy</phase>
455 <imageName>${docker.push.registry}/onap/dmaap/dmaap-mr:${project.version}</imageName>
456 <skipDockerPush>${skip.docker.push}</skipDockerPush>
462 <phase>deploy</phase>
467 <imageName>${docker.push.registry}/onap/dmaap/dmaap-mr:latest</imageName>
468 <skipDockerPush>${skip.docker.push}</skipDockerPush>
474 <groupId>com.blackducksoftware.integration</groupId>
475 <artifactId>hub-maven-plugin</artifactId>
476 <version>1.0.4</version>
477 <inherited>false</inherited>
479 <target>${project.basedir}</target>
483 <id>create-bdio-file</id>
484 <phase>package</phase>
486 <goal>createHubOutput</goal>
496 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
497 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
498 <docker.image.prefix>simpledemo</docker.image.prefix>
500 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
501 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
502 <ajscRuntimeVersion>1.0.0</ajscRuntimeVersion>
504 <!-- This will be the Absolute Root of the Project and should contain NO
506 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
507 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
508 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot.
509 For NO Versioning, leave as is -->
510 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add
511 ${project.version} to ${runAjscHome} for running locally. -->
512 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
513 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
514 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
516 <!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser>
517 <installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
518 <!-- For SOA Cloud Installation -->
519 <installOwnerUser>msgrtr</installOwnerUser>
520 <installOwnerGroup>dmaap</installOwnerGroup>
521 <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
522 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
523 For local testing, you may choose to hardcode this value to something like
525 <serverPort>3904</serverPort>
526 <sslport>3905</sslport>
528 <testRouteOffer>workstation</testRouteOffer>
529 <testEnv>DEV</testEnv>
530 <dmaapImg>1.0.2-SNAPSHOT</dmaapImg>
531 <camel.version>2.15.5</camel.version>
532 <sitePath>/content/sites/site/org/onap/dmaap/${project.artifactId}/${project.version}</sitePath>
533 <skip.docker.build>true</skip.docker.build>
534 <skip.docker.push>true</skip.docker.push>
535 <nexusproxy>https://nexus.onap.org</nexusproxy>
536 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
539 <!-- Distribution management -->
540 <distributionManagement>
543 <url>dav:${nexusproxy}${sitePath}</url>
545 </distributionManagement>
547 <!-- End Distribution management -->
549 <!-- The standard build tasks for this project are inherited from the parent.
550 Please do not override the build tasks. However tasks and/or profiles can
551 be included here as well as additional dependencies for your service. Any
552 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars
553 folder and will be made available on the AJSC classpath for your service.
554 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the
555 CSI environment. Therefore, they are provided within this project as "provided"
556 dependencies. In order for the AJSC to run properly, locally, the CSM and
557 DME2 dependencies will be copied into the target/commonLibs folder and will
558 be made available to the classpath of the AJSC through the use of the system
559 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set
560 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do
561 so). If you have a startup failure related to a missing dme2 class not found
562 exception, please contact the AJSC team for assistance. You can email support
563 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding
564 the usage of the AJSC service pom.xml and management of dependencies, please
565 goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
568 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding
572 <groupId>csi-schemas-source</groupId>
573 <artifactId>cmn-CommonDataModel</artifactId>
574 <version>112.0.50</version>
576 <!-- TODO: add open source version here -->
578 <groupId>com.att.cadi</groupId>
579 <artifactId>cadi-core</artifactId>
580 <version>1.3.0</version>
583 <groupId>commons-io</groupId>
584 <artifactId>commons-io</artifactId>
585 <version>2.4</version>
588 <groupId>org.apache.commons</groupId>
589 <artifactId>commons-io</artifactId>
590 <version>1.3.2</version>
593 <groupId>com.att.nsa</groupId>
594 <artifactId>msgrtr</artifactId>
595 <version>0.0.5</version>
598 <groupId>org.slf4j</groupId>
599 <artifactId>slf4j-log4j12</artifactId>
602 <groupId>com.att.ajsc</groupId>
603 <artifactId>ajsc-core</artifactId>
606 <groupId>org.apache.tomcat</groupId>
607 <artifactId>tomcat-catalina</artifactId>
611 <groupId>org.apache.tomcat.embed</groupId>
612 <artifactId>tomcat-embed-core</artifactId>
615 <groupId>org.apache.tomcat</groupId>
616 <artifactId>tomcat-util</artifactId>
618 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId>
621 <groupId>com.att.nsa</groupId>
622 <artifactId>tomcat-util</artifactId>
629 <groupId>org.codehaus.jackson</groupId>
630 <artifactId>jackson-jaxrs</artifactId>
631 <version>1.9.13</version>
635 <groupId>org.codehaus.jackson</groupId>
636 <artifactId>jackson-mapper-asl</artifactId>
637 <version>1.9.13</version>
640 <groupId>org.codehaus.jackson</groupId>
641 <artifactId>jackson-core-asl</artifactId>
642 <version>1.9.13</version>
646 <groupId>com.fasterxml.jackson.core</groupId>
647 <artifactId>jackson-core</artifactId>
648 <version>2.4.3</version>
652 <groupId>com.fasterxml.jackson.core</groupId>
653 <artifactId>jackson-databind</artifactId>
654 <version>2.3.3</version>
658 <groupId>junit</groupId>
659 <artifactId>junit</artifactId>
660 <version>4.11</version>
665 <groupId>org.json</groupId>
666 <artifactId>json</artifactId>
667 <version>20131018</version>
670 <!-- CXF JAX-RS extension -->
672 <groupId>org.apache.cxf</groupId>
673 <artifactId>cxf-rt-rs-extension-providers</artifactId>
674 <version>3.0.4</version>
677 <groupId>org.codehaus.jettison</groupId>
678 <artifactId>jettison</artifactId>
679 <version>1.3.7</version>
683 <groupId>dom4j</groupId>
684 <artifactId>dom4j</artifactId>
685 <version>1.6.1</version>
686 <scope>provided</scope>
689 <groupId>com.att.aft</groupId>
690 <artifactId>dme2</artifactId>
691 <version>3.1.200</version>
692 <!-- <scope>provided</scope> -->
695 <groupId>com.att.ajsc</groupId>
696 <artifactId>ajsc-archetype-parent</artifactId>
697 <version>1.0.0</version>
702 <groupId>com.att.cadi</groupId>
703 <artifactId>cadi-aaf</artifactId>
704 <version>1.3.0</version>
708 <groupId>com.att.inno</groupId>
709 <artifactId>rosetta</artifactId>
710 <version>1.2.11</version>
713 <groupId>com.att.inno</groupId>
714 <artifactId>env</artifactId>
715 <version>1.2.11</version>
718 <groupId>com.att.inno</groupId>
719 <artifactId>xgen</artifactId>
720 <version>1.2.11</version>
723 <groupId>com.att.inno</groupId>
724 <artifactId>rosetta</artifactId>
725 <version>1.2.11</version>
728 <groupId>backport-util-concurrent</groupId>
729 <artifactId>backport-util-concurrent</artifactId>
730 <version>3.1</version>
733 <groupId>org.apache.camel</groupId>
734 <artifactId>camel-core</artifactId>
735 <version>${camel.version}</version>
738 <groupId>org.apache.camel</groupId>
739 <artifactId>camel-quartz</artifactId>
740 <version>${camel.version}</version>
743 <groupId>org.apache.camel</groupId>
744 <artifactId>camel-spring</artifactId>
745 <version>${camel.version}</version>
748 <groupId>org.apache.camel</groupId>
749 <artifactId>camel-restlet</artifactId>
750 <version>${camel.version}</version>
753 <artifactId>org.restlet</artifactId>
754 <groupId>org.restlet.jse</groupId>
759 <groupId>org.apache.camel</groupId>
760 <artifactId>camel-servlet</artifactId>
761 <version>${camel.version}</version>
764 <groupId>org.apache.camel</groupId>
765 <artifactId>camel-http4</artifactId>
766 <version>${camel.version}</version>
769 <groupId>org.apache.geronimo.specs</groupId>
770 <artifactId>geronimo-servlet_2.5_spec</artifactId>
775 <groupId>org.apache.camel</groupId>
776 <artifactId>camel-groovy</artifactId>
777 <version>${camel.version}</version>
780 <groupId>org.apache.camel</groupId>
781 <artifactId>camel-twitter</artifactId>
782 <version>${camel.version}</version>
785 <groupId>org.apache.camel</groupId>
786 <artifactId>camel-mail</artifactId>
787 <version>${camel.version}</version>
790 <groupId>org.apache.camel</groupId>
791 <artifactId>camel-smpp</artifactId>
792 <version>${camel.version}</version>
795 <groupId>org.apache.camel</groupId>
796 <artifactId>camel-jms</artifactId>
797 <version>${camel.version}</version>
800 <groupId>org.apache.camel</groupId>
801 <artifactId>camel-script</artifactId>
802 <version>${camel.version}</version>
805 <groupId>org.apache.camel</groupId>
806 <artifactId>camel-xmpp</artifactId>
807 <version>${camel.version}</version>
810 <groupId>org.apache.camel</groupId>
811 <artifactId>camel-velocity</artifactId>
812 <version>${camel.version}</version>
815 <groupId>com.att.ajsc</groupId>
816 <artifactId>ajsc-runner</artifactId>
817 <version>1.0.0</version>
818 <scope>runtime</scope>
821 <groupId>com.att.ajsc</groupId>
822 <artifactId>ajsc-core</artifactId>
823 <version>1.0.0</version>
824 <scope>provided</scope>
827 <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory>
828 </resource> </resources> </build> -->
830 <!-- Use this profile to run the AJSC locally. This profile can be successfully
831 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
832 available with this profile. -->
837 <skip.docker.build>false</skip.docker.build>
838 <skip.docker.tag>false</skip.docker.tag>
839 <skip.docker.push>false</skip.docker.push>
846 <defaultGoal>initialize</defaultGoal>
849 <groupId>org.codehaus.mojo</groupId>
850 <artifactId>exec-maven-plugin</artifactId>
851 <version>1.3.2</version>
854 <phase>initialize</phase>
859 <!-- In order to better mimic a SOA cloud installation of AJSC (and
860 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult
861 to diagnose), within this profile used to run locally, we are NOT including
862 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars.
863 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is
864 the only dependency required by this profile to run locally. -->
865 <includeProjectDependencies>false</includeProjectDependencies>
866 <includePluginDependencies>true</includePluginDependencies>
867 <executable>java</executable>
868 <mainClass>com.att.ajsc.runner.Runner</mainClass>
869 <executableDependency>
870 <groupId>com.att.ajsc</groupId>
871 <artifactId>ajsc-runner</artifactId>
872 </executableDependency>
873 <additionalClasspathElements>
874 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
875 </additionalClasspathElements>
877 <environmentVariables>
878 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
879 </environmentVariables>
881 <!-- Main AJSC System Properties below (necessary for proper startup) -->
885 <value>${runAjscHome}</value>
889 <value>${runAjscHome}</value>
892 <key>AJSC_CONF_HOME</key>
893 <value>${basedir}/bundleconfig-local</value>
896 <key>logback.configurationFile</key>
897 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
900 <key>AJSC_SHARED_CONFIG</key>
901 <value>${basedir}/ajsc-shared-config</value>
904 <!-- Please, NOTE: The following 2 system properties will normally
905 be set within the sys-props.properties file once deployed to a node. We are
906 setting them HERE to run locally to make more efficient use of maven variable
907 replacement for ${basedir} -->
908 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that
909 will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
911 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
912 <value>${basedir}/target/commonLibs</value>
914 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular
915 files that may need to be added to the classpath. These files will be externalized
916 on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties).
917 Failure to have these files on the classpath may result in errors thrown
918 by csm framework. -->
920 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
921 <value>${basedir}/ajsc-shared-config/etc</value>
925 <key>AJSC_SERVICE_NAMESPACE</key>
926 <value>${module.ajsc.namespace.name}</value>
929 <key>AJSC_SERVICE_VERSION</key>
930 <value>${module.ajsc.namespace.version}</value>
933 <key>SOACLOUD_SERVICE_VERSION</key>
934 <value>${project.version}</value>
937 <key>server.port</key>
938 <value>${serverPort}</value>
942 <!-- Command Line Arguments to add to the java command. Here, you
943 can specify the port as well as the Context you want your service to run
944 in. Use context=/ to run in an unnamed Context (Root Context). The default
945 configuration of the AJSC is to run under the / Context. Setting the port
946 here can aid during the development phase of your service. However, you can
947 leave this argument out entirely, and the AJSC will default to using an Ephemeral
950 <argument>context=/</argument>
951 <argument>port=${serverPort}</argument>
952 <argument>sslport=${sslport}</argument>
958 <executable>java</executable>
962 <groupId>com.att.ajsc</groupId>
963 <artifactId>ajsc-runner</artifactId>
964 <version>${ajscRuntimeVersion}</version>
970 <groupId>org.apache.maven.plugins</groupId>
971 <artifactId>maven-resources-plugin</artifactId>
972 <version>2.7</version>
975 <id>copy-docker-file</id>
976 <phase>package</phase>
978 <goal>copy-resources</goal>
981 <outputDirectory>${dockerLocation}</outputDirectory>
982 <overwrite>true</overwrite>
985 <directory>${basedir}/src/main/resources/docker</directory>
986 <filtering>true</filtering>
988 <include>**/*</include>