Aharoni, Pavel (pa0916) | d294618 | 2018-12-17 11:21:02 +0200 | [diff] [blame^] | 1 | <?xml version="1.0"?>
|
| 2 | <!--/*-
|
| 3 | * ============LICENSE_START=======================================================
|
| 4 | * OSAM Core
|
| 5 | * ================================================================================
|
| 6 | * Copyright (C) 2018 AT&T
|
| 7 | * ================================================================================
|
| 8 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| 9 | * you may not use this file except in compliance with the License.
|
| 10 | * You may obtain a copy of the License at
|
| 11 | *
|
| 12 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 13 | *
|
| 14 | * Unless required by applicable law or agreed to in writing, software
|
| 15 | * distributed under the License is distributed on an "AS IS" BASIS,
|
| 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 17 | * See the License for the specific language governing permissions and
|
| 18 | * limitations under the License.
|
| 19 | * ============LICENSE_END=========================================================
|
| 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.osam</groupId>
|
| 26 | <artifactId>onap-enabler</artifactId>
|
| 27 | <version>0.0.2</version>
|
| 28 | </parent>
|
| 29 | <artifactId>onap-enabler-infra</artifactId>
|
| 30 | <packaging>war</packaging>
|
| 31 |
|
| 32 | <profiles>
|
| 33 | <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
|
| 34 | <profile>
|
| 35 | <id>doclint-java8-disable</id>
|
| 36 | <activation>
|
| 37 | <jdk>[1.8,)</jdk>
|
| 38 | </activation>
|
| 39 | <build>
|
| 40 | <plugins>
|
| 41 | <plugin>
|
| 42 | <groupId>org.apache.maven.plugins</groupId>
|
| 43 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 44 | <version>2.10.4</version>
|
| 45 | <configuration>
|
| 46 | <additionalparam>-Xdoclint:none</additionalparam>
|
| 47 | </configuration>
|
| 48 | </plugin>
|
| 49 | </plugins>
|
| 50 | </build>
|
| 51 | </profile>
|
| 52 | </profiles>
|
| 53 |
|
| 54 | <build>
|
| 55 | <finalName>onap-enabler</finalName>
|
| 56 | <plugins>
|
| 57 | <!-- License plugin should only run once at the start of the project.
|
| 58 | For new classes, the header should be added manually by the company which creates it.-->
|
| 59 |
|
| 60 | <!--<plugin>
|
| 61 | <groupId>org.codehaus.mojo</groupId>
|
| 62 | <artifactId>license-maven-plugin</artifactId>
|
| 63 | <version>1.16</version>
|
| 64 | <configuration>
|
| 65 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
| 66 | <processStartTag>============LICENSE_START=======================================================</processStartTag>
|
| 67 | <processEndTag>============LICENSE_END=========================================================</processEndTag>
|
| 68 | <sectionDelimiter>================================================================================</sectionDelimiter>
|
| 69 | <licenseName>apache_v2</licenseName>
|
| 70 | <inceptionYear>2018</inceptionYear>
|
| 71 | <organizationName>AT&T</organizationName>
|
| 72 | <projectName>OSAM</projectName>
|
| 73 | <canUpdateCopyright>true</canUpdateCopyright>
|
| 74 | <canUpdateDescription>true</canUpdateDescription>
|
| 75 | <canUpdateLicense>true</canUpdateLicense>
|
| 76 | <emptyLineAfterHeader>true</emptyLineAfterHeader>
|
| 77 | <verbose>false</verbose>
|
| 78 | <includes>
|
| 79 | <include>**/*.java</include>
|
| 80 | </includes>
|
| 81 | </configuration>
|
| 82 | <executions>
|
| 83 | <execution>
|
| 84 | <id>first</id>
|
| 85 | <goals>
|
| 86 | <goal>update-file-header</goal>
|
| 87 | </goals>
|
| 88 | <phase>process-sources</phase>
|
| 89 | </execution>
|
| 90 | </executions>
|
| 91 | </plugin>-->
|
| 92 | <plugin>
|
| 93 | <groupId>org.sonatype.plugins</groupId>
|
| 94 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 95 | </plugin>
|
| 96 |
|
| 97 | <plugin>
|
| 98 | <groupId>org.apache.maven.plugins</groupId>
|
| 99 | <artifactId>maven-compiler-plugin</artifactId>
|
| 100 | </plugin>
|
| 101 |
|
| 102 | <plugin>
|
| 103 | <groupId>org.apache.maven.plugins</groupId>
|
| 104 | <artifactId>maven-surefire-plugin</artifactId>
|
| 105 | </plugin>
|
| 106 | <plugin>
|
| 107 | <groupId>org.jacoco</groupId>
|
| 108 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 109 | </plugin>
|
| 110 |
|
| 111 |
|
| 112 | <!-- add version number to manifest -->
|
| 113 | <plugin>
|
| 114 | <groupId>org.apache.maven.plugins</groupId>
|
| 115 | <artifactId>maven-war-plugin</artifactId>
|
| 116 | <configuration>
|
| 117 | <archive>
|
| 118 | <manifest>
|
| 119 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
| 120 | </manifest>
|
| 121 | <manifestEntries>
|
| 122 | <Build-Number>${project.version}</Build-Number>
|
| 123 | <Build-Time>${maven.build.timestamp}</Build-Time>
|
| 124 | </manifestEntries>
|
| 125 | </archive>
|
| 126 | </configuration>
|
| 127 | </plugin>
|
| 128 | <plugin>
|
| 129 | <groupId>org.apache.maven.plugins</groupId>
|
| 130 | <artifactId>maven-site-plugin</artifactId>
|
| 131 | </plugin>
|
| 132 | <plugin>
|
| 133 | <groupId>org.apache.maven.plugins</groupId>
|
| 134 | <artifactId>maven-assembly-plugin</artifactId>
|
| 135 | </plugin>
|
| 136 | <plugin>
|
| 137 | <groupId>org.sonarsource.scanner.maven</groupId>
|
| 138 | <artifactId>sonar-maven-plugin</artifactId>
|
| 139 | </plugin>
|
| 140 |
|
| 141 | </plugins>
|
| 142 | </build>
|
| 143 |
|
| 144 | <dependencies>
|
| 145 | <!-- SDK overlay war -->
|
| 146 | <dependency>
|
| 147 | <groupId>org.onap.portal.sdk</groupId>
|
| 148 | <artifactId>epsdk-app-overlay</artifactId>
|
| 149 | <type>war</type>
|
| 150 | </dependency>
|
| 151 | <dependency>
|
| 152 | <groupId>org.onap.portal.sdk</groupId>
|
| 153 | <artifactId>epsdk-app-common</artifactId>
|
| 154 | <exclusions>
|
| 155 | <exclusion>
|
| 156 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 157 | <artifactId>jackson-core</artifactId>
|
| 158 | </exclusion>
|
| 159 | </exclusions>
|
| 160 | </dependency>
|
| 161 | <dependency>
|
| 162 | <groupId>org.onap.osam</groupId>
|
| 163 | <artifactId>onap-enabler-be</artifactId>
|
| 164 | <type>war</type>
|
| 165 | <exclusions>
|
| 166 | <exclusion>
|
| 167 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 168 | <artifactId>jackson-core</artifactId>
|
| 169 | </exclusion>
|
| 170 | </exclusions>
|
| 171 | </dependency>
|
| 172 | <dependency>
|
| 173 | <groupId>org.onap.osam</groupId>
|
| 174 | <artifactId>onap-enabler-be</artifactId>
|
| 175 | <type>jar</type>
|
| 176 | <classifier>classes</classifier>
|
| 177 | </dependency>
|
| 178 | <!-- SDK components -->
|
| 179 | <dependency>
|
| 180 | <groupId>org.onap.portal.sdk</groupId>
|
| 181 | <artifactId>epsdk-core</artifactId>
|
| 182 | <exclusions>
|
| 183 | <exclusion>
|
| 184 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 185 | <artifactId>jackson-core</artifactId>
|
| 186 | </exclusion>
|
| 187 | </exclusions>
|
| 188 | </dependency>
|
| 189 | <dependency>
|
| 190 | <groupId>org.onap.portal.sdk</groupId>
|
| 191 | <artifactId>epsdk-analytics</artifactId>
|
| 192 | <exclusions>
|
| 193 | <exclusion>
|
| 194 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 195 | <artifactId>jackson-core</artifactId>
|
| 196 | </exclusion>
|
| 197 | </exclusions>
|
| 198 | </dependency>
|
| 199 | <dependency>
|
| 200 | <groupId>org.onap.portal.sdk</groupId>
|
| 201 | <artifactId>epsdk-workflow</artifactId>
|
| 202 | <exclusions>
|
| 203 | <exclusion>
|
| 204 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 205 | <artifactId>jackson-core</artifactId>
|
| 206 | </exclusion>
|
| 207 | </exclusions>
|
| 208 | </dependency>
|
| 209 |
|
| 210 | <!-- Mapper -->
|
| 211 | <dependency>
|
| 212 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 213 | <artifactId>jackson-annotations</artifactId>
|
| 214 | </dependency>
|
| 215 | <dependency>
|
| 216 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 217 | <artifactId>jackson-core</artifactId>
|
| 218 | </dependency>
|
| 219 | <dependency>
|
| 220 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 221 | <artifactId>jackson-databind</artifactId>
|
| 222 | <exclusions>
|
| 223 | <exclusion>
|
| 224 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 225 | <artifactId>jackson-core</artifactId>
|
| 226 | </exclusion>
|
| 227 | </exclusions>
|
| 228 | </dependency>
|
| 229 | <dependency>
|
| 230 | <groupId>com.att.eelf</groupId>
|
| 231 | <artifactId>eelf-core</artifactId>
|
| 232 | </dependency>
|
| 233 | <dependency>
|
| 234 | <groupId>com.mchange</groupId>
|
| 235 | <artifactId>c3p0</artifactId>
|
| 236 | </dependency>
|
| 237 | <dependency>
|
| 238 | <groupId>io.searchbox</groupId>
|
| 239 | <artifactId>jest</artifactId>
|
| 240 | <exclusions>
|
| 241 | <exclusion>
|
| 242 | <groupId>commons-logging</groupId>
|
| 243 | <artifactId>commons-logging</artifactId>
|
| 244 | </exclusion>
|
| 245 | </exclusions>
|
| 246 | </dependency>
|
| 247 | <dependency>
|
| 248 | <groupId>javax.servlet</groupId>
|
| 249 | <artifactId>javax.servlet-api</artifactId>
|
| 250 | </dependency>
|
| 251 | <dependency>
|
| 252 | <groupId>org.json</groupId>
|
| 253 | <artifactId>json</artifactId>
|
| 254 | </dependency>
|
| 255 | <dependency>
|
| 256 | <groupId>org.quartz-scheduler</groupId>
|
| 257 | <artifactId>quartz</artifactId>
|
| 258 | <exclusions>
|
| 259 | <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
|
| 260 | <exclusion>
|
| 261 | <groupId>c3p0</groupId>
|
| 262 | <artifactId>c3p0</artifactId>
|
| 263 | </exclusion>
|
| 264 | </exclusions>
|
| 265 | </dependency>
|
| 266 | <!-- bridge to implement commons-logging using slf4j -->
|
| 267 | <dependency>
|
| 268 | <groupId>org.slf4j</groupId>
|
| 269 | <artifactId>jcl-over-slf4j</artifactId>
|
| 270 | </dependency>
|
| 271 | <dependency>
|
| 272 | <groupId>org.springframework</groupId>
|
| 273 | <artifactId>spring-context-support</artifactId>
|
| 274 | </dependency>
|
| 275 | <dependency>
|
| 276 | <groupId>org.springframework</groupId>
|
| 277 | <artifactId>spring-core</artifactId>
|
| 278 | <exclusions>
|
| 279 | <exclusion>
|
| 280 | <groupId>commons-logging</groupId>
|
| 281 | <artifactId>commons-logging</artifactId>
|
| 282 | </exclusion>
|
| 283 | </exclusions>
|
| 284 | </dependency>
|
| 285 | <dependency>
|
| 286 | <groupId>org.springframework</groupId>
|
| 287 | <artifactId>spring-aop</artifactId>
|
| 288 | </dependency>
|
| 289 | <dependency>
|
| 290 | <groupId>org.springframework</groupId>
|
| 291 | <artifactId>spring-test</artifactId>
|
| 292 | </dependency>
|
| 293 | <dependency>
|
| 294 | <groupId>org.springframework</groupId>
|
| 295 | <artifactId>spring-tx</artifactId>
|
| 296 | </dependency>
|
| 297 | <dependency>
|
| 298 | <groupId>org.springframework</groupId>
|
| 299 | <artifactId>spring-web</artifactId>
|
| 300 | </dependency>
|
| 301 | <dependency>
|
| 302 | <groupId>org.springframework</groupId>
|
| 303 | <artifactId>spring-webmvc</artifactId>
|
| 304 | </dependency>
|
| 305 | <!-- <dependency>
|
| 306 | <groupId>io.springfox</groupId>
|
| 307 | <artifactId>springfox-swagger2</artifactId>
|
| 308 | <version>${swagger.version}</version>
|
| 309 | </dependency>
|
| 310 | <dependency>
|
| 311 | <groupId>io.springfox</groupId>
|
| 312 | <artifactId>springfox-swagger-ui</artifactId>
|
| 313 | <version>${swagger.version}</version>
|
| 314 | </dependency>-->
|
| 315 | <!-- TEST-->
|
| 316 | <dependency>
|
| 317 | <groupId>junit</groupId>
|
| 318 | <artifactId>junit</artifactId>
|
| 319 | <scope>test</scope>
|
| 320 | </dependency>
|
| 321 | </dependencies>
|
| 322 | </project>
|