Created
January 3, 2012 02:38
-
-
Save ulinkwo/1553207 to your computer and use it in GitHub Desktop.
Maven POM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.realtech.mes</groupId> | |
<artifactId>rt-mes-parent</artifactId> | |
<version>1.2-SNAPSHOT</version> | |
</parent> | |
<artifactId>mes-report</artifactId> | |
<packaging>war</packaging> | |
<name>MES Report Webapp</name> | |
<url>http://mes.realtech.com</url> | |
<scm> | |
<connection>scm:svn:svn://192.168.118.2/mes-report/trunk</connection> | |
<developerConnection>scm:svn:svn://192.168.118.2/mes-report/trunk</developerConnection> | |
</scm> | |
<properties> | |
<patch.path>src/main/config/dev</patch.path> | |
<tomcat.home>D:\usr\apache-tomcat-6.0.29</tomcat.home> | |
<struts2.springPlatformVersion>3.1.0.RELEASE</struts2.springPlatformVersion> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>javax.inject</groupId> | |
<artifactId>javax.inject</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>cglib</groupId> | |
<artifactId>cglib</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.aspectj</groupId> | |
<artifactId>aspectjweaver</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-core</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-beans</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-context-support</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-jdbc</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-test</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-aspects</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-asm</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.microsoft</groupId> | |
<artifactId>sqlserver-jdbc4</artifactId> | |
<version>3.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.jolbox</groupId> | |
<artifactId>bonecp-spring</artifactId> | |
<version>0.7.1.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.collections</groupId> | |
<artifactId>google-collections</artifactId> | |
<version>1.0</version> | |
</dependency> | |
<dependency> | |
<groupId>javassist</groupId> | |
<artifactId>javassist</artifactId> | |
<version>3.4.GA</version> | |
</dependency> | |
<dependency> | |
<groupId>org.mybatis</groupId> | |
<artifactId>mybatis</artifactId> | |
<version>3.0.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.mybatis</groupId> | |
<artifactId>mybatis-spring</artifactId> | |
<version>1.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.mybatis</groupId> | |
<artifactId>mybatis-ehcache</artifactId> | |
<version>1.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>dom4j</groupId> | |
<artifactId>dom4j</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>2.0</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
<version>1.2.2</version> | |
</dependency> | |
<!-- web依赖 --> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>servlet-api</artifactId> | |
<version>2.5</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> | |
<artifactId>jsp-api</artifactId> | |
<version>2.1</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>jstl</artifactId> | |
<version>1.2</version> | |
</dependency> | |
<!-- Struts2依赖 --> | |
<dependency> | |
<groupId>org.apache.struts</groupId> | |
<artifactId>struts2-core</artifactId> | |
<version>2.2.1.1</version> | |
<exclusions> | |
<exclusion> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.struts</groupId> | |
<artifactId>struts2-json-plugin</artifactId> | |
<version>2.2.1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.struts</groupId> | |
<artifactId>struts2-spring-plugin</artifactId> | |
<version>2.2.1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.struts.xwork</groupId> | |
<artifactId>xwork-core</artifactId> | |
<version>2.2.1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>net.sf.ezmorph</groupId> | |
<artifactId>ezmorph</artifactId> | |
<version>1.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.tuckey</groupId> | |
<artifactId>urlrewritefilter</artifactId> | |
<version>3.2.0</version> | |
</dependency> | |
<!--报表依赖 --> | |
<dependency> | |
<groupId>com.sap.crystalReports</groupId> | |
<artifactId>CrystalReportRuntime</artifactId> | |
<version>1.0.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>com.sap.crystalReports</groupId> | |
<artifactId>webreporting</artifactId> | |
<version>1.0.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>com.sap.crystalReports</groupId> | |
<artifactId>CrystalCommon2</artifactId> | |
<version>1.0.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>com.azalea.ufl.barcode</groupId> | |
<artifactId>barcode</artifactId> | |
<version>1.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-configuration</groupId> | |
<artifactId>commons-configuration</artifactId> | |
<version>1.2-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>cvom</groupId> | |
<artifactId>cvom</artifactId> | |
<version>1.4.2-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>DatabaseConnectors</groupId> | |
<artifactId>DatabaseConnectors</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>icu4j</groupId> | |
<artifactId>icu4j</artifactId> | |
<version>4.2.1-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>jai_imageio</groupId> | |
<artifactId>jai_imageio</artifactId> | |
<version>1.4.2-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>JDBInterface</groupId> | |
<artifactId>JDBInterface</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>jrcerom</groupId> | |
<artifactId>jrcerom</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>keycodeDecoder</groupId> | |
<artifactId>keycodeDecoder</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>logging</groupId> | |
<artifactId>logging</artifactId> | |
<version>1.4.2-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>pfjgraphics</groupId> | |
<artifactId>pfjgraphics</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>QueryBuilder</groupId> | |
<artifactId>QueryBuilder</artifactId> | |
<version>1.5.0-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>xpp3</groupId> | |
<artifactId>xpp3</artifactId> | |
<version>1.1.3.4-RT</version> | |
</dependency> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.16</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>mes-report</finalName> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
<resource> | |
<directory>${patch.path}</directory> | |
<targetPath>${project.build.directory}/classes</targetPath> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>7.3.1.v20110307</version> | |
<configuration> | |
<scanIntervalSeconds>10</scanIntervalSeconds> | |
<stopKey>foo</stopKey> | |
<stopPort>9999</stopPort> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.cargo</groupId> | |
<artifactId>cargo-maven2-plugin</artifactId> | |
<version>1.1.3</version> | |
<configuration> | |
<configuration> | |
<!--<type>existing</type>--> | |
<!--<home>${cfg.home}</home>--> | |
<properties> | |
<cargo.servlet.port>8080</cargo.servlet.port> | |
</properties> | |
<deployables> | |
<deployable> | |
<properties> | |
<context>ROOT</context> | |
</properties> | |
</deployable> | |
</deployables> | |
</configuration> | |
<container> | |
<containerId>tomcat6x</containerId> | |
<type>installed</type> | |
<home>${tomcat.home}</home> | |
</container> | |
</configuration> | |
<executions> | |
<execution> | |
<id>run-tomcat</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>properties-maven-plugin</artifactId> | |
<version>1.0-alpha-2</version> | |
<executions> | |
<execution> | |
<id>load-db-properties</id> | |
<phase>initialize</phase> | |
<goals> | |
<goal>read-project-properties</goal> | |
</goals> | |
<configuration> | |
<files> | |
<file>${patch.path}/db.properties</file> | |
</files> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>sql-maven-plugin</artifactId> | |
<version>1.5</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.microsoft</groupId> | |
<artifactId>sqlserver-jdbc4</artifactId> | |
<version>3.0</version> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<driver>${jdbc.driverClassName}</driver> | |
<url>${jdbc.url}</url> | |
<username>${jdbc.username}</username> | |
<password>${jdbc.password}</password> | |
<encoding>GBK</encoding> | |
</configuration> | |
<executions> | |
<execution> | |
<id>update-sql</id> | |
<!--<phase>pre-integration-test</phase>--> | |
<goals> | |
<goal>execute</goal> | |
</goals> | |
<configuration> | |
<keepFormat>true</keepFormat> | |
<autocommit>false</autocommit> | |
<fileset> | |
<basedir>${basedir}</basedir> | |
<includes> | |
<include>docs/patch/*.sql</include> | |
</includes> | |
</fileset> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2.1</version> | |
<configuration> | |
<finalName>${project.build.finalName}-${project.version}</finalName> | |
<outputDirectory>${project.build.directory}/dist</outputDirectory> | |
<filters> | |
<filter>src/main/assembly/filter.properties</filter> | |
</filters> | |
<descriptors> | |
<descriptor>src/main/assembly/distribution.xml</descriptor> | |
</descriptors> | |
</configuration> | |
<executions> | |
<execution> | |
<id>assembly-release-archive</id> | |
<phase>install</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>buildnumber-maven-plugin</artifactId> | |
<version>1.0</version> | |
<executions> | |
<execution> | |
<phase>validate</phase> | |
<goals> | |
<goal>create</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<doCheck>false</doCheck> | |
<doUpdate>false</doUpdate> | |
<providerImplementations> | |
<svn>javasvn</svn> | |
</providerImplementations> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>staging</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.10</version> | |
<configuration> | |
<skipTests>true</skipTests> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<configuration> | |
<warSourceExcludes>**/*.css , **/*.js</warSourceExcludes> | |
<archive> | |
<manifest> | |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
</manifest> | |
<manifestEntries> | |
<Implementation-Version>${project.version}</Implementation-Version> | |
<Implementation-Build>${buildNumber}</Implementation-Build> | |
<Implementation-Timestamp>${timestamp}</Implementation-Timestamp> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>net.alchim31.maven</groupId> | |
<artifactId>yuicompressor-maven-plugin</artifactId> | |
<version>1.2</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<nosuffix>true</nosuffix> | |
<jswarn>false</jswarn> | |
</configuration> | |
<executions> | |
<execution> | |
<id>compress-assist</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>compress</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<patch.path>src/main/config/staging/</patch.path> | |
<tomcat.home>D:\Dev\tomcat-6.0.29</tomcat.home> | |
</properties> | |
</profile> | |
<profile> | |
<id>production</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.10</version> | |
<configuration> | |
<skipTests>true</skipTests> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<configuration> | |
<warSourceExcludes>**/*.css , **/*.js</warSourceExcludes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>net.alchim31.maven</groupId> | |
<artifactId>yuicompressor-maven-plugin</artifactId> | |
<version>1.2</version> | |
<executions> | |
<execution> | |
<id>compress-asset</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>compress</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<nosuffix>true</nosuffix> | |
<jswarn>false</jswarn> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.2.1</version> | |
<configuration> | |
<connectionUrl>scm:svn:svn://192.168.118.2/mes-report/trunk</connectionUrl> | |
<tagBase>svn://192.168.118.2/mes-report/tags</tagBase> | |
<username>liuzp</username> | |
<password>lzp-BI4NU9</password> | |
<preparationGoals>clean verify install</preparationGoals> | |
<goals>deploy</goals> | |
<autoVersionSubmodules>true</autoVersionSubmodules> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<patch.path>src/main/config/production/</patch.path> | |
<tomcat.home>D:\usr\apache-tomcat-6.0.29</tomcat.home> | |
</properties> | |
</profile> | |
</profiles> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment