Fix for h2 missing from testing
[policy/engine.git] / BRMSGateway / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine
4   ================================================================================
5   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25                 <groupId>org.onap.policy.engine</groupId>
26                 <artifactId>PolicyEngineSuite</artifactId>
27                 <version>1.2.0-SNAPSHOT</version>
28         </parent>
29         <artifactId>BRMSGateway</artifactId>
30         <description>This application will take in BRMS rules and acts as interface between PR and PDP XACML</description>
31         <dependencies>
32                 <dependency>
33                         <groupId>com.h2database</groupId>
34                         <artifactId>h2</artifactId>
35                         <scope>test</scope>
36                 </dependency>
37                 <dependency>
38                         <groupId>org.onap.policy.engine</groupId>
39                         <artifactId>PolicyEngineAPI</artifactId>
40                         <version>${project.version}</version>
41                         <exclusions>
42                                 <exclusion>
43                                         <groupId>com.att.nsa</groupId>
44                                         <artifactId>cambriaClient</artifactId>
45                                 </exclusion>
46                         </exclusions>
47                 </dependency>
48                 <dependency>
49             <groupId>junit</groupId>
50             <artifactId>junit</artifactId>
51             <version>4.11</version>
52             <scope>test</scope>
53         </dependency>
54                 <dependency>
55                         <groupId>org.apache.maven</groupId>
56                         <artifactId>maven-model</artifactId>
57                         <version>3.3.9</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.apache.maven.shared</groupId>
61                         <artifactId>maven-invoker</artifactId>
62                         <version>3.0.0</version>
63                 </dependency>
64                 <dependency>
65                         <groupId>org.onap.policy.common</groupId>
66                         <artifactId>integrity-monitor</artifactId>
67                         <version>${project.version}</version>
68                 </dependency>
69                 <dependency>
70                         <groupId>org.sonatype.nexus</groupId>
71                         <artifactId>nexus-rest-client-java</artifactId>
72                         <version>2.3.1-01</version>
73                 </dependency>
74                 <dependency>
75                         <groupId>com.thoughtworks.xstream</groupId>
76                         <artifactId>xstream</artifactId>
77                         <version>1.4.10</version>
78                 </dependency>
79                 <dependency>
80                         <groupId>com.att.nsa</groupId>
81                         <artifactId>cambriaClient</artifactId>
82                         <version>0.0.1</version>
83                         <exclusions>
84                                 <exclusion>
85                                         <groupId>org.slf4j</groupId>
86                                         <artifactId>slf4j-log4j12</artifactId>
87                                 </exclusion>
88                         </exclusions>
89                 </dependency>
90                 <dependency>
91                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
92                         <artifactId>dmaapClient</artifactId>
93                         <version>${dmaap.version}</version>
94                         <exclusions>
95                                 <exclusion>
96                                         <groupId>org.slf4j</groupId>
97                                         <artifactId>slf4j-log4j12</artifactId>
98                                 </exclusion>
99                                 <exclusion>
100                                         <groupId>com.att.aft</groupId>
101                                         <artifactId>dme2</artifactId>
102                                 </exclusion>
103                         </exclusions>
104                 </dependency>
105                 <dependency>
106                         <groupId>org.apache.httpcomponents</groupId>
107                         <artifactId>httpclient</artifactId>
108                         <version>${httpclient.version}</version>
109                 </dependency>
110         </dependencies>
111         <build>
112                 <plugins>
113                         <plugin>
114                                 <!-- Build an executable JAR -->
115                                 <groupId>org.apache.maven.plugins</groupId>
116                                 <artifactId>maven-assembly-plugin</artifactId>
117                                 <version>2.2</version>
118                                 <configuration>
119                                         <archive>
120                                                 <manifest>
121                                                         <addClasspath>true</addClasspath>
122                                                         <classpathPrefix>lib/</classpathPrefix>
123                                                         <mainClass>org.onap.policy.brmsInterface.BRMSGateway</mainClass>
124                                                 </manifest>
125                                         </archive>
126                                         <descriptorRefs>
127                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
128                                         </descriptorRefs>
129                                 </configuration>
130                                 <executions>
131                                         <execution>
132                                                 <id>make-assembly</id>
133                                                 <phase>package</phase>
134                                                 <goals>
135                                                         <goal>single</goal>
136                                                 </goals>
137                                         </execution>
138                                 </executions>
139                         </plugin>
140                 </plugins>
141         </build>
142 </project>