Set new master version for Dublin
[policy/engine.git] / LogParser / 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/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.engine</groupId>
26         <artifactId>PolicyEngineSuite</artifactId>
27         <version>1.4.0-SNAPSHOT</version>
28     </parent>
29     <artifactId>LogParser</artifactId>
30     <dependencies>
31         <dependency>
32             <groupId>com.h2database</groupId>
33             <artifactId>h2</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.mariadb.jdbc</groupId>
37             <artifactId>mariadb-java-client</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.onap.policy.common</groupId>
41             <artifactId>ONAP-Logging</artifactId>
42             <version>${version.policy.common}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.onap.policy.common</groupId>
46             <artifactId>integrity-monitor</artifactId>
47             <version>${version.policy.common}</version>
48         </dependency>
49         <dependency>
50             <groupId>org.apache.logging.log4j</groupId>
51             <artifactId>log4j-api</artifactId>
52             <version>2.8.2</version>
53         </dependency>
54         <dependency>
55             <groupId>org.apache.logging.log4j</groupId>
56             <artifactId>log4j-core</artifactId>
57             <version>2.8.2</version>
58         </dependency>
59         <dependency>
60             <groupId>org.eclipse.persistence</groupId>
61             <artifactId>javax.persistence</artifactId>
62             <version>2.1.0</version>
63         </dependency>
64         <dependency>
65             <groupId>org.eclipse.persistence</groupId>
66             <artifactId>eclipselink</artifactId>
67             <version>2.6.0</version>
68         </dependency>
69         <dependency>
70             <groupId>org.onap.policy.engine</groupId>
71             <artifactId>PolicyEngineUtils</artifactId>
72             <version>${project.version}</version>
73             <exclusions>
74                 <exclusion>
75                     <groupId>com.att.aft</groupId>
76                     <artifactId>dme2</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>org.json</groupId>
80                     <artifactId>json</artifactId>
81                 </exclusion>
82                 <exclusion>
83                     <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
84                     <artifactId>dmaapClient</artifactId>
85                 </exclusion>
86                 <exclusion>
87                     <groupId>com.att.nsa</groupId>
88                     <artifactId>cambriaClient</artifactId>
89                 </exclusion>
90                 <exclusion>
91                     <groupId>org.onap.aaf.cadi</groupId>
92                     <artifactId>cadi-aaf</artifactId>
93                 </exclusion>
94             </exclusions>
95         </dependency>
96     </dependencies>
97     <build>
98         <plugins>
99             <plugin> 
100                 <!-- Build an executable JAR -->
101                 <groupId>org.apache.maven.plugins</groupId>
102                 <artifactId>maven-assembly-plugin</artifactId>
103                 <configuration>
104                     <archive>
105                         <manifest>
106                             <addClasspath>true</addClasspath>
107                             <classpathPrefix>lib/</classpathPrefix>
108                             <mainClass>org.onap.xacml.parser.ParseLog</mainClass>
109                         </manifest>
110                     </archive>
111                     <descriptorRefs>
112                         <descriptorRef>jar-with-dependencies</descriptorRef>
113                     </descriptorRefs>
114                 </configuration>
115                 <executions>
116                     <execution>
117                         <id>make-assembly</id>
118                         <phase>package</phase>
119                         <goals>
120                             <goal>single</goal>
121                         </goals>
122                     </execution>
123                 </executions>
124             </plugin>
125             <plugin>
126                 <artifactId>maven-checkstyle-plugin</artifactId>
127                 <executions>
128                     <execution>
129                         <id>onap-java-style</id>
130                         <goals>
131                             <goal>check</goal>
132                         </goals>
133                         <phase>process-sources</phase>
134                         <configuration>
135                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
136                                 with minor changes -->
137                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
138                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated 
139                                 sources directory -->
140                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
141                             <includeResources>true</includeResources>
142                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
143                             <includeTestResources>true</includeTestResources>
144                             <excludes>
145                             </excludes>
146                             <consoleOutput>true</consoleOutput>
147                             <failOnViolation>true</failOnViolation>
148                             <violationSeverity>warning</violationSeverity>
149                         </configuration>
150                     </execution>
151                 </executions>
152                 <dependencies>
153                     <dependency>
154                         <groupId>org.onap.oparent</groupId>
155                         <artifactId>checkstyle</artifactId>
156                         <version>${oparent.version}</version>
157                         <scope>compile</scope>
158                     </dependency>
159                 </dependencies>
160             </plugin>
161         </plugins>
162     </build>
163 </project>