Remove release notes
[policy/engine.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine
4   ================================================================================
5   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2019 Nordix Foundation.
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 <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">
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <groupId>org.onap.policy.parent</groupId>
25         <artifactId>integration</artifactId>
26         <version>2.1.0</version>
27         <relativePath />
28     </parent>
29     <groupId>org.onap.policy.engine</groupId>
30     <artifactId>PolicyEngineSuite</artifactId>
31     <version>1.4.2-SNAPSHOT</version>
32     <packaging>pom</packaging>
33     <name>policy-engine</name>
34     <description>The ONAP Policy Engine main pom</description>
35     <properties>
36         <!-- Project common build settings -->
37         <project.source.version>1.8</project.source.version>
38         <project.target.version>1.8</project.target.version>
39         <project.encoding>UTF-8</project.encoding>
40         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41         <!-- Project path properties -->
42         <nexusproxy>https://nexus.onap.org</nexusproxy>
43         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
44         <releases.path>content/repositories/releases/</releases.path>
45         <snapshots.path>content/repositories/snapshots/</snapshots.path>
46         <staging.path>content/repositories/staging/</staging.path>
47
48         <!-- sonar/jacoco overrides -->
49         <!-- Overriding oparent default sonar/jacoco settings Combine all our reports 
50             into one file shared across sub-modules -->
51         <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
52         <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
53         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
54
55         <!-- Project common dependency versions -->
56         <springframework.version>4.3.18.RELEASE</springframework.version>
57         <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
58         <jackson.version>2.9.4</jackson.version>
59         <commons.fileupload.version>1.3.3</commons.fileupload.version>
60         <commons.compress.version>1.18</commons.compress.version>
61         <elasticsearch.version>6.4.3</elasticsearch.version>
62         <version.policy.common>1.4.0</version.policy.common>
63         <version.policy.models>2.0.0</version.policy.models>
64     </properties>
65     <modules>
66         <module>PolicyEngineUtils</module>
67         <module>ONAP-XACML</module>
68         <module>ONAP-REST</module>
69         <module>PolicyEngineAPI</module>
70         <module>ONAP-PDP</module>
71         <module>ONAP-PDP-REST</module>
72         <module>ONAP-PAP-REST</module>
73         <module>LogParser</module>
74         <module>PolicyEngineClient</module>
75         <module>BRMSGateway</module>
76         <module>POLICY-SDK-APP</module>
77         <module>ONAP-SDK-APP</module>
78         <module>packages</module>
79         <module>TestSuite</module>
80     </modules>
81     <reporting>
82         <plugins>
83             <plugin>
84                 <groupId>org.apache.maven.plugins</groupId>
85                 <artifactId>maven-javadoc-plugin</artifactId>
86                 <version>2.10.4</version>
87                 <configuration>
88                     <failOnError>false</failOnError>
89                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
90                     <docletArtifact>
91                         <groupId>org.umlgraph</groupId>
92                         <artifactId>umlgraph</artifactId>
93                         <version>5.6</version>
94                     </docletArtifact>
95                     <additionalparam>-views</additionalparam>
96                     <useStandardDocletOptions>true</useStandardDocletOptions>
97                 </configuration>
98             </plugin>
99         </plugins>
100     </reporting>
101     <dependencies>
102         <dependency>
103             <groupId>javax.servlet</groupId>
104             <artifactId>javax.servlet-api</artifactId>
105         </dependency>
106         <dependency>
107             <!-- org.w3c.dom dependencies -->
108             <groupId>xml-apis</groupId>
109             <artifactId>xml-apis</artifactId>
110             <version>1.3.03</version>
111         </dependency>
112         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
113         <dependency>
114             <groupId>com.fasterxml.jackson.core</groupId>
115             <artifactId>jackson-databind</artifactId>
116             <version>${jackson.version}</version>
117         </dependency>
118         <dependency>
119             <groupId>junit</groupId>
120             <artifactId>junit</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.springframework</groupId>
125             <artifactId>spring-mock</artifactId>
126             <version>2.0.8</version>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>com.mockrunner</groupId>
131             <artifactId>mockrunner</artifactId>
132             <version>0.3.1</version>
133             <scope>test</scope>
134         </dependency>
135         <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
136         <dependency>
137             <groupId>org.powermock</groupId>
138             <artifactId>powermock-api-mockito</artifactId>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.powermock</groupId>
143             <artifactId>powermock-module-junit4</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
147         <dependency>
148             <groupId>org.mockito</groupId>
149             <artifactId>mockito-all</artifactId>
150             <scope>test</scope>
151         </dependency>
152         <dependency>
153             <groupId>org.easymock</groupId>
154             <artifactId>easymock</artifactId>
155             <version>3.1</version>
156             <scope>test</scope>
157         </dependency>
158     </dependencies>
159     <build>
160         <plugins>
161             <plugin>
162                 <groupId>org.jacoco</groupId>
163                 <artifactId>jacoco-maven-plugin</artifactId>
164                 <executions>
165                     <execution>
166                         <id>pre-unit-test</id>
167                         <goals>
168                             <goal>prepare-agent</goal>
169                         </goals>
170                         <configuration>
171                             <destFile>${sonar.jacoco.reportPath}</destFile>
172                             <append>true</append>
173                         </configuration>
174                     </execution>
175                     <execution>
176                         <id>post-unit-test</id>
177                         <phase>test</phase>
178                         <goals>
179                             <goal>report</goal>
180                         </goals>
181                         <configuration>
182                             <dataFile>${sonar.jacoco.reportPath}</dataFile>
183                         </configuration>
184                     </execution>
185                 </executions>
186             </plugin>
187             <plugin>
188                 <groupId>org.sonatype.plugins</groupId>
189                 <artifactId>nexus-staging-maven-plugin</artifactId>
190                 <extensions>true</extensions>
191                 <configuration>
192                     <nexusUrl>${nexusproxy}</nexusUrl>
193                     <stagingProfileId>176c31dfe190a</stagingProfileId>
194                     <serverId>ecomp-staging</serverId>
195                 </configuration>
196             </plugin>
197             <plugin>
198                 <groupId>org.apache.maven.plugins</groupId>
199                 <artifactId>maven-deploy-plugin</artifactId>
200                 <configuration>
201                     <skip />
202                 </configuration>
203             </plugin>
204             <plugin>
205                 <groupId>org.apache.maven.plugins</groupId>
206                 <artifactId>maven-surefire-plugin</artifactId>
207             </plugin>
208             <plugin>
209                 <groupId>org.apache.maven.plugins</groupId>
210                 <artifactId>maven-clean-plugin</artifactId>
211                 <version>2.4.1</version>
212             </plugin>
213             <plugin>
214                 <groupId>org.apache.maven.plugins</groupId>
215                 <artifactId>maven-compiler-plugin</artifactId>
216                 <configuration>
217                     <encoding>${project.encoding}</encoding>
218                     <source>${project.source.version}</source>
219                     <target>${project.target.version}</target>
220                 </configuration>
221             </plugin>
222             <plugin>
223                 <groupId>org.apache.maven.plugins</groupId>
224                 <artifactId>maven-resources-plugin</artifactId>
225                 <configuration>
226                     <encoding>${project.encoding}</encoding>
227                 </configuration>
228             </plugin>
229             <plugin>
230                 <groupId>org.apache.maven.plugins</groupId>
231                 <artifactId>maven-war-plugin</artifactId>
232                 <configuration>
233                     <failOnMissingWebXml>false</failOnMissingWebXml>
234                 </configuration>
235             </plugin>
236             <!-- The Jetty plugin allows us to easily test the development build by
237                 running jetty:run on the command line. -->
238             <plugin>
239                 <groupId>org.eclipse.jetty</groupId>
240                 <artifactId>jetty-maven-plugin</artifactId>
241                 <version>${jetty.plugin.version}</version>
242                 <configuration>
243                     <scanIntervalSeconds>2</scanIntervalSeconds>
244                 </configuration>
245             </plugin>
246             <plugin>
247                 <groupId>com.fortify.ps.maven.plugin</groupId>
248                 <artifactId>sca-maven-plugin</artifactId>
249                 <version>4.20</version>
250             </plugin>
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-site-plugin</artifactId>
254                 <dependencies>
255                     <dependency>
256                         <groupId>org.apache.maven.wagon</groupId>
257                         <artifactId>wagon-webdav-jackrabbit</artifactId>
258                         <version>2.10</version>
259                     </dependency>
260                 </dependencies>
261             </plugin>
262         </plugins>
263         <pluginManagement>
264             <plugins>
265                 <plugin>
266                     <groupId>org.jacoco</groupId>
267                     <artifactId>jacoco-maven-plugin</artifactId>
268                     <version>${jacoco.version}</version>
269                     <configuration>
270                          <!-- Note: This exclusion list should match <sonar.exclusions> property 
271                              above -->
272                         <excludes>
273                             <exclude>**/gen/**</exclude>
274                             <exclude>**/generated-sources/**</exclude>
275                             <exclude>**/yang-gen/**</exclude>
276                             <exclude>**/pax/**</exclude>
277                         </excludes>
278                     </configuration>
279                     <executions>
280                         <!-- Prepares the property pointing to the JaCoCo runtime agent which 
281                              is passed as VM argument when Maven the Surefire plugin is executed. -->
282                         <execution>
283                             <id>pre-unit-test</id>
284                             <goals>
285                                 <goal>prepare-agent</goal>
286                             </goals>
287                             <configuration>
288                                 <destFile>${sonar.jacoco.reportPath}</destFile>
289                             </configuration>
290                         </execution>
291                         <!-- Ensures that the code coverage report for unit tests is created 
292                             after unit tests have been run. -->
293                         <execution>
294                             <id>post-unit-test</id>
295                             <phase>test</phase>
296                             <goals>
297                                 <goal>report</goal>
298                             </goals>
299                             <configuration>
300                                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
301                             </configuration>
302                         </execution>
303                     </executions>
304                 </plugin>
305                 <plugin>
306                     <groupId>org.eclipse.m2e</groupId>
307                     <artifactId>lifecycle-mapping</artifactId>
308                     <version>1.0.0</version>
309                     <configuration>
310                         <lifecycleMappingMetadata>
311                             <pluginExecutions>
312                                 <pluginExecution>
313                                     <pluginExecutionFilter>
314                                         <groupId>org.apache.maven.plugins</groupId>
315                                         <artifactId>maven-checkstyle-plugin</artifactId>
316                                         <versionRange>2.17,)</versionRange>
317                                         <goals>
318                                             <goal>check</goal>
319                                         </goals>
320                                     </pluginExecutionFilter>
321                                     <action>
322                                         <ignore />
323                                     </action>
324                                 </pluginExecution>
325                             </pluginExecutions>
326                         </lifecycleMappingMetadata>
327                     </configuration>
328                 </plugin>
329             </plugins>
330         </pluginManagement>
331     </build>
332 </project>