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