blob: 92844e9f48da1b26186799fafa4880717a854d09 [file] [log] [blame]
Pamela Dragoshbcdb1e12018-02-07 15:41:30 -05001<!--
2 ============LICENSE_START=======================================================
3 ONAP Policy Engine
4 ================================================================================
HOCKLAc8856ab2020-01-10 16:01:30 -06005 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
Hengye6a4266d2019-04-04 06:09:26 +00006 Modifications Copyright (C) 2019 Nordix Foundation.
Pamela Dragoshbcdb1e12018-02-07 15:41:30 -05007 ================================================================================
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
liamfallon46b5b532019-11-01 12:09:52 +000011
Pamela Dragoshbcdb1e12018-02-07 15:41:30 -050012 http://www.apache.org/licenses/LICENSE-2.0
liamfallon46b5b532019-11-01 12:09:52 +000013
Pamela Dragoshbcdb1e12018-02-07 15:41:30 -050014 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 -->
liamfallon46b5b532019-11-01 12:09:52 +000021<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040023 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.policy.parent</groupId>
26 <artifactId>integration</artifactId>
HOCKLAe37f5a72020-01-17 16:20:01 -060027 <version>3.1.1-SNAPSHOT</version>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040028 <relativePath />
29 </parent>
30 <groupId>org.onap.policy.engine</groupId>
31 <artifactId>PolicyEngineSuite</artifactId>
Jim Hahn1c5d6cd2019-09-17 12:14:50 -040032 <version>1.6.0-SNAPSHOT</version>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040033 <packaging>pom</packaging>
34 <name>policy-engine</name>
35 <description>The ONAP Policy Engine main pom</description>
36 <properties>
37 <!-- Project common build settings -->
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040038 <project.encoding>UTF-8</project.encoding>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <!-- Project path properties -->
41 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
43 <releases.path>content/repositories/releases/</releases.path>
44 <snapshots.path>content/repositories/snapshots/</snapshots.path>
45 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosheb6547d2018-02-16 11:18:09 -050046
Pamela Dragosh40483ce2020-01-20 07:55:10 -050047 <!-- Default Sonar configuration -->
48 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Pamela Dragosheb6547d2018-02-16 11:18:09 -050049
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040050 <!-- Project common dependency versions -->
Michael Mokrydde7c802019-08-29 14:20:19 -050051 <springframework.version>4.3.24.RELEASE</springframework.version>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040052 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040053 <jackson.version>2.9.4</jackson.version>
54 <commons.fileupload.version>1.3.3</commons.fileupload.version>
Pamela Dragosh207e1ee2018-09-14 11:46:08 -040055 <commons.compress.version>1.18</commons.compress.version>
Pamela Dragoshe78f07a2019-08-22 09:24:01 -040056 <elasticsearch.version>6.8.2</elasticsearch.version>
HOCKLAe37f5a72020-01-17 16:20:01 -060057 <version.policy.common>1.6.2-SNAPSHOT</version.policy.common>
58 <version.policy.models>2.2.1-SNAPSHOT</version.policy.models>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040059 </properties>
60 <modules>
61 <module>PolicyEngineUtils</module>
62 <module>ONAP-XACML</module>
63 <module>ONAP-REST</module>
64 <module>PolicyEngineAPI</module>
65 <module>ONAP-PDP</module>
66 <module>ONAP-PDP-REST</module>
67 <module>ONAP-PAP-REST</module>
68 <module>LogParser</module>
69 <module>PolicyEngineClient</module>
70 <module>BRMSGateway</module>
71 <module>POLICY-SDK-APP</module>
72 <module>ONAP-SDK-APP</module>
73 <module>packages</module>
Michael Mokry79b08ac2018-10-17 09:51:06 -050074 <module>TestSuite</module>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040075 </modules>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040076 <reporting>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-javadoc-plugin</artifactId>
81 <version>2.10.4</version>
82 <configuration>
83 <failOnError>false</failOnError>
84 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
85 <docletArtifact>
86 <groupId>org.umlgraph</groupId>
87 <artifactId>umlgraph</artifactId>
88 <version>5.6</version>
89 </docletArtifact>
90 <additionalparam>-views</additionalparam>
91 <useStandardDocletOptions>true</useStandardDocletOptions>
92 </configuration>
93 </plugin>
94 </plugins>
95 </reporting>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -040096 <dependencies>
97 <dependency>
Pamela Dragoshdbfa1572019-10-07 15:26:08 -040098 <groupId>org.projectlombok</groupId>
99 <artifactId>lombok</artifactId>
100 <scope>provided</scope>
101 </dependency>
102 <dependency>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400103 <groupId>javax.servlet</groupId>
104 <artifactId>javax.servlet-api</artifactId>
105 </dependency>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400106 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
107 <dependency>
108 <groupId>com.fasterxml.jackson.core</groupId>
109 <artifactId>jackson-databind</artifactId>
110 <version>${jackson.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>junit</groupId>
114 <artifactId>junit</artifactId>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
Pamela Dragosha4467332019-10-08 10:01:23 -0400118 <groupId>org.assertj</groupId>
119 <artifactId>assertj-core</artifactId>
120 <scope>test</scope>
121 </dependency>
122 <dependency>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400123 <groupId>org.springframework</groupId>
124 <artifactId>spring-mock</artifactId>
125 <version>2.0.8</version>
126 <scope>test</scope>
127 </dependency>
128 <dependency>
129 <groupId>com.mockrunner</groupId>
130 <artifactId>mockrunner</artifactId>
131 <version>0.3.1</version>
132 <scope>test</scope>
133 </dependency>
134 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
135 <dependency>
136 <groupId>org.powermock</groupId>
HOCKLAe37f5a72020-01-17 16:20:01 -0600137 <artifactId>powermock-api-mockito2</artifactId>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400138 <scope>test</scope>
139 </dependency>
140 <dependency>
bobbymandercc021602018-03-28 15:05:33 -0400141 <groupId>org.powermock</groupId>
142 <artifactId>powermock-module-junit4</artifactId>
bobbymandercc021602018-03-28 15:05:33 -0400143 <scope>test</scope>
144 </dependency>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400145 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
146 <dependency>
147 <groupId>org.mockito</groupId>
148 <artifactId>mockito-all</artifactId>
149 <scope>test</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.easymock</groupId>
153 <artifactId>easymock</artifactId>
HOCKLAe37f5a72020-01-17 16:20:01 -0600154 <version>4.1</version>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400155 <scope>test</scope>
156 </dependency>
liamfallon46b5b532019-11-01 12:09:52 +0000157 <dependency>
158 <groupId>org.glassfish.jersey.inject</groupId>
159 <artifactId>jersey-hk2</artifactId>
160 <scope>test</scope>
161 </dependency>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400162 </dependencies>
163 <build>
164 <plugins>
165 <plugin>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-deploy-plugin</artifactId>
168 <configuration>
169 <skip />
170 </configuration>
171 </plugin>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-surefire-plugin</artifactId>
175 </plugin>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-clean-plugin</artifactId>
179 <version>2.4.1</version>
180 </plugin>
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-compiler-plugin</artifactId>
184 <configuration>
185 <encoding>${project.encoding}</encoding>
HOCKLAe37f5a72020-01-17 16:20:01 -0600186 <release>${java.version}</release>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400187 </configuration>
188 </plugin>
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-resources-plugin</artifactId>
192 <configuration>
193 <encoding>${project.encoding}</encoding>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-war-plugin</artifactId>
199 <configuration>
200 <failOnMissingWebXml>false</failOnMissingWebXml>
201 </configuration>
202 </plugin>
203 <!-- The Jetty plugin allows us to easily test the development build by
204 running jetty:run on the command line. -->
205 <plugin>
206 <groupId>org.eclipse.jetty</groupId>
207 <artifactId>jetty-maven-plugin</artifactId>
208 <version>${jetty.plugin.version}</version>
209 <configuration>
210 <scanIntervalSeconds>2</scanIntervalSeconds>
211 </configuration>
212 </plugin>
213 <plugin>
214 <groupId>com.fortify.ps.maven.plugin</groupId>
215 <artifactId>sca-maven-plugin</artifactId>
216 <version>4.20</version>
217 </plugin>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-site-plugin</artifactId>
221 <dependencies>
222 <dependency>
223 <groupId>org.apache.maven.wagon</groupId>
224 <artifactId>wagon-webdav-jackrabbit</artifactId>
225 <version>2.10</version>
226 </dependency>
227 </dependencies>
228 </plugin>
229 </plugins>
Pamela Dragosh40aef4f2017-08-14 13:53:06 -0400230 <pluginManagement>
231 <plugins>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400232 <plugin>
Pamela Dragosh40aef4f2017-08-14 13:53:06 -0400233 <groupId>org.eclipse.m2e</groupId>
234 <artifactId>lifecycle-mapping</artifactId>
235 <version>1.0.0</version>
236 <configuration>
237 <lifecycleMappingMetadata>
238 <pluginExecutions>
239 <pluginExecution>
240 <pluginExecutionFilter>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-checkstyle-plugin</artifactId>
243 <versionRange>2.17,)</versionRange>
244 <goals>
245 <goal>check</goal>
246 </goals>
247 </pluginExecutionFilter>
248 <action>
249 <ignore />
250 </action>
251 </pluginExecution>
252 </pluginExecutions>
253 </lifecycleMappingMetadata>
254 </configuration>
255 </plugin>
256 </plugins>
257 </pluginManagement>
Pamela Dragosh2cb76b32018-08-30 07:51:13 -0400258 </build>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500259</project>