blob: 04f93393068d2a6e78b9f79d789e6aa1bf5ba74c [file] [log] [blame]
Guo Ruijing073cc182017-07-31 08:47:35 +00001<!--
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.0-SNAPSHOT</version>
28 </parent>
29 <artifactId>ONAP-SDK-APP</artifactId>
30 <packaging>war</packaging>
31
32 <properties>
33 <encoding>UTF-8</encoding>
rb714733f0e2b2017-10-19 15:15:48 -040034 <epsdk.version>1.3.1</epsdk.version>
Guo Ruijing073cc182017-07-31 08:47:35 +000035 <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>
Pamela Dragosh71d31152017-09-20 13:37:03 -040041 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/**/*</sonar.exclusions>
Guo Ruijing073cc182017-07-31 08:47:35 +000042 </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>
Guo Ruijing073cc182017-07-31 08:47:35 +000078 <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>
rb714733f0e2b2017-10-19 15:15:48 -0400111 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000112 <artifactId>epsdk-app-overlay</artifactId>
rb714733f0e2b2017-10-19 15:15:48 -0400113 <excludes>
114 <exclude>static/fusion/raptor/uigrid/vfs_fonts.js</exclude>
115 </excludes>
Guo Ruijing073cc182017-07-31 08:47:35 +0000116 </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>
rb714733f0e2b2017-10-19 15:15:48 -0400155 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000156 <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>
rb714733f0e2b2017-10-19 15:15:48 -0400168 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000169 <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>
rb714733f0e2b2017-10-19 15:15:48 -0400186 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000187 <artifactId>epsdk-app-overlay</artifactId>
188 <version>${epsdk.version}</version>
189 <type>war</type>
190 </dependency>
191 <dependency>
rb714733f0e2b2017-10-19 15:15:48 -0400192 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000193 <artifactId>epsdk-app-common</artifactId>
194 <version>${epsdk.version}</version>
195 <type>jar</type>
196 </dependency>
197 <!-- SDK components -->
198 <dependency>
rb714733f0e2b2017-10-19 15:15:48 -0400199 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000200 <artifactId>epsdk-core</artifactId>
201 <version>${epsdk.version}</version>
rb714733f0e2b2017-10-19 15:15:48 -0400202 <exclusions>
203 <exclusion>
204 <groupId>mysql</groupId>
205 <artifactId>mysql-connector-java</artifactId>
206 </exclusion>
207 </exclusions>
Guo Ruijing073cc182017-07-31 08:47:35 +0000208 </dependency>
209 <dependency>
rb714733f0e2b2017-10-19 15:15:48 -0400210 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000211 <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>
rb714733f0e2b2017-10-19 15:15:48 -0400221 <groupId>org.onap.portal.sdk</groupId>
Guo Ruijing073cc182017-07-31 08:47:35 +0000222 <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>