Skip to content
c6972ba Feb 14, 2014
Michael Zhou 升级spring->3.2.7
838 lines (837 sloc) 35 KB
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba.citrus</groupId>
<artifactId>citrus-parent</artifactId>
<packaging>pom</packaging>
<name>Citrus Parent Project</name>
<version>3.2.4</version>
<description>Another Java-based WEB Framework</description>
<url>http://www.openwebx.org/</url>
<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>
<scm>
<connection>scm:git:https://github.com/webx/citrus</connection>
<developerConnection>scm:git:git@github.com:webx/citrus.git</developerConnection>
<url>http://github.com/webx/citrus</url>
</scm>
<developers>
<developer>
<id>baobao</id>
<name>Michael Zhou</name>
<email>yizhi@taobao.com</email>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<properties>
<picUrl>http://i54.tinypic.com/2jewmjr.jpg</picUrl>
</properties>
<timezone>-6</timezone>
</developer>
</developers>
<properties>
<java.version>1.6</java.version>
<java.encoding>UTF-8</java.encoding>
<servlet3-version>3.1.0</servlet3-version>
<webx-version>3.2.4</webx-version>
<spring-version>3.2.7.RELEASE</spring-version>
<springext-plugin-version>1.2</springext-plugin-version>
<maven-util-version>1.2</maven-util-version>
<jetty-version>9.0.5.v20130815</jetty-version>
<project.build.sourceEncoding>${java.encoding}</project.build.sourceEncoding>
<gpg.skip>true</gpg.skip>
</properties>
<profiles>
<profile>
<id>deployment</id>
<properties>
<!-- 开发时使用较高的Java版本,以避免eclipse的警告,但编译时采用保守的Java 1.5格式。 -->
<java.version>1.5</java.version>
<!-- 确保生成GPG签名。 -->
<gpg.skip>false</gpg.skip>
</properties>
</profile>
<profile>
<id>servlet30</id>
<activation>
<property>
<name>servlet30</name>
</property>
</activation>
<properties>
<servlet3-version>3.0.1</servlet3-version>
</properties>
</profile>
<profile>
<id>java8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>dist/springext</module>
<module>dist/webx</module>
<module>dist/test</module>
<module>common/servlet</module>
<module>common/expr</module>
<module>common/logconfig</module>
<module>common/util</module>
<module>common/springext</module>
<module>common/generictype</module>
<module>common/hessian</module>
<module>test/util</module>
<module>test/webx</module>
<module>service/base</module>
<module>service/dataresolver</module>
<module>service/form</module>
<module>service/resource</module>
<module>service/upload</module>
<module>service/requestcontext</module>
<module>service/pipeline</module>
<module>service/configuration</module>
<module>service/mappingrule</module>
<module>service/moduleloader</module>
<module>service/pull</module>
<module>service/template</module>
<module>service/jsp</module>
<module>service/velocity</module>
<module>service/freemarker</module>
<module>service/uribroker</module>
<module>service/mail</module>
<module>webx/framework</module>
<module>webx/turbine</module>
<module>webx/async</module>
<module>webx/dev</module>
</modules>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<!-- ======================================== -->
<!-- 子项目依赖 -->
<!-- ======================================== -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-webx-all</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-test-all</artifactId>
<version>${webx-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-servlet</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-logconfig</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-expr</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-util</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-springext</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-generictype</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-common-hessian</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-test-util</artifactId>
<version>${webx-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-test-webx</artifactId>
<version>${webx-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-base</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-dataresolver</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-form</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-resource</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-upload</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-requestcontext</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-pipeline</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-configuration</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-mappingrule</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-moduleloader</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-pull</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-template</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-jsp</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-velocity</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-freemarker</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-uribroker</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-service-mail</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-webx-framework</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-webx-turbine</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-webx-async</artifactId>
<version>${webx-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>citrus-webx-dev</artifactId>
<version>${webx-version}</version>
</dependency>
<!-- ================================================= -->
<!-- 日志及相关依赖(用slf4j+logback代替jcl+log4j) -->
<!-- ================================================= -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.5</version>
</dependency>
<!-- 将现有的jakarta commons logging的调用转换成lsf4j的调用。 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.5</version>
</dependency>
<!-- Hack:确保commons-logging的jar包不被引入,否则将和jcl-over-slf4j冲突 -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
<scope>provided</scope>
</dependency>
<!-- slf4j的实现:logback,用来取代log4j。更快、更强! -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.13</version>
<scope>runtime</scope>
</dependency>
<!-- log4j的实现:备而不用。 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>runtime</scope>
</dependency>
<!-- ======================================== -->
<!-- 单元测试及相关依赖 -->
<!-- ======================================== -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.httpunit</groupId>
<artifactId>httpunit</artifactId>
<version>1.7.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.sf.jtidy</groupId>
<artifactId>jtidy</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nekohtml</groupId>
<artifactId>nekohtml</artifactId>
<version>1.9.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>jasper</artifactId>
<version>6.0.37</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jvnet.mock-javamail</groupId>
<artifactId>mock-javamail</artifactId>
<version>1.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.8</version>
</dependency>
<!-- ======================================== -->
<!-- 其它第三方依赖 -->
<!-- ======================================== -->
<dependency>
<groupId>ecs</groupId>
<artifactId>ecs</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl</artifactId>
<version>2.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.20</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.1.7</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
</exclusion>
<exclusion>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.36</version>
</dependency>
<!-- ======================================== -->
<!-- Spring依赖 -->
<!-- ======================================== -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</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-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-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-orm</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-webmvc</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring-version}</version>
<scope>test</scope>
</dependency>
<!-- ======================================== -->
<!-- Servlet API依赖 -->
<!-- ======================================== -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet3-version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<echo message="project home: ${basedir}" />
<echo message="java home: ${java.home}" />
<echo message="java source version: ${java.version}" />
<echo message="java target version: ${java.version}" />
<echo message="java source charset: ${java.encoding}" />
<!-- 删除空的generated-sources目录,以防IntelliJ IDEA的项目文件发生不必要的变化 -->
<delete includeemptydirs="true">
<fileset dir="${project.build.directory}/generated-sources"
erroronmissingdir="false">
<type type="dir" />
</fileset>
</delete>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.4</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
<argLine>-Xmx256m</argLine>
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
</classpathContainers>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<stopKey>citrus</stopKey>
<stopPort>9999</stopPort>
<systemProperties>
<systemProperty>
<name>productionMode</name>
<value>false</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>com.alibaba.citrus.tool</groupId>
<artifactId>springext-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<!-- 发布parent项目 -->
<skip>false</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<!-- 较低版本有bug,导致hessian不能编译通过。 -->
<version>3.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<!-- 默认不发布 -->
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-version}</version>
</plugin>
<plugin>
<groupId>com.alibaba.citrus.tool</groupId>
<artifactId>springext-maven-plugin</artifactId>
<version>${springext-plugin-version}</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
</plugin>
<!-- - This plugin's configuration is used to store Eclipse m2e settings
only. - It has no influence on the Maven build itself. -->
<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.0,)</versionRange>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Something went wrong with that request. Please try again.