Bump version of policy/engine
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <groupId>org.onap.policy.engine</groupId>
25         <artifactId>PolicyEngineSuite</artifactId>
26         <version>1.5.2-SNAPSHOT</version>
27     </parent>
28     <artifactId>BRMSGateway</artifactId>
29     <description>This application will take in BRMS rules and acts as interface between PR and PDP XACML</description>
30     <dependencies>
31         <dependency>
32             <groupId>com.h2database</groupId>
33             <artifactId>h2</artifactId>
34             <scope>test</scope>
35         </dependency>
36         <dependency>
37             <groupId>org.onap.policy.engine</groupId>
38             <artifactId>PolicyEngineAPI</artifactId>
39             <version>${project.version}</version>
40             <exclusions>
41                 <exclusion>
42                     <groupId>com.att.nsa</groupId>
43                     <artifactId>cambriaClient</artifactId>
44                 </exclusion>
45             </exclusions>
46         </dependency>
47         <dependency>
48             <groupId>org.apache.maven</groupId>
49             <artifactId>maven-model</artifactId>
50             <version>3.5.3</version>
51         </dependency>
52         <dependency>
53             <groupId>org.apache.maven.shared</groupId>
54             <artifactId>maven-invoker</artifactId>
55             <version>3.0.0</version>
56         </dependency>
57         <dependency>
58             <groupId>org.onap.policy.common</groupId>
59             <artifactId>integrity-monitor</artifactId>
60             <version>${version.policy.common}</version>
61         </dependency>
62         <dependency>
63             <groupId>com.thoughtworks.xstream</groupId>
64             <artifactId>xstream</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>com.att.nsa</groupId>
68             <artifactId>cambriaClient</artifactId>
69             <exclusions>
70                 <exclusion>
71                     <groupId>org.slf4j</groupId>
72                     <artifactId>slf4j-log4j12</artifactId>
73                 </exclusion>
74             </exclusions>
75         </dependency>
76         <dependency>
77             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
78             <artifactId>dmaapClient</artifactId>
79             <exclusions>
80                 <exclusion>
81                     <groupId>org.slf4j</groupId>
82                     <artifactId>slf4j-log4j12</artifactId>
83                 </exclusion>
84                 <exclusion>
85                     <groupId>com.att.aft</groupId>
86                     <artifactId>dme2</artifactId>
87                 </exclusion>
88             </exclusions>
89         </dependency>
90         <dependency>
91             <groupId>org.apache.httpcomponents</groupId>
92             <artifactId>httpclient</artifactId>
93         </dependency>
94     </dependencies>
95     <build>
96         <plugins>
97             <plugin>
98                 <artifactId>maven-checkstyle-plugin</artifactId>
99                 <executions>
100                     <execution>
101                         <id>onap-java-style</id>
102                         <goals>
103                             <goal>check</goal>
104                         </goals>
105                         <phase>process-sources</phase>
106                         <configuration>
107                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
108                                 with minor changes -->
109                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
110                             <!-- <sourceDirectory> is needed so that checkstyle 
111                                 ignores the generated sources directory -->
112                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
113                             <includeResources>true</includeResources>
114                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
115                             <includeTestResources>true</includeTestResources>
116                             <consoleOutput>true</consoleOutput>
117                             <failOnViolation>true</failOnViolation>
118                             <violationSeverity>warning</violationSeverity>
119                         </configuration>
120                     </execution>
121                 </executions>
122                 <dependencies>
123                     <dependency>
124                         <groupId>org.onap.oparent</groupId>
125                         <artifactId>checkstyle</artifactId>
126                         <version>0.1.1</version>
127                         <scope>compile</scope>
128                     </dependency>
129                 </dependencies>
130             </plugin>
131             <plugin>
132                 <!-- Build an executable JAR -->
133                 <groupId>org.apache.maven.plugins</groupId>
134                 <artifactId>maven-assembly-plugin</artifactId>
135                 <configuration>
136                     <archive>
137                         <manifest>
138                             <addClasspath>true</addClasspath>
139                             <classpathPrefix>lib/</classpathPrefix>
140                             <mainClass>org.onap.policy.brms.api.BrmsGateway</mainClass>
141                         </manifest>
142                     </archive>
143                     <descriptorRefs>
144                         <descriptorRef>jar-with-dependencies</descriptorRef>
145                     </descriptorRefs>
146                 </configuration>
147                 <executions>
148                     <execution>
149                         <id>make-assembly</id>
150                         <phase>package</phase>
151                         <goals>
152                             <goal>single</goal>
153                         </goals>
154                     </execution>
155                 </executions>
156             </plugin>
157         </plugins>
158     </build>
159 </project>