<?xml version="1.0"?> | |
<!--/*- | |
* ============LICENSE_START======================================================= | |
* OSAM Core | |
* ================================================================================ | |
* Copyright (C) 2018 AT&T | |
* ================================================================================ | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
* ============LICENSE_END========================================================= | |
*/--> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.onap.osam</groupId> | |
<artifactId>onap-enabler</artifactId> | |
<version>0.0.2</version> | |
</parent> | |
<artifactId>onap-enabler-infra</artifactId> | |
<packaging>war</packaging> | |
<profiles> | |
<!-- disable doclint, a new feature in Java 8, when generating javadoc --> | |
<profile> | |
<id>doclint-java8-disable</id> | |
<activation> | |
<jdk>[1.8,)</jdk> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.10.4</version> | |
<configuration> | |
<additionalparam>-Xdoclint:none</additionalparam> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<build> | |
<finalName>onap-enabler</finalName> | |
<plugins> | |
<!-- License plugin should only run once at the start of the project. | |
For new classes, the header should be added manually by the company which creates it.--> | |
<!--<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>license-maven-plugin</artifactId> | |
<version>1.16</version> | |
<configuration> | |
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> | |
<processStartTag>============LICENSE_START=======================================================</processStartTag> | |
<processEndTag>============LICENSE_END=========================================================</processEndTag> | |
<sectionDelimiter>================================================================================</sectionDelimiter> | |
<licenseName>apache_v2</licenseName> | |
<inceptionYear>2018</inceptionYear> | |
<organizationName>AT&T</organizationName> | |
<projectName>OSAM</projectName> | |
<canUpdateCopyright>true</canUpdateCopyright> | |
<canUpdateDescription>true</canUpdateDescription> | |
<canUpdateLicense>true</canUpdateLicense> | |
<emptyLineAfterHeader>true</emptyLineAfterHeader> | |
<verbose>false</verbose> | |
<includes> | |
<include>**/*.java</include> | |
</includes> | |
</configuration> | |
<executions> | |
<execution> | |
<id>first</id> | |
<goals> | |
<goal>update-file-header</goal> | |
</goals> | |
<phase>process-sources</phase> | |
</execution> | |
</executions> | |
</plugin>--> | |
<plugin> | |
<groupId>org.sonatype.plugins</groupId> | |
<artifactId>nexus-staging-maven-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
</plugin> | |
<!-- add version number to manifest --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<configuration> | |
<archive> | |
<manifest> | |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
</manifest> | |
<manifestEntries> | |
<Build-Number>${project.version}</Build-Number> | |
<Build-Time>${maven.build.timestamp}</Build-Time> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-site-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.sonarsource.scanner.maven</groupId> | |
<artifactId>sonar-maven-plugin</artifactId> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<!-- SDK overlay war --> | |
<dependency> | |
<groupId>org.onap.portal.sdk</groupId> | |
<artifactId>epsdk-app-overlay</artifactId> | |
<type>war</type> | |
</dependency> | |
<dependency> | |
<groupId>org.onap.portal.sdk</groupId> | |
<artifactId>epsdk-app-common</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.onap.osam</groupId> | |
<artifactId>onap-enabler-be</artifactId> | |
<type>war</type> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.onap.osam</groupId> | |
<artifactId>onap-enabler-be</artifactId> | |
<type>jar</type> | |
<classifier>classes</classifier> | |
</dependency> | |
<!-- SDK components --> | |
<dependency> | |
<groupId>org.onap.portal.sdk</groupId> | |
<artifactId>epsdk-core</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.onap.portal.sdk</groupId> | |
<artifactId>epsdk-analytics</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.onap.portal.sdk</groupId> | |
<artifactId>epsdk-workflow</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<!-- Mapper --> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-annotations</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-databind</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.att.eelf</groupId> | |
<artifactId>eelf-core</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.mchange</groupId> | |
<artifactId>c3p0</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>io.searchbox</groupId> | |
<artifactId>jest</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>commons-logging</groupId> | |
<artifactId>commons-logging</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>javax.servlet-api</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.json</groupId> | |
<artifactId>json</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.quartz-scheduler</groupId> | |
<artifactId>quartz</artifactId> | |
<exclusions> | |
<!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 --> | |
<exclusion> | |
<groupId>c3p0</groupId> | |
<artifactId>c3p0</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<!-- bridge to implement commons-logging using slf4j --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>jcl-over-slf4j</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context-support</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-core</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>commons-logging</groupId> | |
<artifactId>commons-logging</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aop</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-tx</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-webmvc</artifactId> | |
</dependency> | |
<!-- <dependency> | |
<groupId>io.springfox</groupId> | |
<artifactId>springfox-swagger2</artifactId> | |
<version>${swagger.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.springfox</groupId> | |
<artifactId>springfox-swagger-ui</artifactId> | |
<version>${swagger.version}</version> | |
</dependency>--> | |
<!-- TEST--> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |