blob: 11f84d6cb2e1708ac8c438477d383a3e85f1eab8 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijing073cc182017-07-31 08:47:35 +00004 ONAP Policy Engine
Pamela Dragosh91d04c62017-02-14 19:41:00 -05005 ================================================================================
guangxingwangd91a7af2018-02-06 09:36:25 -06006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Pamela Dragosh91d04c62017-02-14 19:41:00 -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
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>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050025 <parent>
Guo Ruijing073cc182017-07-31 08:47:35 +000026 <groupId>org.onap.policy.engine</groupId>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050027 <artifactId>PolicyEngineSuite</artifactId>
Jessica Wagantalldb597fe2017-11-18 18:50:29 -080028 <version>1.2.0-SNAPSHOT</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050029 </parent>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050030 <artifactId>LogParser</artifactId>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050031 <dependencies>
32 <dependency>
33 <groupId>com.h2database</groupId>
34 <artifactId>h2</artifactId>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050035 </dependency>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050036 <dependency>
Tej, Tarun98ab7082017-09-19 23:14:33 -040037 <groupId>org.mariadb.jdbc</groupId>
38 <artifactId>mariadb-java-client</artifactId>
39 <version>2.1.1</version>
40 </dependency>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050041 <dependency>
Guo Ruijing073cc182017-07-31 08:47:35 +000042 <groupId>org.onap.policy.common</groupId>
cookiewangb5c60642017-08-30 09:43:50 -050043 <artifactId>ONAP-Logging</artifactId>
rb714732020662017-11-01 11:34:35 -040044 <version>${project.version}</version>
cookiewangb5c60642017-08-30 09:43:50 -050045 </dependency>
46 <dependency>
47 <groupId>org.onap.policy.common</groupId>
48 <artifactId>integrity-monitor</artifactId>
rb714732020662017-11-01 11:34:35 -040049 <version>${project.version}</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050050 </dependency>
51 <dependency>
rb7147685ed152017-06-09 15:11:06 -040052 <groupId>org.apache.logging.log4j</groupId>
53 <artifactId>log4j-api</artifactId>
Pamela Dragosh48276312018-03-05 20:34:18 -050054 <version>2.8.2</version>
rb7147685ed152017-06-09 15:11:06 -040055 </dependency>
56 <dependency>
57 <groupId>org.apache.logging.log4j</groupId>
58 <artifactId>log4j-core</artifactId>
Pamela Dragosh5cf96442018-03-13 12:58:32 -040059 <version>2.8.2</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050060 </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>
guangxingwang9b323f12018-02-05 14:01:00 -060071 <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>
Pamela Dragosh37ca14c2018-03-09 13:17:56 -050093 <groupId>org.onap.aaf.cadi</groupId>
guangxingwang9b323f12018-02-05 14:01:00 -060094 <artifactId>cadi-aaf</artifactId>
95 </exclusion>
96 </exclusions>
ramvermad4d97232018-02-27 09:55:18 +000097 </dependency>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050098 </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>
Guo Ruijing073cc182017-07-31 08:47:35 +0000111 <mainClass>org.onap.xacml.parser.ParseLog</mainClass>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500112 </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>
eramkve5d4859f2018-03-28 12:55:30 +0100128 <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>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500164 </plugins>
165 </build>
166</project>