350e9b9c0e8de91fb61e5753e95c7eabe0a6ef2d
[policy/xacml-pdp.git] / applications / monitoring / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine - XACML PDP
4   ================================================================================
5   Copyright (C) 2019 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   -->
20
21 <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/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.xacml-pdp.applications</groupId>
26         <artifactId>applications</artifactId>
27         <version>2.1.3-SNAPSHOT</version>
28     </parent>
29
30     <artifactId>monitoring</artifactId>
31
32     <name>${project.artifactId}</name>
33     <description>This modules contains applications that implement policy-types for XACML PDP.</description>
34
35     <dependencies>
36         <dependency>
37             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
38             <artifactId>common</artifactId>
39             <version>${project.version}</version>
40         </dependency>
41     </dependencies>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <artifactId>maven-checkstyle-plugin</artifactId>
47                 <executions>
48                     <execution>
49                         <id>onap-java-style</id>
50                         <goals>
51                             <goal>check</goal>
52                         </goals>
53                         <phase>process-sources</phase>
54                         <configuration>
55                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
56                                 with minor changes -->
57                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
58                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
59                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
60                             <includeResources>true</includeResources>
61                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
62                             <includeTestResources>true</includeTestResources>
63                             <excludes>
64                             </excludes>
65                             <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
66                             <consoleOutput>true</consoleOutput>
67                             <failOnViolation>true</failOnViolation>
68                             <violationSeverity>warning</violationSeverity>
69                         </configuration>
70                     </execution>
71                 </executions>
72                 <dependencies>
73                     <dependency>
74                         <groupId>org.onap.oparent</groupId>
75                         <artifactId>checkstyle</artifactId>
76                         <version>${oparent.version}</version>
77                         <scope>compile</scope>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81         </plugins>        
82     </build>    
83
84 </project>