| <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> |
| <groupId>org.onap.portal</groupId> |
| <artifactId>ecompportal-be-common</artifactId> |
| <packaging>war</packaging> |
| <!-- Version number is managed manually; no Jenkins build.number --> |
| <version>1.3.0-SNAPSHOT</version> |
| |
| <properties> |
| <springframework.version>4.2.0.RELEASE</springframework.version> |
| <hibernate.version>4.3.11.Final</hibernate.version> |
| <eelf.version>1.0.0</eelf.version> |
| <fasterxml.version>2.7.4</fasterxml.version> |
| <epsdk.version>1.3.0-SNAPSHOT</epsdk.version> |
| <encoding>UTF-8</encoding> |
| <!-- Tests usually require some setup that maven cannot do, so skip. --> |
| <skipTests>true</skipTests> |
| <nexusproxy>https://nexus.onap.org</nexusproxy> |
| <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <!-- Releases repository has ECOMP release artifacts --> |
| <id>ecomp-releases</id> |
| <name>OpenECOMP - Release Repository</name> |
| <url>${nexusproxy}/${releaseNexusPath}</url> |
| </repository> |
| <repository> |
| <!-- Snapshots repository has ECOMP snapshot artifacts --> |
| <id>ecomp-snapshots</id> |
| <name>OpenECOMP - Snapshot Repository</name> |
| <url>${nexusproxy}/${snapshotNexusPath}</url> |
| </repository> |
| </repositories> |
| |
| <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> |
| <configuration> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| <build> |
| <!-- The war file name carries no version number --> |
| <finalName>${project.artifactId}</finalName> |
| |
| <plugins> |
| |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| |
| <!-- Generate javadoc jar; see profile for Java 8 --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.3</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Generate source jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <!-- Build a jar with all the Java classes --> |
| <attachClasses>true</attachClasses> |
| <!-- Do not put any jars in the war --> |
| <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> |
| </configuration> |
| </plugin> |
| |
| <!-- No deployment step for this project --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| |
| <testResources> |
| <testResource> |
| <directory>src/test/java</directory> |
| <includes> |
| <include>**/*Test*.*</include> |
| </includes> |
| </testResource> |
| </testResources> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| <!-- picks up the applicationcodes.properties file presented in \src\ |
| path --> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>**/*.xml</include> |
| <include>**/*.properties</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.att.eelf</groupId> |
| <artifactId>eelf-core</artifactId> |
| <version>${eelf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.5</version> |
| </dependency> |
| |
| <!-- Spring --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-orm</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>${springframework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter</artifactId> |
| <version>1.3.0.RELEASE</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- Hibernate --> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-core</artifactId> |
| <version>${hibernate.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-validator</artifactId> |
| <version>5.1.3.Final</version> |
| </dependency> |
| |
| <!-- hibernate-core depends on dom4j, which has optional dependencies. |
| On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies |
| in the war. Workaround: exclude them explicitly. --> |
| <dependency> |
| <groupId>dom4j</groupId> |
| <artifactId>dom4j</artifactId> |
| <version>1.6.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>jaxme</groupId> |
| <artifactId>jaxme-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jaxen</groupId> |
| <artifactId>jaxen</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>msv</groupId> |
| <artifactId>xsdlib</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>msv</groupId> |
| <artifactId>relaxngDatatype</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>pull-parser</groupId> |
| <artifactId>pull-parser</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xpp3</groupId> |
| <artifactId>xpp3</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- Servlet+JSP+JSTL --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>3.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>javax.servlet.jsp-api</artifactId> |
| <version>2.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jstl</artifactId> |
| <version>1.2</version> |
| </dependency> |
| |
| <!-- Oracle JDBC driver --> |
| <!-- <dependency> |
| <groupId>com.oracle</groupId> |
| <artifactId>ojdbc6</artifactId> |
| <version>11.2.0.4</version> |
| </dependency> --> |
| <!-- Apache Tiles --> |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-core</artifactId> |
| <version>3.0.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-jsp</artifactId> |
| <version>3.0.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-client</artifactId> |
| <version>3.0.0-milestone1</version> |
| </dependency> |
| |
| <!-- Mapper --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>${fasterxml.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${fasterxml.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${fasterxml.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>9.1-901-1.jdbc4</version> |
| </dependency> |
| |
| <!-- Elastic Search --> |
| <dependency> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>elasticsearch</artifactId> |
| <version>2.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>io.searchbox</groupId> |
| <artifactId>jest</artifactId> |
| <version>2.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jcs</groupId> |
| <artifactId>jcs</artifactId> |
| <version>1.3</version> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| <!-- --> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-websocket</artifactId> |
| <version>8.0.28</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>concurrent</groupId> |
| <artifactId>concurrent</artifactId> |
| <version>1.3.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <!-- for generating excel/csv/excelx --> |
| <dependency> |
| <groupId>org.apache.poi</groupId> |
| <artifactId>poi</artifactId> |
| <version>3.5-FINAL</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.poi</groupId> |
| <artifactId>poi-ooxml</artifactId> |
| <version>3.5-FINAL</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.poi</groupId> |
| <artifactId>poi-scratchpad</artifactId> |
| <version>3.5-FINAL</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.poi</groupId> |
| <artifactId>poi-contrib</artifactId> |
| <version>3.5-FINAL</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- for generating PDF --> |
| <dependency> |
| <groupId>com.lowagie</groupId> |
| <artifactId>itext</artifactId> |
| <version>2.0.8</version> |
| </dependency> |
| <!-- Quartz --> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.2.1</version> |
| <exclusions> |
| <!-- SDK brings a new version of c3p0 --> |
| <exclusion> |
| <groupId>c3p0</groupId> |
| <artifactId>c3p0</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk16</artifactId> |
| <version>1.45</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.9</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.att.nsa</groupId> |
| <artifactId>cambriaClient</artifactId> |
| <version>0.0.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>apache-log4j-extras</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.onap.portal.sdk</groupId> |
| <artifactId>epsdk-fw</artifactId> |
| <version>${epsdk.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>apache-log4j-extras</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.portal.sdk</groupId> |
| <artifactId>epsdk-core</artifactId> |
| <version>${epsdk.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.portal.sdk</groupId> |
| <artifactId>epsdk-app-common</artifactId> |
| <version>${epsdk.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.portal.sdk</groupId> |
| <artifactId>epsdk-workflow</artifactId> |
| <version>${epsdk.version}</version> |
| </dependency> |
| |
| <!-- Raptor required Libraries --> |
| <!-- for static charts --> |
| <dependency> |
| <groupId>org.onap.portal.sdk</groupId> |
| <artifactId>epsdk-analytics</artifactId> |
| <version>${epsdk.version}</version> |
| </dependency> |
| |
| <!-- Referenced by some poms and needed for testing; do NOT use "test" |
| scope here. --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.5.2</version> |
| </dependency> |
| |
| <!-- for testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| <version>1.9.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.ecwid.consul</groupId> |
| <artifactId>consul-api</artifactId> |
| <version>1.2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.orbitz.consul</groupId> |
| <artifactId>consul-client</artifactId> |
| <version>0.13.8</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger2</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger-ui</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <!-- No deployment descriptor. --> |
| |
| </project> |