285 lines
8.5 KiB
XML
285 lines
8.5 KiB
XML
<?xml version="1.0"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>portal</artifactId>
|
|
<version>1.0.0-RELEASE</version>
|
|
</parent>
|
|
|
|
<artifactId>portal_webapp</artifactId>
|
|
<name>Portal Web Server</name>
|
|
<packaging>war</packaging>
|
|
<description>The web server code that handles all transactions between the client and the server as well as server startup initialization. All other libraries (besides client) are utilized in this library.</description>
|
|
|
|
<!-- global properties -->
|
|
<properties>
|
|
|
|
<main.basedir>${project.parent.basedir}</main.basedir>
|
|
|
|
<!-- Deploy to the remote repo during deploy phase -->
|
|
<maven.deploy.skip>false</maven.deploy.skip>
|
|
|
|
<!-- build number and revision, overridden by Jenkins -D build arguments -->
|
|
<build.number>1</build.number>
|
|
<build.revision>1</build.revision>
|
|
|
|
</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/${project.artifactId}</xmlOutputDirectory>
|
|
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<warName>portal</warName>
|
|
<archive>
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>WEB-INF/lib/</classpathPrefix>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Version>${project.version}</Version>
|
|
<Build-Time>${maven.build.timestamp}</Build-Time>
|
|
<testsuite-Title>testsuite</testsuite-Title>
|
|
<testsuite-Version>${project.version}</testsuite-Version>
|
|
<testsuite-SCM-Revision>${build.revision}</testsuite-SCM-Revision>
|
|
</manifestEntries>
|
|
</archive>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<webResources>
|
|
<resource>
|
|
<directory>../portal_client/dist/</directory>
|
|
<targetPath>client</targetPath>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<compilerArgs>
|
|
<!-- Turn on lint to ensure squeaky clean builds -->
|
|
<arg>-Xlint</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>none</phase>
|
|
<id>warcopy</id>
|
|
<configuration>
|
|
<target>
|
|
<delete file="${tomcat-home}/webapps/portal.war" />
|
|
<delete dir="${tomcat-home}/webapps/portal" />
|
|
<copy file="${basedir}/target/portal.war" tofile="${tomcat-home}/webapps/portal.war" />
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- All dependencies provided by the Apache Tomcat environment -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-catalina</artifactId>
|
|
<version>${tomcat-version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-servlet-api</artifactId>
|
|
<version>${tomcat-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-jsp-api</artifactId>
|
|
<version>${tomcat-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-annotations-api</artifactId>
|
|
<version>${tomcat-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring Framework web jars -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-websocket</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-messaging</artifactId>
|
|
<version>${spring.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-config</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-web</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-messaging</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.websocket/javax.websocket-api -->
|
|
<dependency>
|
|
<groupId>javax.websocket</groupId>
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
<version>1.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>5.0.1.201806211838-r</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
|
|
<dependency>
|
|
<groupId>com.jcraft</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>0.1.54</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz -->
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<version>2.3.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz-jobs</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.mail/javax.mail-api -->
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>javax.mail-api</artifactId>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.sun.mail/javax.mail -->
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>portal_database</artifactId>
|
|
<version>${current.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>portal_common</artifactId>
|
|
<version>${current.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>portal_migration</artifactId>
|
|
<version>${current.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</project>
|