blob: a76f4b30c61ce26d6240dfb6ec10b0c11a69ecfb [file] [log] [blame]
Pamela Dragoshd548b612018-04-16 11:53:04 -04001<!--
2 ============LICENSE_START=======================================================
3 drools-pdp-apps
4 ================================================================================
5 Copyright (C) 2017-2018 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
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 -->
Gao, Chenfei (cg287m)68377162017-06-22 14:48:41 -040020<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">
21 <modelVersion>4.0.0</modelVersion>
liamfallondef0f112018-02-13 11:29:56 +000022
23 <parent>
24 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
25 <artifactId>common</artifactId>
liamfallon4cfda9c2018-06-05 16:41:35 +010026 <version>1.3.0-SNAPSHOT</version>
liamfallondef0f112018-02-13 11:29:56 +000027 </parent>
28
Gao, Chenfei (cg287m)68377162017-06-22 14:48:41 -040029 <artifactId>guard</artifactId>
liamfallondef0f112018-02-13 11:29:56 +000030
Gao, Chenfei (cg287m)68377162017-06-22 14:48:41 -040031 <dependencies>
liamfallondef0f112018-02-13 11:29:56 +000032 <dependency>
33 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
34 <artifactId>policy-yaml</artifactId>
35 <version>${project.version}</version>
36 <scope>provided</scope>
37 </dependency>
38 <dependency>
39 <groupId>com.att.research.xacml</groupId>
40 <artifactId>xacml-pdp</artifactId>
41 <version>1.0.1</version>
Pamela Dragoshc11d9052018-03-01 17:11:20 -050042 <exclusions>
43 <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
44 are not using that PIP and can safely exclude this jar to resolve CLM issue.
45 -->
46 <exclusion>
47 <groupId>commons-collections</groupId>
48 <artifactId>commons-collections</artifactId>
49 </exclusion>
50 </exclusions>
liamfallondef0f112018-02-13 11:29:56 +000051 </dependency>
52 <dependency>
53 <groupId>junit</groupId>
54 <artifactId>junit</artifactId>
liamfallondef0f112018-02-13 11:29:56 +000055 <scope>test</scope>
56 </dependency>
57 <dependency>
58 <groupId>commons-io</groupId>
59 <artifactId>commons-io</artifactId>
60 <version>2.5</version>
61 <scope>provided</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.httpcomponents</groupId>
65 <artifactId>httpclient</artifactId>
liamfallondef0f112018-02-13 11:29:56 +000066 <scope>provided</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.drools</groupId>
70 <artifactId>drools-core</artifactId>
71 <version>6.5.0.Final</version>
72 <scope>provided</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.eclipse.persistence</groupId>
76 <artifactId>org.eclipse.persistence.jpa</artifactId>
77 <version>2.7.0</version>
78 <scope>provided</scope>
79 </dependency>
80 <dependency>
mmise87b2f72018-07-23 12:22:07 +010081 <groupId>org.onap.policy.common</groupId>
82 <artifactId>policy-endpoints</artifactId>
83 <version>${project.version}</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
liamfallondef0f112018-02-13 11:29:56 +000087 <groupId>org.onap.policy.drools-pdp</groupId>
88 <artifactId>policy-management</artifactId>
89 <version>${project.version}</version>
90 <scope>provided</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
94 <artifactId>simulators</artifactId>
95 <version>${project.version}</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-core</artifactId>
101 <version>2.13.0</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>com.h2database</groupId>
106 <artifactId>h2</artifactId>
liamfallondef0f112018-02-13 11:29:56 +0000107 <scope>test</scope>
108 </dependency>
Gao, Chenfei (cg287m)68377162017-06-22 14:48:41 -0400109 </dependencies>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400110 <build>
111 <plugins>
112 <plugin>
113 <artifactId>maven-checkstyle-plugin</artifactId>
114 <executions>
115 <execution>
116 <id>onap-java-style</id>
117 <goals>
118 <goal>check</goal>
119 </goals>
120 <phase>process-sources</phase>
121 <configuration>
122 <!-- Use Google Java Style Guide:
123 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
124 with minor changes -->
125 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
126 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Pamela Dragosh1c32e0c2018-09-26 13:53:38 -0400127 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400128 <includeResources>true</includeResources>
129 <includeTestSourceDirectory>true</includeTestSourceDirectory>
130 <includeTestResources>true</includeTestResources>
131 <excludes>
132 </excludes>
Pamela Dragosh1c32e0c2018-09-26 13:53:38 -0400133 <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
Pamela Dragosha24a9852018-09-21 20:08:11 -0400134 <consoleOutput>true</consoleOutput>
135 <failsOnViolation>true</failsOnViolation>
136 <violationSeverity>warning</violationSeverity>
137 </configuration>
138 </execution>
139 </executions>
140 <dependencies>
141 <dependency>
142 <groupId>org.onap.oparent</groupId>
143 <artifactId>checkstyle</artifactId>
144 <version>${oparent.version}</version>
145 <scope>compile</scope>
146 </dependency>
147 </dependencies>
148 </plugin>
149 </plugins>
150 </build>
Gao, Chenfei (cg287m)68377162017-06-22 14:48:41 -0400151</project>