Add capability for multi-role support
[policy/engine.git] / ONAP-PDP / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20   -->
21
22 <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/maven-v4_0_0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <artifactId>ONAP-PDP</artifactId>
25     <description>ONAP-PDP</description>
26     <packaging>jar</packaging>
27     <parent>
28         <groupId>org.onap.policy.engine</groupId>
29         <artifactId>PolicyEngineSuite</artifactId>
30         <version>1.4.0-SNAPSHOT</version>
31     </parent>
32     <dependencies>
33         <dependency>
34             <groupId>org.onap.policy.engine</groupId>
35             <version>${project.version}</version>
36             <artifactId>ONAP-REST</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.apache.httpcomponents</groupId>
40             <artifactId>httpclient</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.apache.httpcomponents</groupId>
44             <artifactId>httpcore</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>commons-codec</groupId>
48             <artifactId>commons-codec</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>commons-logging</groupId>
52             <artifactId>commons-logging</artifactId>
53             <version>1.2</version>
54             <exclusions>
55                 <exclusion>
56                     <groupId>javax.servlet</groupId>
57                     <artifactId>servlet-api</artifactId>
58                 </exclusion>
59             </exclusions>
60         </dependency>
61         <dependency>
62             <groupId>com.google.guava</groupId>
63             <artifactId>guava</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>com.att.research.xacml</groupId>
67             <artifactId>xacml-pdp</artifactId>
68             <version>1.0.2</version>
69             <exclusions>
70                 <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We 
71                     are not using that PIP and can safely exclude this jar to resolve CLM issue. -->
72                 <exclusion>
73                     <groupId>commons-collections</groupId>
74                     <artifactId>commons-collections</artifactId>
75                 </exclusion>
76             </exclusions>
77         </dependency>
78         <dependency>
79             <groupId>org.onap.policy.common</groupId>
80             <artifactId>policy-endpoints</artifactId>
81             <version>${version.policy.common}</version>
82             <scope>test</scope>
83         </dependency>
84     </dependencies>
85     <build>
86         <plugins>
87             <plugin>
88                 <artifactId>maven-checkstyle-plugin</artifactId>
89                 <executions>
90                     <execution>
91                         <id>onap-java-style</id>
92                         <goals>
93                             <goal>check</goal>
94                         </goals>
95                         <phase>process-sources</phase>
96                         <configuration>
97                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
98                                 with minor changes -->
99                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
100                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated 
101                                 sources directory -->
102                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
103                             <includeResources>true</includeResources>
104                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
105                             <includeTestResources>true</includeTestResources>
106                             <excludes>
107                             </excludes>
108                             <consoleOutput>true</consoleOutput>
109                             <failOnViolation>true</failOnViolation>
110                             <violationSeverity>warning</violationSeverity>
111                         </configuration>
112                     </execution>
113                 </executions>
114                 <dependencies>
115                     <dependency>
116                         <groupId>org.onap.oparent</groupId>
117                         <artifactId>checkstyle</artifactId>
118                         <version>${oparent.version}</version>
119                         <scope>compile</scope>
120                     </dependency>
121                 </dependencies>
122             </plugin>
123         </plugins>
124     </build>
125 </project>