zheng/zheng-cms/zheng-cms-web/pom.xml

111 lines
3.6 KiB
XML
Raw Normal View History

2016-10-05 19:33:23 +08:00
<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>
2016-10-05 19:33:23 +08:00
<parent>
<groupId>com.zheng</groupId>
2016-11-14 18:04:13 +08:00
<artifactId>zheng-cms</artifactId>
2016-10-05 19:33:23 +08:00
<version>1.0.0</version>
</parent>
2016-11-14 13:12:32 +08:00
<artifactId>zheng-cms-web</artifactId>
2016-10-05 19:33:23 +08:00
<packaging>war</packaging>
<name>zheng-cms-web Maven Webapp</name>
2016-10-05 19:33:23 +08:00
<url>http://www.zhangshuzheng.cn</url>
<dependencies>
<dependency>
<groupId>com.zheng</groupId>
<artifactId>zheng-cms-service</artifactId>
</dependency>
2016-10-05 19:33:23 +08:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
2016-10-14 22:28:33 +08:00
</dependency>
2016-11-25 13:25:04 +08:00
<!-- tbschedule -->
<dependency>
<groupId>com.taobao.pamirs.schedule</groupId>
<artifactId>tbschedule</artifactId>
<version>3.2.8-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/tbschedule-3.2.8-SNAPSHOT.jar
</systemPath>
</dependency>
2016-10-05 19:33:23 +08:00
</dependencies>
2016-10-11 20:46:34 +08:00
<profiles>
<profile>
<id>dev</id>
<properties>
<env>dev</env>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<env>test</env>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<env>prod</env>
</properties>
</profile>
</profiles>
2016-10-05 19:33:23 +08:00
<build>
2016-12-01 11:01:24 +08:00
<finalName>zheng-cms-web</finalName>
2016-10-11 20:46:34 +08:00
<filters>
<filter>src/main/resources/profiles/${env}.properties</filter>
</filters>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
2016-10-13 14:27:08 +08:00
<plugins>
<!-- jetty插件 -->
<plugin>
2016-11-26 21:18:42 +08:00
<groupId>org.eclipse.jetty</groupId>
2016-10-14 22:28:33 +08:00
<artifactId>jetty-maven-plugin</artifactId>
2016-11-28 13:13:56 +08:00
<version>9.0.0.v20130308</version>
2016-10-13 14:27:08 +08:00
<configuration>
<scanIntervalSeconds>3</scanIntervalSeconds>
2016-10-14 22:28:33 +08:00
<webApp>
2016-12-01 11:01:24 +08:00
<contextPath>/zheng-cms-web</contextPath>
2016-10-14 22:28:33 +08:00
</webApp>
2016-11-26 21:18:42 +08:00
<httpConnector>
<port>8080</port>
</httpConnector>
2016-10-13 14:27:08 +08:00
<reload>automatic</reload>
</configuration>
</plugin>
2016-12-01 11:01:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<!--是否跳过单元测试-->
<skipTests>true</skipTests>
<!--是否忽略单元测试错误-->
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
2016-10-13 14:27:08 +08:00
</plugins>
2016-10-05 19:33:23 +08:00
</build>
</project>