| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- 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>
- <groupId>cn.vbdsm</groupId>
- <artifactId>vbdsm-manage</artifactId>
- <version>2.0.0</version>
- <packaging>war</packaging>
- <distributionManagement>
- <repository>
- <id>vbpdsm-releases</id>
- <name>Internal Releases</name>
- <url>http://shvber.com:8881/repository/vbpdsm-releases</url>
- </repository>
- <snapshotRepository>
- <id>vbpdsm-snapshots</id>
- <name>Internal Snapshots</name>
- <url>http://shvber.com:8881/repository/vbpdsm-snapshots</url>
- </snapshotRepository>
- </distributionManagement>
- <repositories>
- <repository>
- <id>vbpdsm</id>
- <name>vbpdsm Repository</name>
- <url>http://shvber.com:8881/repository/vbpdsm/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <profiles>
- <profile>
- <id>local</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <package.environment>local</package.environment>
- </properties>
- </profile>
- <profile>
- <id>test</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <package.environment>test</package.environment>
- </properties>
- </profile>
- <profile>
- <id>product</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <package.environment>product</package.environment>
- </properties>
- </profile>
- </profiles>
- <properties>
- <!-- dependency versions -->
- <spring.version>3.2.6.RELEASE</spring.version>
- <core.common.version>1.0</core.common.version>
- <servlet.api.version>2.4</servlet.api.version>
- <shiro.version>1.2.2</shiro.version>
- <jedis.version>2.6.0</jedis.version>
- </properties>
- <dependencies>
- <!-- spring framework start -->
- <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-expression</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-tx</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>
- <!-- spring framework end -->
- <!-- requied start -->
- <dependency>
- <groupId>aopalliance</groupId>
- <artifactId>aopalliance</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>1.6.2</version>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib-nodep</artifactId>
- <version>3.1</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>${servlet.api.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- requied end -->
- <!-- apache commons start -->
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.6</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.2</version>
- </dependency>
- <!-- apache commons end -->
- <!-- jdbc driver start -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>8.0.11</version>
- </dependency>
- <!-- jdbc driver end -->
- <!-- others start -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency>
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>3.6</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>1.0.9</version>
- </dependency>
- <!-- others end -->
- <!-- vbdsm jars start -->
- <dependency>
- <groupId>cn.vbdsm</groupId>
- <artifactId>vbdsm-base</artifactId>
- <version>2.0.0</version>
- </dependency>
- <!-- vbdsm jars end -->
- </dependencies>
- <build>
- <finalName>ROOT</finalName>
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- </resource>
- <resource>
- <directory>${basedir}/src/main/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- <exclude>**/*.class</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <encoding>UTF-8</encoding>
- <outputDirectory>${basedir}/target/classes</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources/${package.environment}</directory>
- <includes>
- <include>**/*.*</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.26</version>
- <configuration>
- <webDefaultXml>src/main/resources/webdefault.xml</webDefaultXml>
- <contextPath>/</contextPath>
- <connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>8082</port>
- </connector>
- </connectors>
- <scanIntervalSeconds>0</scanIntervalSeconds>
- <scanTargetPatterns>
- <scanTargetPattern>
- <directory>src/main/webapp</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.properties</include>
- </includes>
- </scanTargetPattern>
- </scanTargetPatterns>
- <systemProperties>
- <systemProperty>
- <name>
- javax.xml.parsers.DocumentBuilderFactory
- </name>
- <value>
- com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
- </value>
- </systemProperty>
- <systemProperty>
- <name>
- javax.xml.parsers.SAXParserFactory
- </name>
- <value>
- com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
- </value>
- </systemProperty>
- <systemProperty>
- <name>
- javax.xml.transform.TransformerFactory
- </name>
- <value>
- com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
- </value>
- </systemProperty>
- <systemProperty>
- <name>org.eclipse.jetty.util.URI.charset</name>
- <value>UTF-8</value>
- </systemProperty>
- </systemProperties>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- <webResources>
- <resource>
- <!-- this is relative to the pom.xml directory -->
- <directory>src/main/resources/</directory>
- <targetPath>WEB-INF/classes</targetPath>
- <includes>
- <include>**/*.*</include>
- </includes>
- <!-- <excludes>
- <exclude>**/local</exclude>
- <exclude>**/test</exclude>
- <exclude>**/product</exclude>
- <exclude>**/vbdsm</exclude>
- </excludes> -->
- <filtering>true</filtering>
- </resource>
- <resource>
- <!-- this is relative to the pom.xml directory -->
- <directory>src/main/resources/${package.environment}</directory>
- <targetPath>WEB-INF/classes</targetPath>
- <filtering>true</filtering>
- </resource>
- </webResources>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.zeroturnaround</groupId>
- <artifactId>javarebel-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-rebel-xml</id>
- <phase>process-resources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <version>1.0.5</version>
- </plugin>
- <!-- <plugin>-->
- <!-- <groupId>net.sf.ehcache</groupId>-->
- <!-- <artifactId>ehcache-core</artifactId>-->
- <!-- <version>2.6.8</version>-->
- <!-- </plugin>-->
- </plugins>
- </build>
- </project>
|