Policy TestSuite Enabled
[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                         <exclusions>
54                                 <exclusion>
55                                         <groupId>org.powermock</groupId>
56                                         <artifactId>powermock-api-mockito</artifactId>
57                                 </exclusion>
58                         </exclusions>
59                 </dependency>
60                 <dependency>
61                         <groupId>log4j</groupId>
62                         <artifactId>log4j</artifactId>
63                         <version>1.2.17</version>
64                 </dependency>
65                 <dependency>
66                         <groupId>org.eclipse.persistence</groupId>
67                         <artifactId>javax.persistence</artifactId>
68                         <version>2.1.0</version>
69                 </dependency>
70                 <dependency>
71                         <groupId>org.eclipse.persistence</groupId>
72                         <artifactId>eclipselink</artifactId>
73                         <version>2.6.0</version>
74                 </dependency>
75                                 <dependency>
76                         <groupId>junit</groupId>
77                         <artifactId>junit</artifactId>
78                         <version>4.11</version>
79                         <scope>test</scope>
80                 </dependency>   
81                 <dependency>
82                         <groupId>org.mockito</groupId>
83                         <artifactId>mockito-core</artifactId>
84                         <version>2.7.22</version>
85                 </dependency>
86                 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
87                 <dependency>
88                     <groupId>org.mockito</groupId>
89                     <artifactId>mockito-all</artifactId>
90                     <version>1.10.19</version>
91                 </dependency>       
92         </dependencies>
93         <build>
94                 <plugins>
95                         <plugin> 
96                                 <!-- Build an executable JAR --> 
97                                 <groupId>org.apache.maven.plugins</groupId>
98                                 <artifactId>maven-assembly-plugin</artifactId>
99                                 <version>2.2</version>
100                                 <configuration>
101                                         <archive>
102                                                 <manifest>
103                                                         <addClasspath>true</addClasspath>
104                                                         <classpathPrefix>lib/</classpathPrefix>
105                                                         <mainClass>org.openecomp.xacml.parser.ParseLog</mainClass>
106                                                 </manifest>
107                                         </archive>
108                                         <descriptorRefs>
109                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
110                                         </descriptorRefs>
111                                 </configuration>
112                                 <executions>
113                                         <execution>
114                                                 <id>make-assembly</id>
115                                                 <phase>package</phase>
116                                                 <goals>
117                                                         <goal>single</goal>
118                                                 </goals>
119                                         </execution>
120                                 </executions>
121                 </plugin>
122                 </plugins>
123         </build>
124 </project>