Merge "ONAP code change for log files consolidation"
[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                 <!--
70                 CLM security fix - force use of commons-collections 3.2.2.
71                 Remove this if a new version of nexus-rest-client-java is upgraded
72                 to not use velocity (and then subsequently commons-collections v3.1 
73                  -->
74                 <dependency>
75                     <groupId>commons-collections</groupId>
76                     <artifactId>commons-collections</artifactId>
77                     <version>3.2.2</version>
78                 </dependency>
79                 <dependency>
80                         <groupId>org.sonatype.nexus</groupId>
81                         <artifactId>nexus-rest-client-java</artifactId>
82                         <version>2.3.1-01</version>
83                         <exclusions>
84                                 <exclusion>
85                                         <groupId>commons-collections</groupId>
86                                         <artifactId>commons-collections</artifactId>
87                                 </exclusion>
88                         </exclusions>
89                 </dependency>
90                 <dependency>
91                         <groupId>com.thoughtworks.xstream</groupId>
92                         <artifactId>xstream</artifactId>
93                         <version>1.4.10</version>
94                 </dependency>
95                 <dependency>
96                         <groupId>com.att.nsa</groupId>
97                         <artifactId>cambriaClient</artifactId>
98                         <version>0.0.1</version>
99                         <exclusions>
100                                 <exclusion>
101                                         <groupId>org.slf4j</groupId>
102                                         <artifactId>slf4j-log4j12</artifactId>
103                                 </exclusion>
104                         </exclusions>
105                 </dependency>
106                 <dependency>
107                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
108                         <artifactId>dmaapClient</artifactId>
109                         <version>${dmaap.version}</version>
110                         <exclusions>
111                                 <exclusion>
112                                         <groupId>org.slf4j</groupId>
113                                         <artifactId>slf4j-log4j12</artifactId>
114                                 </exclusion>
115                                 <exclusion>
116                                         <groupId>com.att.aft</groupId>
117                                         <artifactId>dme2</artifactId>
118                                 </exclusion>
119                         </exclusions>
120                 </dependency>
121                 <dependency>
122                         <groupId>org.apache.httpcomponents</groupId>
123                         <artifactId>httpclient</artifactId>
124                         <version>${httpclient.version}</version>
125                 </dependency>
126                 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
127                 <dependency>
128                 <groupId>org.powermock</groupId>
129                 <artifactId>powermock-api-mockito</artifactId>
130                 <version>1.7.3</version>
131                 <scope>test</scope>
132                 </dependency>
133                 <dependency>
134             <groupId>org.powermock</groupId>
135             <artifactId>powermock-module-junit4</artifactId>
136             <version>1.7.3</version>
137             <scope>test</scope>
138         </dependency>
139         </dependencies>
140         <build>
141                 <plugins>
142                         <plugin>
143                                 <!-- Build an executable JAR -->
144                                 <groupId>org.apache.maven.plugins</groupId>
145                                 <artifactId>maven-assembly-plugin</artifactId>
146                                 <version>2.2</version>
147                                 <configuration>
148                                         <archive>
149                                                 <manifest>
150                                                         <addClasspath>true</addClasspath>
151                                                         <classpathPrefix>lib/</classpathPrefix>
152                                                         <mainClass>org.onap.policy.brmsInterface.BRMSGateway</mainClass>
153                                                 </manifest>
154                                         </archive>
155                                         <descriptorRefs>
156                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
157                                         </descriptorRefs>
158                                 </configuration>
159                                 <executions>
160                                         <execution>
161                                                 <id>make-assembly</id>
162                                                 <phase>package</phase>
163                                                 <goals>
164                                                         <goal>single</goal>
165                                                 </goals>
166                                         </execution>
167                                 </executions>
168                         </plugin>
169                 </plugins>
170         </build>
171 </project>