Merge "Policy 1707 commit to LF"
[policy/engine.git] / BRMSGateway / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ECOMP Policy Engine
4   ================================================================================
5   Copyright (C) 2017 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.openecomp.policy.engine</groupId>
26                 <artifactId>PolicyEngineSuite</artifactId>
27                 <version>1.1.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>org.openecomp.policy.engine</groupId>
34                         <artifactId>PolicyEngineAPI</artifactId>
35                         <version>${project.version}</version>
36                         <exclusions>
37                                 <exclusion>
38                                         <groupId>com.att.nsa</groupId>
39                                         <artifactId>cambriaClient</artifactId>
40                                 </exclusion>
41                         </exclusions>
42                 </dependency>
43                 <dependency>
44                         <groupId>org.apache.maven</groupId>
45                         <artifactId>maven-model</artifactId>
46                         <version>2.2.1</version>
47                 </dependency>
48                 <dependency>
49                         <groupId>org.apache.maven.shared</groupId>
50                         <artifactId>maven-invoker</artifactId>
51                         <version>2.2</version>
52                 </dependency>
53                 <dependency>
54                         <groupId>org.openecomp.policy.common</groupId>
55                         <artifactId>integrity-monitor</artifactId>
56                         <version>${common-modules.version}</version>
57                 </dependency>
58                 <dependency>
59                         <groupId>org.sonatype.nexus</groupId>
60                         <artifactId>nexus-rest-client-java</artifactId>
61                         <version>2.3.1</version>
62                 </dependency>
63                 <dependency>
64                         <groupId>com.att.nsa</groupId>
65                         <artifactId>cambriaClient</artifactId>
66                         <version>0.0.1</version>
67                         <exclusions>
68                                 <exclusion>
69                                         <groupId>org.slf4j</groupId>
70                                         <artifactId>slf4j-log4j12</artifactId>
71                                 </exclusion>
72                         </exclusions>
73                 </dependency>
74                 <dependency>
75                         <groupId>com.att.nsa</groupId>
76                         <artifactId>dmaapClient</artifactId>
77                         <version>0.2.12</version>
78                         <exclusions>
79                                 <exclusion>
80                                         <groupId>org.slf4j</groupId>
81                                         <artifactId>slf4j-log4j12</artifactId>
82                                 </exclusion>
83                                 <exclusion>
84                                         <groupId>com.att.aft</groupId>
85                                         <artifactId>dme2</artifactId>
86                                 </exclusion>
87                         </exclusions>
88                 </dependency>
89                 <dependency>
90                         <groupId>org.apache.httpcomponents</groupId>
91                         <artifactId>httpclient</artifactId>
92                         <version>4.5.2</version>
93                 </dependency>
94         </dependencies>
95         <build>
96                 <plugins>
97                         <plugin>
98                                 <!-- Build an executable JAR -->
99                                 <groupId>org.apache.maven.plugins</groupId>
100                                 <artifactId>maven-assembly-plugin</artifactId>
101                                 <version>2.2</version>
102                                 <configuration>
103                                         <archive>
104                                                 <manifest>
105                                                         <addClasspath>true</addClasspath>
106                                                         <classpathPrefix>lib/</classpathPrefix>
107                                                         <mainClass>org.openecomp.policy.brmsInterface.BRMSGateway</mainClass>
108                                                 </manifest>
109                                         </archive>
110                                         <descriptorRefs>
111                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
112                                         </descriptorRefs>
113                                 </configuration>
114                                 <executions>
115                                         <execution>
116                                                 <id>make-assembly</id>
117                                                 <phase>package</phase>
118                                                 <goals>
119                                                         <goal>single</goal>
120                                                 </goals>
121                                         </execution>
122                                 </executions>
123                         </plugin>
124                 </plugins>
125         </build>
126 </project>