Bump up artifacts version to 1.1.3-SNAPSHOT
[policy/engine.git] / ONAP-SDK-APP / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP 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.onap.policy.engine</groupId>
26                 <artifactId>PolicyEngineSuite</artifactId>
27                 <version>1.1.3-SNAPSHOT</version>
28         </parent>
29         <artifactId>ONAP-SDK-APP</artifactId>
30         <packaging>war</packaging>
31
32         <properties>
33                 <encoding>UTF-8</encoding>
34                 <epsdk.version>1.3.1</epsdk.version>
35                 <springframework.version>4.2.0.RELEASE</springframework.version>
36                 <hibernate.version>4.3.11.Final</hibernate.version>
37                 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
38                 <skipassembly>true</skipassembly>
39                 <!-- Tests usually require some setup that maven cannot do, so skip. -->
40                 <jackson.version>2.6.0</jackson.version>
41             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/**/*</sonar.exclusions>
42         </properties>
43         <profiles>
44                 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
45                 <profile>
46                         <id>doclint-java8-disable</id>
47                         <activation>
48                                 <jdk>[1.8,)</jdk>
49                         </activation>
50                         <build>
51                                 <plugins>
52                                         <plugin>
53                                                 <groupId>org.apache.maven.plugins</groupId>
54                                                 <artifactId>maven-javadoc-plugin</artifactId>
55                                                 <version>2.10.4</version>
56                                                 <configuration>
57                                                         <additionalparam>-Xdoclint:none</additionalparam>
58                                                 </configuration>
59                                         </plugin>
60                                 </plugins>
61                         </build>
62                 </profile>
63         </profiles>
64         <build>
65                 <plugins>
66                         <plugin>
67                                 <groupId>org.apache.maven.plugins</groupId>
68                                 <artifactId>maven-compiler-plugin</artifactId>
69                                 <version>3.2</version>
70                                 <configuration>
71                                         <source>1.8</source>
72                                         <target>1.8</target>
73                                 </configuration>
74                         </plugin>
75                         <plugin>
76                                 <groupId>org.apache.maven.plugins</groupId>
77                                 <artifactId>maven-surefire-plugin</artifactId>
78                                 <configuration>
79                                         <skipTests>${skiptests}</skipTests>
80                                         <includes>
81                                                 <include>**/Test*.java</include>
82                                                 <include>**/*Test.java</include>
83                                                 <include>**/*TestCase.java</include>
84                                         </includes>
85                                         <additionalClasspathElements>
86                                                 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
87                                         </additionalClasspathElements>
88                                         <systemPropertyVariables>
89                                                 <container.classpath>classpath:</container.classpath>
90                                         </systemPropertyVariables>
91                                 </configuration>
92                         </plugin>
93                         <!-- add version number to manifest -->
94                         <plugin>
95                                 <groupId>org.apache.maven.plugins</groupId>
96                                 <artifactId>maven-war-plugin</artifactId>
97                                 <version>2.1</version>
98                                 <configuration>
99                                 <attachClasses>true</attachClasses>
100                                         <archive>
101                                                 <manifest>
102                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
103                                                 </manifest>
104                                                 <manifestEntries>
105                                                         <Build-Number>${project.version}</Build-Number>
106                                                         <Build-Time>${maven.build.timestamp}</Build-Time>
107                                                 </manifestEntries>
108                                         </archive>
109                                         <overlays>
110                                                 <overlay>
111                                                         <groupId>org.onap.portal.sdk</groupId>
112                                                         <artifactId>epsdk-app-overlay</artifactId>
113                                                         <excludes>
114                                                 <exclude>static/fusion/raptor/uigrid/vfs_fonts.js</exclude>
115                                                 </excludes>
116                                                 </overlay>
117                                                 <overlay>
118                                                         <groupId>org.onap.policy.engine</groupId>
119                                                         <artifactId>POLICY-SDK-APP</artifactId>
120                                                 </overlay>
121                                         </overlays>
122                                 </configuration>
123                         </plugin>
124                         <plugin>
125                                         <groupId>org.apache.maven.plugins</groupId>
126                                         <artifactId>maven-assembly-plugin</artifactId>
127                                         <version>3.0.0</version>
128                                         <configuration>
129                                                 <skipAssembly>${skipassembly}</skipAssembly>
130                                                 <descriptors>
131                                                         <descriptor>${basedir}/distribution.xml</descriptor>
132                                                 </descriptors>
133                                         </configuration>
134                                         <executions>
135                                                 <execution>
136                                                         <id>make-assembly</id>
137                                                         <phase>package</phase>
138                                                         <goals>
139                                                                 <goal>single</goal>
140                                                         </goals>
141                                                 </execution>
142                                         </executions>
143                                 </plugin>
144                 </plugins>
145         </build>
146         <dependencies>
147         <!-- Policy overlay war -->
148                 <dependency>
149                         <groupId>org.onap.policy.engine</groupId>
150                         <artifactId>POLICY-SDK-APP</artifactId>
151                         <version>${project.version}</version>
152                         <type>war</type>
153                         <exclusions>
154                                 <exclusion>
155                                         <groupId>org.onap.portal.sdk</groupId>
156                                         <artifactId>epsdk-core</artifactId>
157                                 </exclusion>
158                         </exclusions>
159                 </dependency>
160                 <dependency>
161                         <groupId>org.onap.policy.engine</groupId>
162                         <artifactId>POLICY-SDK-APP</artifactId>
163                         <version>${project.version}</version>
164                         <type>jar</type>
165                         <classifier>classes</classifier>
166                         <exclusions>
167                                 <exclusion>
168                                         <groupId>org.onap.portal.sdk</groupId>
169                                         <artifactId>epsdk-core</artifactId>
170                                 </exclusion>
171                         </exclusions>
172                 </dependency>
173                 <dependency>
174                         <groupId>org.onap.policy.engine</groupId>
175                         <artifactId>PolicyEngineUtils</artifactId>
176                         <version>${project.version}</version>
177                         <exclusions>
178                                 <exclusion>
179                                         <groupId>com.att.aft</groupId>
180                                         <artifactId>dme2</artifactId>
181                                 </exclusion>
182                         </exclusions>
183                 </dependency>
184                 <!-- SDK overlay war -->
185                 <dependency>
186                         <groupId>org.onap.portal.sdk</groupId>
187                         <artifactId>epsdk-app-overlay</artifactId>
188                         <version>${epsdk.version}</version>
189                         <type>war</type>
190                 </dependency>
191                 <dependency>
192                         <groupId>org.onap.portal.sdk</groupId>
193                         <artifactId>epsdk-app-common</artifactId>
194                         <version>${epsdk.version}</version>
195                         <type>jar</type>
196                 </dependency>
197                 <!-- SDK components -->
198                 <dependency>
199                         <groupId>org.onap.portal.sdk</groupId>
200                         <artifactId>epsdk-core</artifactId>
201                         <version>${epsdk.version}</version>
202                         <exclusions>
203                                 <exclusion>
204                                         <groupId>mysql</groupId>
205                                 <artifactId>mysql-connector-java</artifactId>
206                                 </exclusion>
207                         </exclusions>
208                 </dependency>
209                 <dependency>
210                         <groupId>org.onap.portal.sdk</groupId>
211                         <artifactId>epsdk-analytics</artifactId>
212                         <version>${epsdk.version}</version>
213                         <exclusions>
214                                 <exclusion>
215                                         <groupId>com.oracle</groupId>
216                                         <artifactId>ojdbc6</artifactId>
217                                 </exclusion>
218                         </exclusions>
219                 </dependency>
220                 <dependency>
221                         <groupId>org.onap.portal.sdk</groupId>
222                         <artifactId>epsdk-workflow</artifactId>
223                         <version>${epsdk.version}</version>
224                 </dependency>
225                 <dependency>
226                         <groupId>com.att.eelf</groupId>
227                         <artifactId>eelf-core</artifactId>
228                         <version>0.0.1</version>
229                 </dependency>
230         <!-- bridge to implement commons-logging using slf4j -->
231                 <dependency>
232                         <groupId>org.slf4j</groupId>
233                         <artifactId>jcl-over-slf4j</artifactId>
234                         <version>1.7.12</version>
235                 </dependency>
236                 <dependency>
237                         <groupId>com.mchange</groupId>
238                         <artifactId>c3p0</artifactId>
239                         <version>0.9.5.2</version>
240                 </dependency>
241                 <!-- Maria DB -->
242                 <dependency>
243                         <groupId>org.mariadb.jdbc</groupId>
244                         <artifactId>mariadb-java-client</artifactId>
245                         <version>1.2.3</version>
246                 </dependency>
247                 <dependency>
248                         <groupId>commons-dbcp</groupId>
249                         <artifactId>commons-dbcp</artifactId>
250                         <version>1.4</version>
251                 </dependency>
252                 <!-- Quartz -->
253                 <dependency>
254                         <groupId>org.quartz-scheduler</groupId>
255                         <artifactId>quartz</artifactId>
256                         <version>2.2.1</version>
257                         <exclusions>
258                                 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
259                                 <exclusion>
260                                         <groupId>c3p0</groupId>
261                                         <artifactId>c3p0</artifactId>
262                                 </exclusion>
263                         </exclusions>
264                 </dependency>
265                 <dependency>
266                         <groupId>javax.servlet</groupId>
267                         <artifactId>javax.servlet-api</artifactId>
268                         <version>3.1.0</version>
269                 </dependency>
270                 <dependency>
271                         <groupId>junit</groupId>
272                         <artifactId>junit</artifactId>
273                         <version>4.12</version>
274                 </dependency>
275         </dependencies>
276 </project>