| <!-- ============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>org.onap.oparent</groupId> |
| <artifactId>oparent</artifactId> |
| <version>3.2.0</version> |
| </parent> |
| |
| <groupId>org.onap.dmaap.messagerouter.messageservice</groupId> |
| <artifactId>dmaapMR1</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <name>dmaap-messagerouter-messageservice</name> |
| <description>Message Router - Restful interface built for kafka</description> |
| <licenses> |
| <license> |
| <name>Apache License Version 2.0</name> |
| </license> |
| </licenses> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation> |
| <docker.image.prefix>simpledemo</docker.image.prefix> |
| <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name> |
| <module.ajsc.namespace.version>v1</module.ajsc.namespace.version> |
| <ajscRuntimeVersion>3.0.11-oss</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> |
| <serverPort>3904</serverPort> |
| <sslport>3905</sslport> |
| <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| <camel.version>2.21.5</camel.version> |
| <camel.version.latest>3.5.0</camel.version.latest> |
| <skip.docker.build>false</skip.docker.build> |
| <skip.docker.tag>false</skip.docker.tag> |
| <skip.docker.push>false</skip.docker.push> |
| <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> |
| <nexusproxy>https://nexus.onap.org</nexusproxy> |
| <spring.version>3.2.18.RELEASE</spring.version> |
| <sonar.language>java</sonar.language> |
| <sonar.skip>false</sonar.skip> |
| <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| <log4j.version>2.13.3</log4j.version> |
| <maven.compiler.target>8</maven.compiler.target> |
| <maven.compiler.source>8</maven.compiler.source> |
| <skip.deploy>false</skip.deploy> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>onap-java-style</id> |
| <configuration> |
| <consoleOutput>false</consoleOutput> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.0.2</version> |
| </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>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.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-compiler</artifactId> |
| <version>2.8.0-01</version> |
| <extensions>true</extensions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>3.0.0-M1</version> |
| <configuration> |
| <skip>${skip.deploy}</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- Distribution management --> |
| <distributionManagement> |
| <site> |
| <id>ecomp-site</id> |
| <url>dav:${nexusproxy}${sitePath}</url> |
| </site> |
| </distributionManagement> |
| |
| <!-- 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, --> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| <version>2.4.0</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>logback-classic</artifactId> |
| <groupId>ch.qos.logback</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- Micormeter core dependecy --> |
| <dependency> |
| <groupId>io.micrometer</groupId> |
| <artifactId>micrometer-core</artifactId> |
| <version>1.7.1</version> |
| </dependency> |
| <!-- Micrometer Prometheus registry --> |
| <dependency> |
| <groupId>io.micrometer</groupId> |
| <artifactId>micrometer-registry-prometheus</artifactId> |
| <version>1.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.mail</groupId> |
| <artifactId>javax.mail</artifactId> |
| <version>1.6.0</version> |
| <exclusions> |
| <!-- javax activation is part of the JDK now --> |
| <exclusion> |
| <groupId>javax.activation</groupId> |
| <artifactId>activation</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-core</artifactId> |
| <version>2.3.0.1</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <version>2.3.0.1</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>jsr181-api</artifactId> |
| <groupId>javax.jws</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>3.2.5</version> |
| </dependency> |
| <dependency> |
| <groupId>com.att.aft</groupId> |
| <artifactId>dme2</artifactId> |
| <version>3.1.200-oss</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>3.2.12.RELEASE</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-expression</artifactId> |
| <version>4.3.18.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-messaging</artifactId> |
| <version>4.1.9.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>3.7.0</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>slf4j-log4j12</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.101tec</groupId> |
| <artifactId>zkclient</artifactId> |
| <version>0.11</version> |
| </dependency> |
| <!-- Log4j2 logger --> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.7.32</version> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.13</artifactId> |
| <version>2.8.0</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.14</version> |
| </dependency> |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>2.12.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.woodstox</groupId> |
| <artifactId>woodstox-core</artifactId> |
| <version>5.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.grails</groupId> |
| <artifactId>grails-bootstrap</artifactId> |
| <version>4.0.1</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>ant</artifactId> |
| <groupId>org.apache.ant</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jna</artifactId> |
| <groupId>net.java.dev.jna</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>ant-trax</artifactId> |
| <groupId>org.apache.ant</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>gant_groovy1.8</artifactId> |
| <groupId>org.codehaus.gant</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>ant-launcher</artifactId> |
| <groupId>org.apache.ant</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jline</artifactId> |
| <groupId>jline</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>ivy</artifactId> |
| <groupId>org.apache.ivy</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jansi</artifactId> |
| <groupId>org.fusesource.jansi</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>commons-logging</artifactId> |
| <groupId>commons-logging</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>ant-junit</artifactId> |
| <groupId>org.apache.ant</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>4.3.18.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</artifactId> |
| <version>5.3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>4.3.18.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <version>4.3.18.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.11.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.att.eelf</groupId> |
| <artifactId>eelf-core</artifactId> |
| <version>2.0.0-oss</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- our NSA server library --> |
| <dependency> |
| <groupId>com.att.nsa</groupId> |
| <artifactId>nsaServerLibrary</artifactId> |
| <version>1.0.10</version> |
| <exclusions> |
| <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>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.att.nsa</groupId> |
| <artifactId>saToolkit</artifactId> |
| <version>1.2.0-oss</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>4.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| <version>4.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>3.9.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-core</artifactId> |
| <version>2.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>2.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4-rule</artifactId> |
| <version>2.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-support</artifactId> |
| <version>2.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito2</artifactId> |
| <version>2.0.7</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| <version>2.2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.grails</groupId> |
| <artifactId>grails-web</artifactId> |
| <version>2.5.4</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.grails</groupId> |
| <artifactId>grails-web-jsp</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>3.0.8</version> |
| <type>pom</type> |
| <exclusions> |
| <exclusion> |
| <artifactId>jline</artifactId> |
| <groupId>jline</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>testng</artifactId> |
| <groupId>org.testng</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| <scope>test</scope> |
| </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.2.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| <version>1.3.7</version> |
| </dependency> |
| <dependency> |
| <groupId>com.att.ajsc</groupId> |
| <artifactId>ajsc-archetype-parent</artifactId> |
| <version>3.0.11-oss</version> |
| <type>pom</type> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.aaf.authz</groupId> |
| <artifactId>aaf-cadi-aaf</artifactId> |
| <version>2.7.4</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>log4j</artifactId> |
| <groupId>log4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>backport-util-concurrent</groupId> |
| <artifactId>backport-util-concurrent</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>3.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-quartz</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <version>${camel.version.latest}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-restlet</artifactId> |
| <version>${camel.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>org.restlet</artifactId> |
| <groupId>org.restlet.jse</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-servlet</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>4.4.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-http4</artifactId> |
| <version>${camel.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-groovy</artifactId> |
| <version>${camel.version.latest}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-twitter</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mail</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-smpp</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jms</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-script</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xmpp</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.igniterealtime.smack</groupId> |
| <artifactId>smack-tcp</artifactId> |
| <version>4.4.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-velocity</artifactId> |
| <version>${camel.version.latest}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.att.ajsc</groupId> |
| <artifactId>ajsc-runner</artifactId> |
| <version>3.0.11-oss</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.att.ajsc</groupId> |
| <artifactId>ajsc-core</artifactId> |
| <version>3.0.11-oss</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>4.2.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.32</version> |
| </dependency> |
| </dependencies> |
| <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>docker</id> |
| <properties> |
| <skipTests>true</skipTests> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.groovy.maven</groupId> |
| <artifactId>gmaven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>execute</goal> |
| </goals> |
| <configuration> |
| <properties> |
| <ver>${project.version}</ver> |
| <timestamp>${maven.build.timestamp}</timestamp> |
| </properties> |
| <source> |
| println project.properties['ver']; |
| if ( project.properties['ver'].endsWith("-SNAPSHOT") ) { |
| project.properties['dockertag1']=project.properties['ver'] + "-latest"; |
| project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp']; |
| } else { |
| project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest"; |
| project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; |
| } |
| println 'docker tag 1: ' + project.properties['dockertag1']; |
| println 'docker tag 2: ' + project.properties['dockertag2']; |
| </source> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.33.0</version> |
| <configuration> |
| <skipBuild>${skip.docker.build}</skipBuild> |
| <skipPush>${skip.docker.push}</skipPush> |
| <pullRegistry>${docker.pull.registry}</pullRegistry> |
| <pushRegistry>${docker.push.registry}</pushRegistry> |
| <images> |
| <image> |
| <name>onap/dmaap/dmaap-mr</name> |
| <build> |
| <cleanup>try</cleanup> |
| <dockerFileDir>${dockerLocation}</dockerFileDir> |
| <dockerFile>Dockerfile</dockerFile> |
| <tags> |
| <tag>${dockertag1}</tag> |
| <tag>${dockertag2}</tag> |
| </tags> |
| </build> |
| </image> |
| </images> |
| </configuration> |
| <executions> |
| <execution> |
| <id>generate-images</id> |
| <phase>install</phase> |
| <goals> |
| <goal>build</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>push-images</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>push</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>standardbuild</id> |
| <activation> |
| <file> |
| <exists>src</exists> |
| </file> |
| </activation> |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <excludes> |
| <exclude>extApps/*.*</exclude> |
| <exclude>${module.ajsc.namespace.name}/**</exclude> |
| </excludes> |
| </resource> |
| <resource> |
| <directory>src/main/ajsc/\${namespace}_${namespaceVersion}/\${namespace}/\${namespaceVersion}</directory> |
| <excludes> |
| <exclude>**/*.route</exclude> |
| <exclude>**/*.props</exclude> |
| <exclude>**/*.xslt</exclude> |
| <exclude>**/*.vm</exclude> |
| <exclude>**/*.jar</exclude> |
| <exclude>**/*.xml</exclude> |
| </excludes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-compiler</artifactId> |
| <version>2.8.0-01</version> |
| <extensions>true</extensions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <executable>bash</executable> |
| <arguments> |
| <argument>runServer.sh</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.9</version> |
| <executions> |
| <execution> |
| <id>add-source-groovy-ajsc-arch-parent</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/main/groovy</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-test-source-groovy-ajsc-arch-parent</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>add-test-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/test/groovy</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>regex-properties-ajsc-arch-parent</id> |
| <phase>initialize</phase> |
| <goals> |
| <goal>regex-properties</goal> |
| </goals> |
| <configuration> |
| <regexPropertySettings> |
| <regexPropertySetting> |
| <name>replaceWinFilePath</name> |
| <value>${runAjscHome}</value> |
| <regex>\\</regex> |
| <replacement>/</replacement> |
| <failIfNoMatch>false</failIfNoMatch> |
| </regexPropertySetting> |
| <regexPropertySetting> |
| <name>replaceWinBasedirPath</name> |
| <value>${basedir}</value> |
| <regex>\\</regex> |
| <replacement>/</replacement> |
| <failIfNoMatch>false</failIfNoMatch> |
| </regexPropertySetting> |
| </regexPropertySettings> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <version>1.0-alpha-2</version> |
| <executions> |
| <execution> |
| <id>write-project-properties-ajsc-arch-parent</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>write-project-properties</goal> |
| </goals> |
| <configuration> |
| <outputFile> |
| ${project.build.outputDirectory}/build.properties |
| </outputFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>make-assembly-ajsc-arch-parent</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <finalName>${project.artifactId}</finalName> |
| <descriptors> |
| <descriptor>src/main/assemble/ajsc_runtime_assembly.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.groovy.maven</groupId> |
| <artifactId>gmaven-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <id>gmaven-ajsc-arch-parent</id> |
| <phase>package</phase> |
| <goals> |
| <goal>execute</goal> |
| </goals> |
| <configuration> |
| <sourcepath>src/main/groovy</sourcepath> |
| <source> |
| import ajsc.AssemblyService; |
| ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}") |
| </source> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>prep_service_runtime-ajsc-arch-parent</id> |
| <phase>generate-resources</phase> |
| <configuration> |
| <target name="prep_service_runtime"> |
| <echo message="ENTERING 'copy_services_template' ant tasks" /> |
| <!-- <filter token="basedir" value="${basedir}" /> --> |
| <!-- delete any prior stating stuff before package phase --> |
| <delete dir="target/versioned-ajsc" includes="**/*" /> |
| <delete dir="target/versioned-runtime" includes="**/*" /> |
| <delete dir="target/CDP" includes="**/*" /> |
| |
| <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__ |
| is replaced by module.ajsc.namespace.name) --> |
| <copy todir="target/versioned-ajsc"> |
| <fileset dir="src/main/ajsc" includes="**/*" /> |
| </copy> |
| |
| <!-- Copying the CDP, bundleconfig, and StaticContent to the target |
| directory for future use by replacer plugin --> |
| <copy todir="target/CDP" failonerror="false"> |
| <fileset dir="CDP" includes="**/*.sh" /> |
| </copy> |
| <copy flatten="true" file="CDP/SampleBlueprint.xml" |
| failonerror="false" |
| tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" /> |
| <copy todir="target/staticContent" failonerror="false"> |
| <fileset dir="staticContent" includes="**/*" /> |
| </copy> |
| <copy todir="target/bundleconfig" failonerror="false"> |
| <!-- filtering="true"> --> |
| <fileset dir="bundleconfig" /> |
| </copy> |
| |
| <echo message="EXITING 'copy_services_template' ant tasks" /> |
| <echo message="ENTERING 'copy_runtime_template' ant tasks" /> |
| <copy todir="target/versioned-runtime"> |
| <fileset dir="src/main/runtime" includes="**/*" /> |
| </copy> |
| <delete |
| file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" /> |
| <copy flatten="true" |
| file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" |
| tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" /> |
| <delete |
| file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" /> |
| <copy flatten="true" |
| file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" |
| tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" /> |
| <delete |
| file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" /> |
| <copy flatten="true" |
| file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" |
| tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" /> |
| <delete |
| file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" /> |
| <copy flatten="true" |
| file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json" |
| tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" /> |
| <echo message="EXITING 'copy_runtime_template' ant tasks" /> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>clrf</id> |
| <phase>package</phase> |
| <configuration> |
| <tasks> |
| <fixcrlf |
| srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}" |
| includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id> |
| <phase>package</phase> |
| <configuration> |
| <target name="prep_home_directory_for_swm_pkgcreate"> |
| <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" /> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.8</version> |
| <executions> |
| <execution> |
| <id>copy-dependencies-ajsc-arch-parent</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeScope>runtime</includeScope> |
| <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds> |
| <outputDirectory>${project.build.directory}/userjars</outputDirectory> |
| <silent>true</silent> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copyrunner</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds>ajsc-runner</includeArtifactIds> |
| <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.7</version> |
| <executions> |
| <execution> |
| <id>copyconfig</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/etc</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/config</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-docker-file</id> |
| <phase>prepare-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> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.19.1</version> |
| <configuration> |
| <excludes> |
| <exclude>**/AbstractTest.java</exclude> |
| </excludes> |
| <argLine> |
| ${surefireArgLine} --illegal-access=permit |
| </argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| </profiles> |
| </project> |