blob: 343df9eb39610ad87317942d6007b0e329c9d4c4 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijing073cc182017-07-31 08:47:35 +00003 ONAP Policy Engine
Pamela Dragosh91d04c62017-02-14 19:41:00 -05004 ================================================================================
Pamela Dragoshbcdb1e12018-02-07 15:41:30 -05005 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Pamela Dragosh91d04c62017-02-14 19:41:00 -05006 ================================================================================
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
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 -->
20
liamfallon4ddca8b2018-10-31 17:17:01 +000021<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">
waqas.ikramd4b467d2018-03-28 12:56:15 +010022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.engine</groupId>
25 <artifactId>PolicyEngineSuite</artifactId>
liamfallon4ddca8b2018-10-31 17:17:01 +000026 <version>1.3.2-SNAPSHOT</version>
waqas.ikramd4b467d2018-03-28 12:56:15 +010027 </parent>
28 <artifactId>BRMSGateway</artifactId>
29 <description>This application will take in BRMS rules and acts as interface between PR and PDP XACML</description>
30 <dependencies>
31 <dependency>
32 <groupId>com.h2database</groupId>
33 <artifactId>h2</artifactId>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
37 <groupId>org.onap.policy.engine</groupId>
38 <artifactId>PolicyEngineAPI</artifactId>
39 <version>${project.version}</version>
40 <exclusions>
41 <exclusion>
42 <groupId>com.att.nsa</groupId>
43 <artifactId>cambriaClient</artifactId>
44 </exclusion>
45 </exclusions>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.maven</groupId>
49 <artifactId>maven-model</artifactId>
50 <version>3.5.3</version>
51 </dependency>
52 <dependency>
53 <groupId>org.apache.maven.shared</groupId>
54 <artifactId>maven-invoker</artifactId>
55 <version>3.0.0</version>
56 </dependency>
57 <dependency>
58 <groupId>org.onap.policy.common</groupId>
59 <artifactId>integrity-monitor</artifactId>
ramvermad7630c42018-10-25 17:19:16 +010060 <version>${version.policy.common}</version>
waqas.ikramd4b467d2018-03-28 12:56:15 +010061 </dependency>
waqas.ikramd4b467d2018-03-28 12:56:15 +010062 <dependency>
63 <groupId>com.thoughtworks.xstream</groupId>
64 <artifactId>xstream</artifactId>
waqas.ikramd4b467d2018-03-28 12:56:15 +010065 </dependency>
66 <dependency>
67 <groupId>com.att.nsa</groupId>
68 <artifactId>cambriaClient</artifactId>
waqas.ikramd4b467d2018-03-28 12:56:15 +010069 <exclusions>
70 <exclusion>
71 <groupId>org.slf4j</groupId>
72 <artifactId>slf4j-log4j12</artifactId>
73 </exclusion>
74 </exclusions>
75 </dependency>
76 <dependency>
77 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
78 <artifactId>dmaapClient</artifactId>
waqas.ikramd4b467d2018-03-28 12:56:15 +010079 <exclusions>
80 <exclusion>
81 <groupId>org.slf4j</groupId>
82 <artifactId>slf4j-log4j12</artifactId>
83 </exclusion>
84 <exclusion>
85 <groupId>com.att.aft</groupId>
86 <artifactId>dme2</artifactId>
87 </exclusion>
88 </exclusions>
89 </dependency>
90 <dependency>
91 <groupId>org.apache.httpcomponents</groupId>
92 <artifactId>httpclient</artifactId>
waqas.ikramd4b467d2018-03-28 12:56:15 +010093 </dependency>
94 </dependencies>
95 <build>
96 <plugins>
97 <plugin>
98 <artifactId>maven-checkstyle-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>onap-java-style</id>
102 <goals>
103 <goal>check</goal>
104 </goals>
105 <phase>process-sources</phase>
106 <configuration>
107 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
108 with minor changes -->
109 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
110 <!-- <sourceDirectory> is needed so that checkstyle
111 ignores the generated sources directory -->
112 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
113 <includeResources>true</includeResources>
114 <includeTestSourceDirectory>true</includeTestSourceDirectory>
115 <includeTestResources>true</includeTestResources>
116 <consoleOutput>true</consoleOutput>
117 <failOnViolation>true</failOnViolation>
118 <violationSeverity>warning</violationSeverity>
119 </configuration>
120 </execution>
121 </executions>
122 <dependencies>
123 <dependency>
124 <groupId>org.onap.oparent</groupId>
125 <artifactId>checkstyle</artifactId>
126 <version>0.1.1</version>
127 <scope>compile</scope>
128 </dependency>
129 </dependencies>
130 </plugin>
131 <plugin>
132 <!-- Build an executable JAR -->
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-assembly-plugin</artifactId>
waqas.ikramd4b467d2018-03-28 12:56:15 +0100135 <configuration>
136 <archive>
137 <manifest>
138 <addClasspath>true</addClasspath>
139 <classpathPrefix>lib/</classpathPrefix>
Daniel Cruzdb15d582018-04-03 08:08:19 -0500140 <mainClass>org.onap.policy.brms.api.BrmsGateway</mainClass>
waqas.ikramd4b467d2018-03-28 12:56:15 +0100141 </manifest>
142 </archive>
143 <descriptorRefs>
144 <descriptorRef>jar-with-dependencies</descriptorRef>
145 </descriptorRefs>
146 </configuration>
147 <executions>
148 <execution>
149 <id>make-assembly</id>
150 <phase>package</phase>
151 <goals>
152 <goal>single</goal>
153 </goals>
154 </execution>
155 </executions>
156 </plugin>
157 </plugins>
158 </build>
Pamela Dragoshbb9c33b2017-11-07 21:14:49 -0500159</project>