Add a new cleanup process
[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 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         
26         <parent>
27                 <groupId>org.onap.policy.engine</groupId>
28                 <artifactId>PolicyEngineSuite</artifactId>
29                 <version>1.1.0-SNAPSHOT</version>
30         </parent>
31         <artifactId>LogParser</artifactId>
32         
33         <dependencies>
34                 <dependency>
35             <groupId>com.h2database</groupId>
36             <artifactId>h2</artifactId>
37             <version>1.4.193</version>
38         </dependency>
39         <dependency>
40                         <groupId>mysql</groupId>
41                         <artifactId>mysql-connector-java</artifactId>
42                         <version>5.1.30</version>
43                 </dependency>
44                 <dependency>
45                         <groupId>org.mariadb.jdbc</groupId>
46                         <artifactId>mariadb-java-client</artifactId>
47                         <version>1.2.3</version>
48                 </dependency>  
49                 <dependency>
50                         <groupId>org.onap.policy.common</groupId>
51                         <artifactId>ONAP-Logging</artifactId>
52                         <version>${common-modules.version}</version>
53                         <exclusions>
54                                 <exclusion>
55                                         <groupId>org.powermock</groupId>
56                                         <artifactId>powermock-module-junit4</artifactId>
57                                 </exclusion>
58                                 <exclusion>
59                                         <groupId>org.powermock</groupId>
60                                         <artifactId>powermock-api-mockito</artifactId>
61                                 </exclusion>
62                         </exclusions>
63                 </dependency>
64                 <dependency>
65                         <groupId>org.onap.policy.common</groupId>
66                         <artifactId>integrity-monitor</artifactId>
67                         <version>${common-modules.version}</version>                    
68                         <exclusions>
69                                 <exclusion>
70                                         <groupId>org.powermock</groupId>
71                                         <artifactId>powermock-api-mockito</artifactId>
72                                 </exclusion>
73                         </exclusions>
74                 </dependency>
75                 <dependency>
76                         <groupId>org.apache.logging.log4j</groupId>
77                         <artifactId>log4j-api</artifactId>
78                         <version>2.4</version>
79                 </dependency>
80                 <dependency>
81                         <groupId>org.apache.logging.log4j</groupId>
82                         <artifactId>log4j-core</artifactId>
83                         <version>2.4</version>
84                 </dependency>
85                 <dependency>
86                         <groupId>org.eclipse.persistence</groupId>
87                         <artifactId>javax.persistence</artifactId>
88                         <version>2.1.0</version>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.eclipse.persistence</groupId>
92                         <artifactId>eclipselink</artifactId>
93                         <version>2.6.0</version>
94                 </dependency>
95                                 <dependency>
96                         <groupId>junit</groupId>
97                         <artifactId>junit</artifactId>
98                         <version>4.11</version>
99                         <scope>test</scope>
100                 </dependency>   
101                 <dependency>
102                         <groupId>org.mockito</groupId>
103                         <artifactId>mockito-core</artifactId>
104                         <version>2.7.22</version>
105                 </dependency>
106                 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
107                 <dependency>
108                     <groupId>org.mockito</groupId>
109                     <artifactId>mockito-all</artifactId>
110                     <version>1.10.19</version>
111                 </dependency>       
112         </dependencies>
113         <build>
114                 <plugins>
115                         <plugin> 
116                                 <!-- Build an executable JAR --> 
117                                 <groupId>org.apache.maven.plugins</groupId>
118                                 <artifactId>maven-assembly-plugin</artifactId>
119                                 <version>2.2</version>
120                                 <configuration>
121                                         <archive>
122                                                 <manifest>
123                                                         <addClasspath>true</addClasspath>
124                                                         <classpathPrefix>lib/</classpathPrefix>
125                                                         <mainClass>org.onap.xacml.parser.ParseLog</mainClass>
126                                                 </manifest>
127                                         </archive>
128                                         <descriptorRefs>
129                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
130                                         </descriptorRefs>
131                                 </configuration>
132                                 <executions>
133                                         <execution>
134                                                 <id>make-assembly</id>
135                                                 <phase>package</phase>
136                                                 <goals>
137                                                         <goal>single</goal>
138                                                 </goals>
139                                         </execution>
140                                 </executions>
141                 </plugin>
142                 </plugins>
143         </build>
144 </project>