mirror of
https://github.com/xuhuisheng/lemon.git
synced 2026-10-29 06:06:39 +08:00
1303 lines
45 KiB
XML
1303 lines
45 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?><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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.mossle</groupId>
|
|
<artifactId>lemon</artifactId>
|
|
<version>1.2.0</version>
|
|
<name>lemon</name>
|
|
<packaging>war</packaging>
|
|
<description>Lemon is an OA.</description>
|
|
|
|
<inceptionYear>2014</inceptionYear>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<!--
|
|
<contributors>
|
|
<contributor>
|
|
<name>Someone</name>
|
|
</contributor>
|
|
</contributors>-->
|
|
|
|
|
|
|
|
<prerequisites>
|
|
<maven>3.0</maven>
|
|
</prerequisites>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>jsp-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-webapp</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jsp</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-config</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>commons-dbcp</groupId>
|
|
<artifactId>commons-dbcp</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.lazyluke</groupId>
|
|
<artifactId>log4jdbc-remix</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
<artifactId>jansi</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>janino</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>com.github.inspektr</groupId>
|
|
<artifactId>inspektr-support-spring</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.jolokia</groupId>
|
|
<artifactId>jolokia-core</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.activiti</groupId>
|
|
<artifactId>activiti-spring</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>com.googlecode.flyway</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-spring</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-console-embed</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-javaee</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>ma.glasnost.orika</groupId>
|
|
<artifactId>orika-core</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jms</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
</dependency><dependency>
|
|
<groupId>org.activiti</groupId>
|
|
<artifactId>activiti-json-converter</artifactId>
|
|
<version>${activiti.version}</version>
|
|
</dependency><dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${freemarker.version}</version>
|
|
</dependency></dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- 单元测试 start -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 单元测试 end -->
|
|
|
|
<!-- 功能测试 start -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 功能测试 end -->
|
|
|
|
<!-- 集成测试 start -->
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-htmlunit-driver</artifactId>
|
|
<version>${selenium2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-firefox-driver</artifactId>
|
|
<version>${selenium2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-chrome-driver</artifactId>
|
|
<version>${selenium2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-ie-driver</artifactId>
|
|
<version>${selenium2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-support</artifactId>
|
|
<version>${selenium2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.dbunit</groupId>
|
|
<artifactId>dbunit</artifactId>
|
|
<version>${dbunit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 集成测试 end -->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>${commons-fileupload.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>${servlet.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>jsp-api</artifactId>
|
|
<version>${jsp.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${spring.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<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-expression</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-beans</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</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-jms</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jms_1.1_spec</artifactId>
|
|
<version>${jms.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>${jstl.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
<version>${spring-security.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-config</artifactId>
|
|
<version>${spring-security.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>xml-apis</groupId>
|
|
<artifactId>xml-apis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-ehcache</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>net.sf.ehcache</groupId>
|
|
<artifactId>ehcache-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>${hibernate-validator.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<version>${javassist.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.ehcache</groupId>
|
|
<artifactId>ehcache</artifactId>
|
|
<version>${ehcache.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-dbcp</groupId>
|
|
<artifactId>commons-dbcp</artifactId>
|
|
<version>${commons-dbcp.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>${hsqldb.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lazyluke</groupId>
|
|
<artifactId>log4jdbc-remix</artifactId>
|
|
<version>${log4jdbc-remix.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-spring-plugin</artifactId>
|
|
<version>${struts2.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.sun</groupId>
|
|
<artifactId>tools</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.struts</groupId>
|
|
<artifactId>struts2-convention-plugin</artifactId>
|
|
<version>${struts2.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
<artifactId>jansi</artifactId>
|
|
<version>${jansi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>janino</artifactId>
|
|
<version>${janino.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>${commons-beanutils.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>${commons-codec.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jolokia</groupId>
|
|
<artifactId>jolokia-core</artifactId>
|
|
<version>${jolokia.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.ext</groupId>
|
|
<artifactId>jersey-spring3</artifactId>
|
|
<version>${jersey.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
<version>${rs-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
<version>${jackson-jaxrs-json-provider.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-hibernate4</artifactId>
|
|
<version>${jackson-datatype-hibernate4.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>${mail.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.inspektr</groupId>
|
|
<artifactId>inspektr-support-spring</artifactId>
|
|
<version>${inspektr.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<version>${quartz.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>c3p0</groupId>
|
|
<artifactId>c3p0</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${h2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.activiti</groupId>
|
|
<artifactId>activiti-spring</artifactId>
|
|
<version>${activiti.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-webapp</artifactId>
|
|
<version>${jetty.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jsp</artifactId>
|
|
<version>${jetty.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
<version>${cxf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>${cxf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-management</artifactId>
|
|
<version>${cxf.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.googlecode.flyway</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-spring</artifactId>
|
|
<version>${javasimon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-console-embed</artifactId>
|
|
<version>${javasimon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.javasimon</groupId>
|
|
<artifactId>javasimon-javaee</artifactId>
|
|
<version>${javasimon.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ma.glasnost.orika</groupId>
|
|
<artifactId>orika-core</artifactId>
|
|
<version>${orika.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.thimbleware.jmemcached</groupId>
|
|
<artifactId>jmemcached-core</artifactId>
|
|
<version>${jmemcached.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.spy</groupId>
|
|
<artifactId>spymemcached</artifactId>
|
|
<version>${spymemcached.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${freemarker.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<defaultGoal>jetty:run</defaultGoal>
|
|
<outputDirectory>webapp/WEB-INF/classes</outputDirectory>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>${maven-clean-plugin.version}</version>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${basedir}</directory>
|
|
<includes>
|
|
<include>**/*.bak</include>
|
|
<include>**/Thumbs.db</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>build.log</exclude>
|
|
<exclude>**/.svn/**</exclude>
|
|
</excludes>
|
|
<followSymlinks>false</followSymlinks>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>clean-backup</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
<configuration>
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
<filesets>
|
|
<fileset>
|
|
<includes>
|
|
<include>**/*.bak</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/.svn/**</exclude>
|
|
</excludes>
|
|
<followSymlinks>false</followSymlinks>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>${maven-antrun-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>create-target-directory</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<mkdir dir="target"/>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
<showWarnings>true</showWarnings>
|
|
<!--
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<failIfNoTests>false</failIfNoTests>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>${maven-install-plugin.version}</version>
|
|
<configuration>
|
|
<createChecksum>true</createChecksum>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-source-plugin.version}</version>
|
|
<configuration>
|
|
<includePom>true</includePom>
|
|
</configuration>
|
|
<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>${maven-war-plugin.version}</version>
|
|
<configuration>
|
|
<warSourceDirectory>webapp</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
<version>${maven-jetty-plugin.version}</version>
|
|
<configuration>
|
|
<connectors>
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
<port>8080</port>
|
|
<maxIdleTime>3600000</maxIdleTime>
|
|
</connector>
|
|
</connectors>
|
|
<!--
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
-->
|
|
<webDefaultXml>webdefault.xml</webDefaultXml>
|
|
<webAppSourceDirectory>webapp</webAppSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tomcat-maven-plugin</artifactId>
|
|
<version>${tomcat-maven-plugin.version}</version>
|
|
<configuration>
|
|
<warSourceDirectory>webapp</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<version>${tomcat7-maven-plugin.version}</version>
|
|
<configuration>
|
|
<warSourceDirectory>webapp</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
|
|
<artifactId>maven-java-formatter-plugin</artifactId>
|
|
<version>${maven-java-formatter-plugin.version}</version>
|
|
<configuration>
|
|
<lineEnding>LF</lineEnding>
|
|
<configFile>eclipse-formatter-config.xml</configFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>${versions-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<javadocVersion>${java.version}</javadocVersion>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<docencoding>${project.reporting.outputEncoding}</docencoding>
|
|
<charset>${project.reporting.outputEncoding}</charset>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${maven-site-plugin.version}</version>
|
|
<configuration>
|
|
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
|
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
|
<configuration>
|
|
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
|
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jalopy-maven-plugin</artifactId>
|
|
<version>${jalopy-maven-plugin.version}</version>
|
|
<configuration>
|
|
<convention>jalopy.xml</convention>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<history>file</history>
|
|
<fileFormat>UNIX</fileFormat>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>format-java-sources</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
|
<version>${native2ascii-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>native2ascii</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-codegen-plugin</artifactId>
|
|
<version>${cxf.version}</version>
|
|
<configuration>
|
|
<wsdlOptions>
|
|
<wsdlOption>
|
|
<packagenames>
|
|
<packagename>${cxf.packagename}</packagename>
|
|
</packagenames>
|
|
<wsdl>${cxf.wsdl}</wsdl>
|
|
</wsdlOption>
|
|
</wsdlOptions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-antrun-plugin
|
|
</artifactId>
|
|
<versionRange>[1.7,)</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore/>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-clean-plugin
|
|
</artifactId>
|
|
<versionRange>[2.5,)</versionRange>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore/>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>
|
|
native2ascii-maven-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.0-beta-1,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>native2ascii</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore/>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin></plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins></build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
|
<configuration>
|
|
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
|
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<javadocVersion>${java.version}</javadocVersion>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<docencoding>${project.reporting.outputEncoding}</docencoding>
|
|
<charset>${project.reporting.outputEncoding}</charset>
|
|
</configuration>
|
|
</plugin>
|
|
<!--
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-overview-plugin</groupId>
|
|
<artifactId>maven-overview-plugin</artifactId>
|
|
<version>${maven-overview-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.sf</groupId>
|
|
<artifactId>stat-scm</artifactId>
|
|
<version>${stat-scm.version}</version>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>${versions-maven-plugin.version}</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>dependency-updates-report</report>
|
|
<report>plugin-updates-report</report>
|
|
<report>property-updates-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<properties>
|
|
<java.version>1.6</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<tagBase>svn://localhost/mossle/tags</tagBase>
|
|
|
|
<junit.version>4.11</junit.version>
|
|
<mockito.version>1.9.5</mockito.version>
|
|
<selenium2.version>2.42.2</selenium2.version>
|
|
<xml-apis.version>1.4.01</xml-apis.version>
|
|
<dbunit.version>2.5.0</dbunit.version>
|
|
<commons-lang.version>3.3.2</commons-lang.version>
|
|
<commons-fileupload.version>1.3.1</commons-fileupload.version>
|
|
|
|
<servlet.version>3.0.1</servlet.version>
|
|
<jsp.version>2.1</jsp.version>
|
|
<jetty.version>7.6.15.v20140411</jetty.version>
|
|
|
|
<spring.version>4.0.5.RELEASE</spring.version>
|
|
<struts2.version>2.3.16.3</struts2.version>
|
|
<spring-security.version>3.2.4.RELEASE</spring-security.version>
|
|
<hibernate.version>4.3.5.Final</hibernate.version>
|
|
<hibernate-validator.version>5.1.1.Final</hibernate-validator.version>
|
|
<javassist.version>3.18.2-GA</javassist.version>
|
|
<ehcache.version>2.8.3</ehcache.version>
|
|
<hsqldb.version>2.3.2</hsqldb.version>
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
<logback.version>1.1.2</logback.version>
|
|
<jansi.version>1.11</jansi.version>
|
|
<janino.version>2.6.1</janino.version>
|
|
<commons-dbcp.version>1.4</commons-dbcp.version>
|
|
<commons-beanutils.version>1.9.2</commons-beanutils.version>
|
|
<commons-codec.version>1.9</commons-codec.version>
|
|
<commons-io.version>2.4</commons-io.version>
|
|
<poi.version>3.10-FINAL</poi.version>
|
|
<jolokia.version>1.2.1</jolokia.version>
|
|
<log4jdbc-remix.version>0.2.7</log4jdbc-remix.version>
|
|
<jersey.version>2.9.1</jersey.version>
|
|
<rs-api.version>2.0</rs-api.version>
|
|
<jackson-jaxrs-json-provider.version>2.4.0</jackson-jaxrs-json-provider.version>
|
|
<jackson-datatype-hibernate4.version>2.4.0</jackson-datatype-hibernate4.version>
|
|
<mail.version>1.4.7</mail.version>
|
|
<inspektr.version>1.1.GA</inspektr.version>
|
|
<quartz.version>2.2.1</quartz.version>
|
|
<h2.version>1.4.178</h2.version>
|
|
<mysql.version>5.1.31</mysql.version>
|
|
<activiti.version>5.15.1</activiti.version>
|
|
<cxf.version>3.0.0</cxf.version>
|
|
<flyway.version>2.3.1</flyway.version>
|
|
<javasimon.version>3.5.1</javasimon.version>
|
|
<orika.version>1.4.5</orika.version>
|
|
<jmemcached.version>1.0.0</jmemcached.version>
|
|
<spymemcached.version>2.11.3</spymemcached.version>
|
|
<jms.version>1.1.1</jms.version>
|
|
<jstl.version>1.2</jstl.version>
|
|
<freemarker.version>2.3.20</freemarker.version>
|
|
|
|
<maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
|
|
<maven-clean-plugin.version>2.5</maven-clean-plugin.version>
|
|
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
|
|
<maven-release-plugin.version>2.5</maven-release-plugin.version>
|
|
<maven-install-plugin.version>2.5.1</maven-install-plugin.version>
|
|
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
|
|
<maven-war-plugin.version>2.4</maven-war-plugin.version>
|
|
<maven-jetty-plugin.version>6.1.26</maven-jetty-plugin.version>
|
|
<tomcat-maven-plugin.version>1.1</tomcat-maven-plugin.version>
|
|
<tomcat7-maven-plugin.version>2.2</tomcat7-maven-plugin.version>
|
|
<maven-java-formatter-plugin.version>0.4</maven-java-formatter-plugin.version>
|
|
<jalopy-maven-plugin.version>0.0.20081026</jalopy-maven-plugin.version>
|
|
<maven-site-plugin.version>3.3</maven-site-plugin.version>
|
|
<maven-project-info-reports-plugin.version>2.7</maven-project-info-reports-plugin.version>
|
|
<maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
|
|
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
|
|
<maven-failsafe-plugin.version>2.17</maven-failsafe-plugin.version>
|
|
<maven-overview-plugin.version>1.6</maven-overview-plugin.version>
|
|
<stat-scm.version>1.2.0</stat-scm.version>
|
|
<versions-maven-plugin.version>2.1</versions-maven-plugin.version>
|
|
<native2ascii-maven-plugin.version>1.0-beta-1</native2ascii-maven-plugin.version>
|
|
<jacoco-maven-plugin.version>0.7.1.201405082137</jacoco-maven-plugin.version>
|
|
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>functional</id>
|
|
<build>
|
|
<defaultGoal>verify</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>${jacoco.agent.argLine}</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
<configuration>
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
<stopPort>8005</stopPort>
|
|
<stopKey>STOP</stopKey>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>start-jetty</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>run-exploded</goal>
|
|
</goals>
|
|
<configuration>
|
|
<scanIntervalSeconds>0</scanIntervalSeconds>
|
|
<daemon>true</daemon>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>stop-jetty</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>stop</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>format</id>
|
|
<build>
|
|
<defaultGoal>compile</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jalopy-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
|
|
<artifactId>maven-java-formatter-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>jacoco</id>
|
|
<build>
|
|
<defaultGoal>test</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>JaCoCo Agent</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>JaCoCo Report</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>jacoco-it</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<configuration>
|
|
<propertyName>jacoco.agent.argLine</propertyName>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<configuration>
|
|
<target>
|
|
<exec executable="cmd">
|
|
<env key="MAVEN_OPTS" value="${env.MAVEN_OPTS} ${jacoco.agent.argLine}"/>
|
|
<arg value="/c"/>
|
|
<arg value="mvn.bat"/>
|
|
<arg value="verify"/>
|
|
<arg value="-Pfunctional"/>
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>standalone</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>assembly-standalone.xml</descriptor>
|
|
</descriptors>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.mossle.core.jetty.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>oschina</id>
|
|
<name>oschina</name>
|
|
<url>http://maven.oschina.net/content/groups/public/</url>
|
|
</repository>
|
|
</repositories></project> |