| <!-- |
| ============LICENSE_START======================================================= |
| ONAP Policy Engine |
| ================================================================================ |
| Copyright (C) 2017-2018 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========================================================= |
| --> |
| |
| <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.policy.engine</groupId> |
| <artifactId>PolicyEngineSuite</artifactId> |
| <version>1.2.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>BRMSGateway</artifactId> |
| <description>This application will take in BRMS rules and acts as interface between PR and PDP XACML</description> |
| <dependencies> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.engine</groupId> |
| <artifactId>PolicyEngineAPI</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.att.nsa</groupId> |
| <artifactId>cambriaClient</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>3.5.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-invoker</artifactId> |
| <version>3.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>integrity-monitor</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- CLM security fix - force use of commons-collections 3.2.2. Remove |
| this if a new version of nexus-rest-client-java is upgraded to not use velocity |
| (and then subsequently commons-collections v3.1 --> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.nexus</groupId> |
| <artifactId>nexus-rest-client-java</artifactId> |
| <version>2.3.1-01</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| <version>1.4.10</version> |
| </dependency> |
| <dependency> |
| <groupId>com.att.nsa</groupId> |
| <artifactId>cambriaClient</artifactId> |
| <version>0.0.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| <artifactId>dmaapClient</artifactId> |
| <version>${dmaap.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.att.aft</groupId> |
| <artifactId>dme2</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>onap-java-style</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>process-sources</phase> |
| <configuration> |
| <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| with minor changes --> |
| <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| <!-- <sourceDirectory> is needed so that checkstyle |
| ignores the generated sources directory --> |
| <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| <includeResources>true</includeResources> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <includeTestResources>true</includeTestResources> |
| <consoleOutput>true</consoleOutput> |
| <failOnViolation>true</failOnViolation> |
| <violationSeverity>warning</violationSeverity> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.onap.oparent</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>0.1.1</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <!-- Build an executable JAR --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>lib/</classpathPrefix> |
| <mainClass>org.onap.policy.brms.api.BrmsGateway</mainClass> |
| </manifest> |
| </archive> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |