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>
392 <imageTag>${dmaapImg}</imageTag>
393 <imageTag>latest</imageTag>
395 <forceTags>true</forceTags>
398 <targetPath>/</targetPath>
399 <directory>${project.build.directory}/opt</directory>
400 <include>${project.build.finalName}.jar</include>
403 <targetPath>/</targetPath>
404 <directory>${project.build.directory}</directory>
405 <include>**/**</include>
412 <phase>package</phase>
417 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
422 <id>tag-image-project-version</id>
423 <phase>package</phase>
428 <image>onap/dmaap/dmaap-mr</image>
429 <newName>${docker.push.registry}/onap/dmaap/dmaap-mr:${project.version}</newName>
430 <skipDockerTag>${skip.docker.push}</skipDockerTag>
435 <id>tag-image-latest</id>
436 <phase>package</phase>
441 <image>onap/dmaap/dmaap-mr</image>
442 <newName>${docker.push.registry}/onap/dmaap/dmaap-mr:latest</newName>
443 <skipDockerTag>${skip.docker.push}</skipDockerTag>
448 <id>push-image-latest</id>
449 <phase>deploy</phase>
454 <imageName>${docker.push.registry}/onap/dmaap/dmaap-mr:${project.version}</imageName>
455 <skipDockerPush>${skip.docker.push}</skipDockerPush>
461 <phase>deploy</phase>
466 <imageName>${docker.push.registry}/onap/dmaap/dmaap-mr:latest</imageName>
467 <skipDockerPush>${skip.docker.push}</skipDockerPush>
473 <groupId>com.blackducksoftware.integration</groupId>
474 <artifactId>hub-maven-plugin</artifactId>
475 <version>1.0.4</version>
476 <inherited>false</inherited>
478 <target>${project.basedir}</target>
482 <id>create-bdio-file</id>
483 <phase>package</phase>
485 <goal>createHubOutput</goal>
495 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
496 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
497 <docker.registry>hub.docker.com</docker.registry>
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>
538 <!-- Distribution management -->
539 <distributionManagement>
542 <url>dav:${nexusproxy}${sitePath}</url>
544 </distributionManagement>
546 <!-- End Distribution management -->
548 <!-- The standard build tasks for this project are inherited from the parent.
549 Please do not override the build tasks. However tasks and/or profiles can
550 be included here as well as additional dependencies for your service. Any
551 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars
552 folder and will be made available on the AJSC classpath for your service.
553 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the
554 CSI environment. Therefore, they are provided within this project as "provided"
555 dependencies. In order for the AJSC to run properly, locally, the CSM and
556 DME2 dependencies will be copied into the target/commonLibs folder and will
557 be made available to the classpath of the AJSC through the use of the system
558 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set
559 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do
560 so). If you have a startup failure related to a missing dme2 class not found
561 exception, please contact the AJSC team for assistance. You can email support
562 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding
563 the usage of the AJSC service pom.xml and management of dependencies, please
564 goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
567 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding
571 <groupId>csi-schemas-source</groupId>
572 <artifactId>cmn-CommonDataModel</artifactId>
573 <version>112.0.50</version>
575 <!-- TODO: add open source version here -->
577 <groupId>com.att.cadi</groupId>
578 <artifactId>cadi-core</artifactId>
579 <version>1.3.0</version>
582 <groupId>commons-io</groupId>
583 <artifactId>commons-io</artifactId>
584 <version>2.4</version>
587 <groupId>org.apache.commons</groupId>
588 <artifactId>commons-io</artifactId>
589 <version>1.3.2</version>
592 <groupId>com.att.nsa</groupId>
593 <artifactId>msgrtr</artifactId>
594 <version>0.0.5</version>
597 <groupId>org.slf4j</groupId>
598 <artifactId>slf4j-log4j12</artifactId>
601 <groupId>com.att.ajsc</groupId>
602 <artifactId>ajsc-core</artifactId>
605 <groupId>org.apache.tomcat</groupId>
606 <artifactId>tomcat-catalina</artifactId>
610 <groupId>org.apache.tomcat.embed</groupId>
611 <artifactId>tomcat-embed-core</artifactId>
614 <groupId>org.apache.tomcat</groupId>
615 <artifactId>tomcat-util</artifactId>
617 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId>
620 <groupId>com.att.nsa</groupId>
621 <artifactId>tomcat-util</artifactId>
628 <groupId>org.codehaus.jackson</groupId>
629 <artifactId>jackson-jaxrs</artifactId>
630 <version>1.9.13</version>
634 <groupId>org.codehaus.jackson</groupId>
635 <artifactId>jackson-mapper-asl</artifactId>
636 <version>1.9.13</version>
639 <groupId>org.codehaus.jackson</groupId>
640 <artifactId>jackson-core-asl</artifactId>
641 <version>1.9.13</version>
645 <groupId>com.fasterxml.jackson.core</groupId>
646 <artifactId>jackson-core</artifactId>
647 <version>2.4.3</version>
651 <groupId>com.fasterxml.jackson.core</groupId>
652 <artifactId>jackson-databind</artifactId>
653 <version>2.3.3</version>
657 <groupId>junit</groupId>
658 <artifactId>junit</artifactId>
659 <version>4.11</version>
664 <groupId>org.json</groupId>
665 <artifactId>json</artifactId>
666 <version>20131018</version>
669 <!-- CXF JAX-RS extension -->
671 <groupId>org.apache.cxf</groupId>
672 <artifactId>cxf-rt-rs-extension-providers</artifactId>
673 <version>3.0.4</version>
676 <groupId>org.codehaus.jettison</groupId>
677 <artifactId>jettison</artifactId>
678 <version>1.3.7</version>
682 <groupId>dom4j</groupId>
683 <artifactId>dom4j</artifactId>
684 <version>1.6.1</version>
685 <scope>provided</scope>
688 <groupId>com.att.aft</groupId>
689 <artifactId>dme2</artifactId>
690 <version>3.1.200</version>
691 <!-- <scope>provided</scope> -->
694 <groupId>com.att.ajsc</groupId>
695 <artifactId>ajsc-archetype-parent</artifactId>
696 <version>1.0.0</version>
701 <groupId>com.att.cadi</groupId>
702 <artifactId>cadi-aaf</artifactId>
703 <version>1.3.0</version>
707 <groupId>com.att.inno</groupId>
708 <artifactId>rosetta</artifactId>
709 <version>1.2.11</version>
712 <groupId>com.att.inno</groupId>
713 <artifactId>env</artifactId>
714 <version>1.2.11</version>
717 <groupId>com.att.inno</groupId>
718 <artifactId>xgen</artifactId>
719 <version>1.2.11</version>
722 <groupId>com.att.inno</groupId>
723 <artifactId>rosetta</artifactId>
724 <version>1.2.11</version>
727 <groupId>backport-util-concurrent</groupId>
728 <artifactId>backport-util-concurrent</artifactId>
729 <version>3.1</version>
732 <groupId>org.apache.camel</groupId>
733 <artifactId>camel-core</artifactId>
734 <version>${camel.version}</version>
737 <groupId>org.apache.camel</groupId>
738 <artifactId>camel-quartz</artifactId>
739 <version>${camel.version}</version>
742 <groupId>org.apache.camel</groupId>
743 <artifactId>camel-spring</artifactId>
744 <version>${camel.version}</version>
747 <groupId>org.apache.camel</groupId>
748 <artifactId>camel-restlet</artifactId>
749 <version>${camel.version}</version>
752 <artifactId>org.restlet</artifactId>
753 <groupId>org.restlet.jse</groupId>
758 <groupId>org.apache.camel</groupId>
759 <artifactId>camel-servlet</artifactId>
760 <version>${camel.version}</version>
763 <groupId>org.apache.camel</groupId>
764 <artifactId>camel-http4</artifactId>
765 <version>${camel.version}</version>
768 <groupId>org.apache.geronimo.specs</groupId>
769 <artifactId>geronimo-servlet_2.5_spec</artifactId>
774 <groupId>org.apache.camel</groupId>
775 <artifactId>camel-groovy</artifactId>
776 <version>${camel.version}</version>
779 <groupId>org.apache.camel</groupId>
780 <artifactId>camel-twitter</artifactId>
781 <version>${camel.version}</version>
784 <groupId>org.apache.camel</groupId>
785 <artifactId>camel-mail</artifactId>
786 <version>${camel.version}</version>
789 <groupId>org.apache.camel</groupId>
790 <artifactId>camel-smpp</artifactId>
791 <version>${camel.version}</version>
794 <groupId>org.apache.camel</groupId>
795 <artifactId>camel-jms</artifactId>
796 <version>${camel.version}</version>
799 <groupId>org.apache.camel</groupId>
800 <artifactId>camel-script</artifactId>
801 <version>${camel.version}</version>
804 <groupId>org.apache.camel</groupId>
805 <artifactId>camel-xmpp</artifactId>
806 <version>${camel.version}</version>
809 <groupId>org.apache.camel</groupId>
810 <artifactId>camel-velocity</artifactId>
811 <version>${camel.version}</version>
814 <groupId>com.att.ajsc</groupId>
815 <artifactId>ajsc-runner</artifactId>
816 <version>1.0.0</version>
817 <scope>runtime</scope>
820 <groupId>com.att.ajsc</groupId>
821 <artifactId>ajsc-core</artifactId>
822 <version>1.0.0</version>
823 <scope>provided</scope>
826 <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory>
827 </resource> </resources> </build> -->
829 <!-- Use this profile to run the AJSC locally. This profile can be successfully
830 shutdown WITHIN eclipse even in a Windows environment. Debugging is also
831 available with this profile. -->
835 <skip.staging.artifacts>true</skip.staging.artifacts>
836 <skip.docker.build>false</skip.docker.build>
837 <skip.docker.tag>false</skip.docker.tag>
838 <skip.docker.push>false</skip.docker.push>
845 <defaultGoal>initialize</defaultGoal>
848 <groupId>org.codehaus.mojo</groupId>
849 <artifactId>exec-maven-plugin</artifactId>
850 <version>1.3.2</version>
853 <phase>initialize</phase>
858 <!-- In order to better mimic a SOA cloud installation of AJSC (and
859 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult
860 to diagnose), within this profile used to run locally, we are NOT including
861 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars.
862 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is
863 the only dependency required by this profile to run locally. -->
864 <includeProjectDependencies>false</includeProjectDependencies>
865 <includePluginDependencies>true</includePluginDependencies>
866 <executable>java</executable>
867 <mainClass>com.att.ajsc.runner.Runner</mainClass>
868 <executableDependency>
869 <groupId>com.att.ajsc</groupId>
870 <artifactId>ajsc-runner</artifactId>
871 </executableDependency>
872 <additionalClasspathElements>
873 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
874 </additionalClasspathElements>
876 <environmentVariables>
877 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
878 </environmentVariables>
880 <!-- Main AJSC System Properties below (necessary for proper startup) -->
884 <value>${runAjscHome}</value>
888 <value>${runAjscHome}</value>
891 <key>AJSC_CONF_HOME</key>
892 <value>${basedir}/bundleconfig-local</value>
895 <key>logback.configurationFile</key>
896 <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
899 <key>AJSC_SHARED_CONFIG</key>
900 <value>${basedir}/ajsc-shared-config</value>
903 <!-- Please, NOTE: The following 2 system properties will normally
904 be set within the sys-props.properties file once deployed to a node. We are
905 setting them HERE to run locally to make more efficient use of maven variable
906 replacement for ${basedir} -->
907 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that
908 will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
910 <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
911 <value>${basedir}/target/commonLibs</value>
913 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular
914 files that may need to be added to the classpath. These files will be externalized
915 on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties).
916 Failure to have these files on the classpath may result in errors thrown
917 by csm framework. -->
919 <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
920 <value>${basedir}/ajsc-shared-config/etc</value>
924 <key>AJSC_SERVICE_NAMESPACE</key>
925 <value>${module.ajsc.namespace.name}</value>
928 <key>AJSC_SERVICE_VERSION</key>
929 <value>${module.ajsc.namespace.version}</value>
932 <key>SOACLOUD_SERVICE_VERSION</key>
933 <value>${project.version}</value>
936 <key>server.port</key>
937 <value>${serverPort}</value>
941 <!-- Command Line Arguments to add to the java command. Here, you
942 can specify the port as well as the Context you want your service to run
943 in. Use context=/ to run in an unnamed Context (Root Context). The default
944 configuration of the AJSC is to run under the / Context. Setting the port
945 here can aid during the development phase of your service. However, you can
946 leave this argument out entirely, and the AJSC will default to using an Ephemeral
949 <argument>context=/</argument>
950 <argument>port=${serverPort}</argument>
951 <argument>sslport=${sslport}</argument>
957 <executable>java</executable>
961 <groupId>com.att.ajsc</groupId>
962 <artifactId>ajsc-runner</artifactId>
963 <version>${ajscRuntimeVersion}</version>
969 <groupId>org.apache.maven.plugins</groupId>
970 <artifactId>maven-resources-plugin</artifactId>
971 <version>2.7</version>
974 <id>copy-docker-file</id>
975 <phase>package</phase>
977 <goal>copy-resources</goal>
980 <outputDirectory>${dockerLocation}</outputDirectory>
981 <overwrite>true</overwrite>
984 <directory>${basedir}/src/main/resources/docker</directory>
985 <filtering>true</filtering>
987 <include>**/*</include>