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