| <?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.supwisdom.platform.biz.sample</groupId> |
| <artifactId>platform-biz-sample</artifactId> |
| <packaging>pom</packaging> |
| <version>3.0.0</version> |
| <name>Platform Biz Sample</name> |
| <url>http://maven.apache.org</url> |
| |
| <properties> |
| <springframework-version>4.1.2.RELEASE</springframework-version> |
| <springsecurity-version>3.2.5.RELEASE</springsecurity-version> |
| <springsecurityoauth2-version>2.0.10.RELEASE</springsecurityoauth2-version> |
| <springdataredis-version>1.7.1.RELEASE</springdataredis-version> |
| <jedis-version>2.8.1</jedis-version> |
| <slf4j-version>1.7.6</slf4j-version> |
| <log4j-version>1.2.17</log4j-version> |
| <mybatis-version>3.2.8</mybatis-version> |
| <mybatis-spring-version>1.2.2</mybatis-spring-version> |
| <mybatis-ehcache-version>1.0.0</mybatis-ehcache-version> |
| <ehcache-version>2.6.8</ehcache-version> |
| <json-version>2.3.2</json-version> |
| <aspectj-version>1.7.4</aspectj-version> |
| <snaker-version>2.5.1</snaker-version> |
| |
| <repoAddress>http://app.supwisdom.com:81/artifactory</repoAddress> |
| |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <modules> |
| <module>module</module> |
| <module>web</module> |
| </modules> |
| |
| <repositories> |
| <repository> |
| <id>artifactory</id> |
| <name>Artifactory Repository</name> |
| <url>${repoAddress}/repo</url> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>artifactory</id> |
| <name>Artifactory Repository</name> |
| <url>${repoAddress}/repo</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Modules Start --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-core</artifactId> |
| <type>pom</type> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 业务无关API --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-core-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 系统框架 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-core-framework</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 模块包 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module</artifactId> |
| <type>pom</type> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 实体模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-domain</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 抽象模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-interface</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 公共模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-log</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 资源模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-resources</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 安全模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-security</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-security-ext</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 第三方模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-third</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- 工作流模块 --> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz</groupId> |
| <artifactId>platform-module-workflow</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.platform.biz.sample</groupId> |
| <artifactId>platform-biz-sample-module</artifactId> |
| <type>pom</type> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.supwisdom.platform.biz.sample</groupId> |
| <artifactId>platform-biz-sample-module-notes</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- Modules End --> |
| |
| <!-- Other Start --> |
| <!-- 单元测试环境 --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>1.7.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>${springframework-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- spring 相关 --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| <version>${springframework-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>${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-jdbc</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-aop</artifactId> |
| <version>${springframework-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.data</groupId> |
| <artifactId>spring-data-commons</artifactId> |
| <version>1.7.0.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-web</artifactId> |
| <version>${springsecurity-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-taglibs</artifactId> |
| <version>${springsecurity-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-config</artifactId> |
| <version>${springsecurity-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-cas</artifactId> |
| <version>${springsecurity-version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.security.oauth</groupId> |
| <artifactId>spring-security-oauth2</artifactId> |
| <version>${springsecurityoauth2-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.data</groupId> |
| <artifactId>spring-data-redis</artifactId> |
| <version>${springdataredis-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>redis.clients</groupId> |
| <artifactId>jedis</artifactId> |
| <version>${jedis-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.2.1</version> |
| </dependency> |
| <!-- Aspectj --> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjrt</artifactId> |
| <version>${aspectj-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjweaver</artifactId> |
| <version>${aspectj-version}</version> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j-version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- Database --> |
| <dependency> |
| <groupId>com.oracle</groupId> |
| <artifactId>ojdbc6</artifactId> |
| <version>11.2.0.1.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.38</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sf.ehcache</groupId> |
| <artifactId>ehcache-core</artifactId> |
| <version>${ehcache-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis</groupId> |
| <artifactId>mybatis</artifactId> |
| <version>${mybatis-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis</groupId> |
| <artifactId>mybatis-spring</artifactId> |
| <version>${mybatis-spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis</groupId> |
| <artifactId>mybatis-ehcache</artifactId> |
| <version>${mybatis-ehcache-version}</version> |
| </dependency> |
| |
| <!-- Spring自动处理JSON --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${json-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>${json-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${json-version}</version> |
| </dependency> |
| |
| <!-- Joda Time --> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time-jsptags</artifactId> |
| <version>1.1.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- 数据源配置 --> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-pool</groupId> |
| <artifactId>commons-pool</artifactId> |
| <version>1.6</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.9</version> |
| </dependency> |
| |
| <!-- Commons --> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.4</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| <version>1.9.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-dbutils</groupId> |
| <artifactId>commons-dbutils</artifactId> |
| <version>1.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <!-- Snaker工作流 --> |
| <dependency> |
| <groupId>com.github.snakerflow</groupId> |
| <artifactId>snaker-core</artifactId> |
| <version>${snaker-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.snakerflow</groupId> |
| <artifactId>snaker-spring</artifactId> |
| <version>${snaker-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.snakerflow</groupId> |
| <artifactId>snaker-mybatis</artifactId> |
| <version>${snaker-version}</version> |
| </dependency> |
| |
| |
| <!-- myself --> |
| <dependency> |
| <groupId>net.sf.json-lib</groupId> |
| <artifactId>json-lib</artifactId> |
| <version>2.2.3</version> |
| <classifier>jdk15</classifier> |
| </dependency> |
| <dependency> |
| <groupId>jstl</groupId> |
| <artifactId>jstl</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>3.1.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| <version>1.4.01</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.poi</groupId> |
| <artifactId>poi</artifactId> |
| <version>3.10.1</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sourceforge.jexcelapi</groupId> |
| <artifactId>jxl</artifactId> |
| <version>2.6.12</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.jxls</groupId> |
| <artifactId>jxls-core</artifactId> |
| <version>1.0.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>2.3.6</version> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils-core</artifactId> |
| <version>1.8.3</version> |
| </dependency> |
| <dependency> |
| <groupId>javaee</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>5</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- Other End --> |
| |
| <dependency> |
| <groupId>com.supwisdom.platform.uniportal</groupId> |
| <artifactId>jigsaw-portal-mq-api</artifactId> |
| <version>1.0.0</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.supwisdom.platform.jdbc</groupId> |
| <artifactId>ojdbc6</artifactId> |
| </exclusion> |
| </exclusions> |
| |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <!-- UnitTest Start --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <!-- UnitTest End --> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>advanced-test</id> |
| <activation> |
| <file> |
| <exists>testng.xml</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12</version> |
| <configuration> |
| <suiteXmlFiles> |
| <skipTests>true</skipTests> |
| </suiteXmlFiles> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>src/main/java</directory> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| </testResource> |
| <testResource> |
| <directory>src/test/java</directory> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <tagNameFormat>@{project.version}</tagNameFormat> |
| <!-- <tagBase>${scmTags}</tagBase> --> |
| <checkModificationExcludes> |
| <checkModificationExclude>**/.project</checkModificationExclude> |
| <checkModificationExclude>**/.classpath</checkModificationExclude> |
| <checkModificationExclude>**/.mymetadata</checkModificationExclude> |
| <checkModificationExclude>**/.settings/**</checkModificationExclude> |
| </checkModificationExcludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12</version> |
| <configuration> |
| <systemPropertyVariables> |
| <org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output> |
| <org.uncommons.reportng.velocity-log>false</org.uncommons.reportng.velocity-log> |
| </systemPropertyVariables> |
| <workingDirectory>target/</workingDirectory> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| <encoding>UTF-8</encoding> |
| <compilerArguments> |
| <verbose/> |
| <!--<bootclasspath>${java.home}/lib/rt.jar</bootclasspath>--> |
| </compilerArguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.9</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <!-- <skip>true</skip> --> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <phase>site</phase> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <failOnError>false</failOnError> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <organization> |
| <name>supwisdom</name> |
| <url>http://www.supwisdom.com</url> |
| </organization> |
| </project> |