2f4612aba15a6bedd1c1e106a76a4f41d582aea9
[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>org.apache.maven</groupId>
50                         <artifactId>maven-model</artifactId>
51                         <version>3.5.3</version>
52                 </dependency>
53                 <dependency>
54                         <groupId>org.apache.maven.shared</groupId>
55                         <artifactId>maven-invoker</artifactId>
56                         <version>3.0.0</version>
57                 </dependency>
58                 <dependency>
59                         <groupId>org.onap.policy.common</groupId>
60                         <artifactId>integrity-monitor</artifactId>
61                         <version>${project.version}</version>
62                 </dependency>
63                 <!--
64                 CLM security fix - force use of commons-collections 3.2.2.
65                 Remove this if a new version of nexus-rest-client-java is upgraded
66                 to not use velocity (and then subsequently commons-collections v3.1 
67                  -->
68                 <dependency>
69                     <groupId>commons-collections</groupId>
70                     <artifactId>commons-collections</artifactId>
71                     <version>3.2.2</version>
72                 </dependency>
73                 <dependency>
74                         <groupId>org.sonatype.nexus</groupId>
75                         <artifactId>nexus-rest-client-java</artifactId>
76                         <version>2.3.1-01</version>
77                         <exclusions>
78                                 <exclusion>
79                                         <groupId>commons-collections</groupId>
80                                         <artifactId>commons-collections</artifactId>
81                                 </exclusion>
82                         </exclusions>
83                 </dependency>
84                 <dependency>
85                         <groupId>com.thoughtworks.xstream</groupId>
86                         <artifactId>xstream</artifactId>
87                         <version>1.4.10</version>
88                 </dependency>
89                 <dependency>
90                         <groupId>com.att.nsa</groupId>
91                         <artifactId>cambriaClient</artifactId>
92                         <version>0.0.1</version>
93                         <exclusions>
94                                 <exclusion>
95                                         <groupId>org.slf4j</groupId>
96                                         <artifactId>slf4j-log4j12</artifactId>
97                                 </exclusion>
98                         </exclusions>
99                 </dependency>
100                 <dependency>
101                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
102                         <artifactId>dmaapClient</artifactId>
103                         <version>${dmaap.version}</version>
104                         <exclusions>
105                                 <exclusion>
106                                         <groupId>org.slf4j</groupId>
107                                         <artifactId>slf4j-log4j12</artifactId>
108                                 </exclusion>
109                                 <exclusion>
110                                         <groupId>com.att.aft</groupId>
111                                         <artifactId>dme2</artifactId>
112                                 </exclusion>
113                         </exclusions>
114                 </dependency>
115                 <dependency>
116                         <groupId>org.apache.httpcomponents</groupId>
117                         <artifactId>httpclient</artifactId>
118                         <version>${httpclient.version}</version>
119                 </dependency>
120         </dependencies>
121         <build>
122                 <plugins>
123                         <plugin>
124                                 <!-- Build an executable JAR -->
125                                 <groupId>org.apache.maven.plugins</groupId>
126                                 <artifactId>maven-assembly-plugin</artifactId>
127                                 <version>2.2</version>
128                                 <configuration>
129                                         <archive>
130                                                 <manifest>
131                                                         <addClasspath>true</addClasspath>
132                                                         <classpathPrefix>lib/</classpathPrefix>
133                                                         <mainClass>org.onap.policy.brmsInterface.BRMSGateway</mainClass>
134                                                 </manifest>
135                                         </archive>
136                                         <descriptorRefs>
137                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
138                                         </descriptorRefs>
139                                 </configuration>
140                                 <executions>
141                                         <execution>
142                                                 <id>make-assembly</id>
143                                                 <phase>package</phase>
144                                                 <goals>
145                                                         <goal>single</goal>
146                                                 </goals>
147                                         </execution>
148                                 </executions>
149                         </plugin>
150                 </plugins>
151         </build>
152 </project>