blob: 733bf9175bda651774f115ad8ba9585daeb0f0ca [file] [log] [blame]
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -04001<!--
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>ECOMP-SDK-APP</artifactId>
30 <packaging>war</packaging>
31
32 <properties>
33 <encoding>UTF-8</encoding>
34 <epsdk.version>1.1.0-SNAPSHOT</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 <skiptests>true</skiptests>
41 <jackson.version>2.6.0</jackson.version>
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 <version>2.19.1</version>
79 <configuration>
80 <skipTests>${skiptests}</skipTests>
81 <includes>
82 <include>**/Test*.java</include>
83 <include>**/*Test.java</include>
84 <include>**/*TestCase.java</include>
85 </includes>
86 <additionalClasspathElements>
87 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
88 </additionalClasspathElements>
89 <systemPropertyVariables>
90 <container.classpath>classpath:</container.classpath>
91 </systemPropertyVariables>
92 </configuration>
93 </plugin>
94 <!-- add version number to manifest -->
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-war-plugin</artifactId>
98 <version>2.1</version>
99 <configuration>
100 <attachClasses>true</attachClasses>
101 <archive>
102 <manifest>
103 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
104 </manifest>
105 <manifestEntries>
106 <Build-Number>${project.version}</Build-Number>
107 <Build-Time>${maven.build.timestamp}</Build-Time>
108 </manifestEntries>
109 </archive>
110 <overlays>
111 <overlay>
112 <groupId>org.openecomp.ecompsdkos</groupId>
113 <artifactId>epsdk-app-overlay</artifactId>
114 </overlay>
115 <overlay>
116 <groupId>org.openecomp.policy.engine</groupId>
117 <artifactId>POLICY-SDK-APP</artifactId>
118 </overlay>
119 </overlays>
120 </configuration>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-assembly-plugin</artifactId>
125 <version>3.0.0</version>
126 <configuration>
127 <skipAssembly>${skipassembly}</skipAssembly>
128 <descriptors>
129 <descriptor>${basedir}/distribution.xml</descriptor>
130 </descriptors>
131 </configuration>
132 <executions>
133 <execution>
134 <id>make-assembly</id>
135 <phase>package</phase>
136 <goals>
137 <goal>single</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 </plugins>
143 </build>
144 <dependencies>
145 <!-- Policy overlay war -->
146 <dependency>
147 <groupId>org.openecomp.policy.engine</groupId>
148 <artifactId>POLICY-SDK-APP</artifactId>
149 <version>${project.version}</version>
150 <type>war</type>
151 <exclusions>
152 <exclusion>
153 <groupId>org.openecomp.ecompsdkos</groupId>
154 <artifactId>epsdk-core</artifactId>
155 </exclusion>
156 </exclusions>
157 </dependency>
158 <dependency>
159 <groupId>org.openecomp.policy.engine</groupId>
160 <artifactId>POLICY-SDK-APP</artifactId>
161 <version>${project.version}</version>
162 <type>jar</type>
163 <classifier>classes</classifier>
164 <exclusions>
165 <exclusion>
166 <groupId>org.openecomp.ecompsdkos</groupId>
167 <artifactId>epsdk-core</artifactId>
168 </exclusion>
169 </exclusions>
170 </dependency>
171 <dependency>
172 <groupId>org.openecomp.policy.engine</groupId>
173 <artifactId>PolicyEngineUtils</artifactId>
174 <version>${project.version}</version>
175 <exclusions>
176 <exclusion>
177 <groupId>com.att.aft</groupId>
178 <artifactId>dme2</artifactId>
179 </exclusion>
180 </exclusions>
181 </dependency>
182 <!-- SDK overlay war -->
183 <dependency>
184 <groupId>org.openecomp.ecompsdkos</groupId>
185 <artifactId>epsdk-app-overlay</artifactId>
186 <version>${epsdk.version}</version>
187 <type>war</type>
188 </dependency>
189 <dependency>
190 <groupId>org.openecomp.ecompsdkos</groupId>
191 <artifactId>epsdk-app-common</artifactId>
192 <version>${epsdk.version}</version>
193 <type>jar</type>
194 </dependency>
195 <!-- SDK components -->
196 <dependency>
197 <groupId>org.openecomp.ecompsdkos</groupId>
198 <artifactId>epsdk-core</artifactId>
199 <version>${epsdk.version}</version>
200 </dependency>
201 <dependency>
202 <groupId>org.openecomp.ecompsdkos</groupId>
203 <artifactId>epsdk-analytics</artifactId>
204 <version>${epsdk.version}</version>
205 <exclusions>
206 <exclusion>
207 <groupId>com.oracle</groupId>
208 <artifactId>ojdbc6</artifactId>
209 </exclusion>
210 </exclusions>
211 </dependency>
212 <dependency>
213 <groupId>org.openecomp.ecompsdkos</groupId>
214 <artifactId>epsdk-workflow</artifactId>
215 <version>${epsdk.version}</version>
216 </dependency>
217 <dependency>
218 <groupId>com.att.eelf</groupId>
219 <artifactId>eelf-core</artifactId>
220 <version>0.0.1</version>
221 </dependency>
222 <!-- bridge to implement commons-logging using slf4j -->
223 <dependency>
224 <groupId>org.slf4j</groupId>
225 <artifactId>jcl-over-slf4j</artifactId>
226 <version>1.7.12</version>
227 </dependency>
228 <dependency>
229 <groupId>com.mchange</groupId>
230 <artifactId>c3p0</artifactId>
231 <version>0.9.5.2</version>
232 </dependency>
233 <!-- Maria DB -->
234 <dependency>
235 <groupId>org.mariadb.jdbc</groupId>
236 <artifactId>mariadb-java-client</artifactId>
237 <version>1.2.3</version>
238 </dependency>
239 <dependency>
240 <groupId>commons-dbcp</groupId>
241 <artifactId>commons-dbcp</artifactId>
242 <version>1.4</version>
243 </dependency>
244 <!-- Quartz -->
245 <dependency>
246 <groupId>org.quartz-scheduler</groupId>
247 <artifactId>quartz</artifactId>
248 <version>2.2.1</version>
249 <exclusions>
250 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
251 <exclusion>
252 <groupId>c3p0</groupId>
253 <artifactId>c3p0</artifactId>
254 </exclusion>
255 </exclusions>
256 </dependency>
257 <dependency>
258 <groupId>javax.servlet</groupId>
259 <artifactId>javax.servlet-api</artifactId>
260 <version>3.1.0</version>
261 </dependency>
262 <dependency>
263 <groupId>junit</groupId>
264 <artifactId>junit</artifactId>
265 <version>4.12</version>
266 </dependency>
267 </dependencies>
268</project>