123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?xml version="1.0"?>
- <project
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>io.jpress</groupId>
- <artifactId>jpress</artifactId>
- <version>1.0</version>
- </parent>
- <artifactId>jpress-web</artifactId>
- <name>jpress-web</name>
- <url>http://jpress.io</url>
- <packaging>war</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-core</artifactId>
- <version>1.0</version>
- <type>war</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-admin</artifactId>
- <version>1.0</version>
- <type>war</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-front</artifactId>
- <version>1.0</version>
- <type>war</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-template-jblog</artifactId>
- <version>1.0</version>
- <type>war</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-template-usoftchina</artifactId>
- <version>1.0</version>
- <type>war</type>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>com.uas.plugins</groupId>
- <artifactId>monitor-maven-plugin</artifactId>
- <version>0.0.1</version>
- <configuration>
- <interval>3000</interval>
- <observers>
- <observer>
- <scanDir>../jpress-web-template-usoftchina/src/main/webapp/templates/usoftchina</scanDir>
- <copyDir>${basedir}/target/${project.artifactId}-${project.version}/templates/usoftchina</copyDir>
- </observer>
- </observers>
- </configuration>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>monitor</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <port>8080</port>
- <path>/jpress</path>
- <uriEncoding>UTF-8</uriEncoding>
- <server>tomcat7</server>
- <contextReloadable>true</contextReloadable>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.10</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
- <overlays>
- <overlay>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-front</artifactId>
- </overlay>
- <overlay>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-admin</artifactId>
- </overlay>
- <overlay>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-template-jblog</artifactId>
- </overlay>
- <overlay>
- <groupId>io.jpress</groupId>
- <artifactId>jpress-web-template-usoftchina</artifactId>
- </overlay>
- </overlays>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <distributionManagement>
- <!-- 发布release仓库 -->
- <repository>
- <id>platform-release</id>
- <name>platform-release</name>
- <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
- </repository>
- <!-- 发布快照版本 -->
- <snapshotRepository>
- <id>platform-snapshots</id>
- <name>platform-snapshots</name>
- <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
- </snapshotRepository>
- </distributionManagement>
- </project>
|