e7659796b978ccdc7f993cf9af459903e059f88b
[policy/engine.git] / LogParser / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ECOMP 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.openecomp.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.openecomp.policy.common</groupId>
51                         <artifactId>integrity-monitor</artifactId>
52                         <version>${common-modules.version}</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>log4j</groupId>
56                         <artifactId>log4j</artifactId>
57                         <version>1.2.17</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>junit</groupId>
71                         <artifactId>junit</artifactId>
72                         <version>4.11</version>
73                         <scope>test</scope>
74                 </dependency>   
75                 <dependency>
76                         <groupId>org.mockito</groupId>
77                         <artifactId>mockito-core</artifactId>
78                         <version>1.9.5</version>
79                 </dependency>       
80         </dependencies>
81         <build>
82                 <plugins>
83                         <plugin> 
84                                 <!-- Build an executable JAR --> 
85                                 <groupId>org.apache.maven.plugins</groupId>
86                                 <artifactId>maven-assembly-plugin</artifactId>
87                                 <version>2.2</version>
88                                 <configuration>
89                                         <archive>
90                                                 <manifest>
91                                                         <addClasspath>true</addClasspath>
92                                                         <classpathPrefix>lib/</classpathPrefix>
93                                                         <mainClass>org.openecomp.xacml.parser.ParseLog</mainClass>
94                                                 </manifest>
95                                         </archive>
96                                         <descriptorRefs>
97                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
98                                         </descriptorRefs>
99                                 </configuration>
100                                 <executions>
101                                         <execution>
102                                                 <id>make-assembly</id>
103                                                 <phase>package</phase>
104                                                 <goals>
105                                                         <goal>single</goal>
106                                                 </goals>
107                                         </execution>
108                                 </executions>
109                 </plugin>
110                 </plugins>
111         </build>
112 </project>