blob: c27722f6c852fb334b685e6d15e2ee5e1a17d296 [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. -->
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040040 <jackson.version>2.6.0</jackson.version>
41 </properties>
42 <profiles>
43 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
44 <profile>
45 <id>doclint-java8-disable</id>
46 <activation>
47 <jdk>[1.8,)</jdk>
48 </activation>
49 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-javadoc-plugin</artifactId>
54 <version>2.10.4</version>
55 <configuration>
56 <additionalparam>-Xdoclint:none</additionalparam>
57 </configuration>
58 </plugin>
59 </plugins>
60 </build>
61 </profile>
62 </profiles>
63 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-compiler-plugin</artifactId>
68 <version>3.2</version>
69 <configuration>
70 <source>1.8</source>
71 <target>1.8</target>
72 </configuration>
73 </plugin>
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-surefire-plugin</artifactId>
77 <version>2.19.1</version>
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.openecomp.ecompsdkos</groupId>
112 <artifactId>epsdk-app-overlay</artifactId>
113 </overlay>
114 <overlay>
115 <groupId>org.openecomp.policy.engine</groupId>
116 <artifactId>POLICY-SDK-APP</artifactId>
117 </overlay>
118 </overlays>
119 </configuration>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-assembly-plugin</artifactId>
124 <version>3.0.0</version>
125 <configuration>
126 <skipAssembly>${skipassembly}</skipAssembly>
127 <descriptors>
128 <descriptor>${basedir}/distribution.xml</descriptor>
129 </descriptors>
130 </configuration>
131 <executions>
132 <execution>
133 <id>make-assembly</id>
134 <phase>package</phase>
135 <goals>
136 <goal>single</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143 <dependencies>
144 <!-- Policy overlay war -->
145 <dependency>
146 <groupId>org.openecomp.policy.engine</groupId>
147 <artifactId>POLICY-SDK-APP</artifactId>
148 <version>${project.version}</version>
149 <type>war</type>
150 <exclusions>
151 <exclusion>
152 <groupId>org.openecomp.ecompsdkos</groupId>
153 <artifactId>epsdk-core</artifactId>
154 </exclusion>
155 </exclusions>
156 </dependency>
157 <dependency>
158 <groupId>org.openecomp.policy.engine</groupId>
159 <artifactId>POLICY-SDK-APP</artifactId>
160 <version>${project.version}</version>
161 <type>jar</type>
162 <classifier>classes</classifier>
163 <exclusions>
164 <exclusion>
165 <groupId>org.openecomp.ecompsdkos</groupId>
166 <artifactId>epsdk-core</artifactId>
167 </exclusion>
168 </exclusions>
169 </dependency>
170 <dependency>
171 <groupId>org.openecomp.policy.engine</groupId>
172 <artifactId>PolicyEngineUtils</artifactId>
173 <version>${project.version}</version>
174 <exclusions>
175 <exclusion>
176 <groupId>com.att.aft</groupId>
177 <artifactId>dme2</artifactId>
178 </exclusion>
179 </exclusions>
180 </dependency>
181 <!-- SDK overlay war -->
182 <dependency>
183 <groupId>org.openecomp.ecompsdkos</groupId>
184 <artifactId>epsdk-app-overlay</artifactId>
185 <version>${epsdk.version}</version>
186 <type>war</type>
187 </dependency>
188 <dependency>
189 <groupId>org.openecomp.ecompsdkos</groupId>
190 <artifactId>epsdk-app-common</artifactId>
191 <version>${epsdk.version}</version>
192 <type>jar</type>
193 </dependency>
194 <!-- SDK components -->
195 <dependency>
196 <groupId>org.openecomp.ecompsdkos</groupId>
197 <artifactId>epsdk-core</artifactId>
198 <version>${epsdk.version}</version>
199 </dependency>
200 <dependency>
201 <groupId>org.openecomp.ecompsdkos</groupId>
202 <artifactId>epsdk-analytics</artifactId>
203 <version>${epsdk.version}</version>
204 <exclusions>
205 <exclusion>
206 <groupId>com.oracle</groupId>
207 <artifactId>ojdbc6</artifactId>
208 </exclusion>
209 </exclusions>
210 </dependency>
211 <dependency>
212 <groupId>org.openecomp.ecompsdkos</groupId>
213 <artifactId>epsdk-workflow</artifactId>
214 <version>${epsdk.version}</version>
215 </dependency>
216 <dependency>
217 <groupId>com.att.eelf</groupId>
218 <artifactId>eelf-core</artifactId>
219 <version>0.0.1</version>
220 </dependency>
221 <!-- bridge to implement commons-logging using slf4j -->
222 <dependency>
223 <groupId>org.slf4j</groupId>
224 <artifactId>jcl-over-slf4j</artifactId>
225 <version>1.7.12</version>
226 </dependency>
227 <dependency>
228 <groupId>com.mchange</groupId>
229 <artifactId>c3p0</artifactId>
230 <version>0.9.5.2</version>
231 </dependency>
232 <!-- Maria DB -->
233 <dependency>
234 <groupId>org.mariadb.jdbc</groupId>
235 <artifactId>mariadb-java-client</artifactId>
236 <version>1.2.3</version>
237 </dependency>
238 <dependency>
239 <groupId>commons-dbcp</groupId>
240 <artifactId>commons-dbcp</artifactId>
241 <version>1.4</version>
242 </dependency>
243 <!-- Quartz -->
244 <dependency>
245 <groupId>org.quartz-scheduler</groupId>
246 <artifactId>quartz</artifactId>
247 <version>2.2.1</version>
248 <exclusions>
249 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
250 <exclusion>
251 <groupId>c3p0</groupId>
252 <artifactId>c3p0</artifactId>
253 </exclusion>
254 </exclusions>
255 </dependency>
256 <dependency>
257 <groupId>javax.servlet</groupId>
258 <artifactId>javax.servlet-api</artifactId>
259 <version>3.1.0</version>
260 </dependency>
261 <dependency>
262 <groupId>junit</groupId>
263 <artifactId>junit</artifactId>
264 <version>4.12</version>
265 </dependency>
266 </dependencies>
267</project>