337 lines
10 KiB
XML
337 lines
10 KiB
XML
<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>net.locusworks</groupId>
|
|
<artifactId>portal</artifactId>
|
|
<version>1.0.0-RELEASE</version>
|
|
<packaging>pom</packaging>
|
|
<name>Portal Web site</name>
|
|
<description>Website used for automated script runner</description>
|
|
<inceptionYear>2017</inceptionYear>
|
|
|
|
<organization>
|
|
<name>Locusworks</name>
|
|
<url>https://www.locusworks.net</url>
|
|
</organization>
|
|
|
|
<scm>
|
|
<connection>scm://git@bitbucket.org:locus2k/portal-webapp.git</connection>
|
|
</scm>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<spring.version>5.0.5.RELEASE</spring.version>
|
|
<spring.security.version>5.0.4.RELEASE</spring.security.version>
|
|
<main.basedir>${project.basedir}</main.basedir>
|
|
<hibernate.version>5.2.16.Final</hibernate.version>
|
|
<flyway.version>5.0.7</flyway.version>
|
|
<leak-prevention.version>2.6.0</leak-prevention.version>
|
|
<current.version>1.0.0-RELEASE</current.version>
|
|
<slf4j.version>1.7.25</slf4j.version>
|
|
<findbugs.version>3.0.5</findbugs.version>
|
|
<junit.version>4.12</junit.version>
|
|
<war.name>portal</war.name>
|
|
<tomcat.deploy.url>${tomcat-deploy-url}/manager/text </tomcat.deploy.url>
|
|
<tomcat.deploy.server> tomcat-localhost </tomcat.deploy.server>
|
|
<flyway_deploy.url> jdbc:mysql://localhost:3306 </flyway_deploy.url>
|
|
<flyway_deploy.server> flyway-localhost </flyway_deploy.server>
|
|
</properties>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>${findbugs.version}</version>
|
|
<configuration>
|
|
<xmlOutput>true</xmlOutput>
|
|
<xmlOutputDirectory>target/site</xmlOutputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
<failOnError>false</failOnError>
|
|
<additionalDependencies>
|
|
<additionalDependency>
|
|
<groupId>javax.interceptor</groupId>
|
|
<artifactId>javax.interceptor-api</artifactId>
|
|
<version>1.2.1</version>
|
|
</additionalDependency>
|
|
<additionalDependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>1.3.1</version>
|
|
</additionalDependency>
|
|
</additionalDependencies>
|
|
<groups>
|
|
<group>
|
|
<title>NGAS Portal Common Library</title>
|
|
<packages>net.locusworks.portal.common*</packages>
|
|
</group>
|
|
<group>
|
|
<title>NGAS Portal Database Library</title>
|
|
<packages>net.locusworks.portal.database*</packages>
|
|
</group>
|
|
<group>
|
|
<title>NGAS Portal Migration Library</title>
|
|
<packages>net.locusworks.portal.migration*</packages>
|
|
</group>
|
|
<group>
|
|
<title>NGAS Portal WebApp Library</title>
|
|
<packages>
|
|
net.locusworks.portal.config
|
|
:net.locusworks.portal.controllers
|
|
:net.locusworks.portal.handlers
|
|
:net.locusworks.portal.services
|
|
:net.locusworks.portal.utils
|
|
:net.locusworks.portal.websocket
|
|
</packages>
|
|
|
|
</group>
|
|
</groups>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<id>non-aggregate</id>
|
|
<reports>
|
|
<report>javadoc</report>
|
|
</reports>
|
|
</reportSet>
|
|
<reportSet>
|
|
<id>aggregate</id>
|
|
<reports>
|
|
<report>aggregate</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
<version>${flyway.version}</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
<serverId> ${flyway_deploy.server} </serverId>
|
|
<url> ${flyway_deploy.url}?useSSL=false </url>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<configuration>
|
|
<generateBackupPoms>false</generateBackupPoms>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<mavenSettingsProxyId>ngas-proxy2</mavenSettingsProxyId>
|
|
<skipProvidedScope>true</skipProvidedScope>
|
|
<skipTestScope>true</skipTestScope>
|
|
<failOnError>false</failOnError>
|
|
<versionCheckEnabled>true</versionCheckEnabled>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-nop</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<url>${tomcat.deploy.url}</url>
|
|
<server>${tomcat.deploy.server}</server>
|
|
<warFile>target/portal.war</warFile>
|
|
<path>/portal</path>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.9.4</version>
|
|
<configuration>
|
|
<tag>portal-${project.version}</tag>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>1.9.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<!-- Most every project depends upon others to build and run correctly.
|
|
Maven downloads and links the dependencies for you on compilation and other
|
|
goals that require them. -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>3.17</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>3.17</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-math3</artifactId>
|
|
<version>3.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-jdbc</artifactId>
|
|
<version>${tomcat-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-validator</groupId>
|
|
<artifactId>commons-validator</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
|
|
<!-- Spring Framework jars to be shared across projects -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
<version>2.0.6.RELEASE</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/se.jiderhamn.classloader-leak-prevention/classloader-leak-prevention-core -->
|
|
<dependency>
|
|
<groupId>se.jiderhamn.classloader-leak-prevention</groupId>
|
|
<artifactId>classloader-leak-prevention-core</artifactId>
|
|
<version>${leak-prevention.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>se.jiderhamn.classloader-leak-prevention</groupId>
|
|
<artifactId>classloader-leak-prevention-servlet</artifactId>
|
|
<version>${leak-prevention.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>commons</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<modules>
|
|
<module>portal_client</module>
|
|
<module>portal_database</module>
|
|
<module>portal_migration</module>
|
|
<module>portal_common</module>
|
|
<module>portal_webapp</module>
|
|
<module>portal_json</module>
|
|
</modules>
|
|
</project> |