zheng/zheng-cms/zheng-cms-search/pom.xml

101 lines
3.1 KiB
XML
Raw Normal View History

<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">
2016-12-01 14:01:47 +08:00
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.zheng</groupId>
2016-12-01 14:01:47 +08:00
<artifactId>zheng-cms</artifactId>
<version>1.0.0</version>
</parent>
2016-12-01 14:01:47 +08:00
<artifactId>zheng-cms-search</artifactId>
<packaging>war</packaging>
2016-12-01 14:01:47 +08:00
<name>zheng-cms-search Maven Webapp</name>
2016-12-01 14:01:47 +08:00
<url>http://www.zhangshuzheng.cn</url>
<dependencies>
2016-12-01 14:01:47 +08:00
<dependency>
<groupId>com.zheng</groupId>
2017-01-12 20:55:15 +08:00
<artifactId>zheng-cms-rpc-api</artifactId>
<version>1.0.0</version>
2016-12-01 14:01:47 +08:00
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
2016-12-01 14:01:47 +08:00
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
</dependencies>
2016-12-01 14:01:47 +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>
<build>
<finalName>zheng-cms-search</finalName>
2016-12-01 14:01:47 +08:00
<filters>
<filter>src/main/resources/profiles/${env}.properties</filter>
</filters>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- jetty插件 -->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.0.0.v20130308</version>
<configuration>
<scanIntervalSeconds>3</scanIntervalSeconds>
<webApp>
<contextPath>/zheng-cms-search</contextPath>
</webApp>
<httpConnector>
2016-12-09 16:45:18 +08:00
<port>2221</port>
2016-12-01 14:01:47 +08:00
</httpConnector>
<reload>automatic</reload>
</configuration>
</plugin>
<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>
</plugins>
</build>
</project>