pom.xml.svn-base 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>io.jpress</groupId>
  8. <artifactId>jpress</artifactId>
  9. <version>1.0</version>
  10. </parent>
  11. <artifactId>jpress-web</artifactId>
  12. <name>jpress-web</name>
  13. <url>http://jpress.io</url>
  14. <packaging>war</packaging>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>io.jpress</groupId>
  22. <artifactId>jpress-web-core</artifactId>
  23. <version>1.0</version>
  24. <type>war</type>
  25. <scope>compile</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>io.jpress</groupId>
  29. <artifactId>jpress-web-admin</artifactId>
  30. <version>1.0</version>
  31. <type>war</type>
  32. <scope>compile</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.jpress</groupId>
  36. <artifactId>jpress-web-front</artifactId>
  37. <version>1.0</version>
  38. <type>war</type>
  39. <scope>compile</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>io.jpress</groupId>
  43. <artifactId>jpress-web-template-jblog</artifactId>
  44. <version>1.0</version>
  45. <type>war</type>
  46. <scope>compile</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.jpress</groupId>
  50. <artifactId>jpress-web-template-usoftchina</artifactId>
  51. <version>1.0</version>
  52. <type>war</type>
  53. <scope>compile</scope>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <finalName>${project.artifactId}-${project.version}</finalName>
  58. <plugins>
  59. <plugin>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <configuration>
  62. <encoding>UTF-8</encoding>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>com.uas.plugins</groupId>
  67. <artifactId>monitor-maven-plugin</artifactId>
  68. <version>0.0.1</version>
  69. <configuration>
  70. <interval>3000</interval>
  71. <observers>
  72. <observer>
  73. <scanDir>../jpress-web-template-usoftchina/src/main/webapp/templates/usoftchina</scanDir>
  74. <copyDir>${basedir}/target/${project.artifactId}-${project.version}/templates/usoftchina</copyDir>
  75. </observer>
  76. </observers>
  77. </configuration>
  78. <executions>
  79. <execution>
  80. <phase>validate</phase>
  81. <goals>
  82. <goal>monitor</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.tomcat.maven</groupId>
  89. <artifactId>tomcat7-maven-plugin</artifactId>
  90. <version>2.2</version>
  91. <configuration>
  92. <port>8080</port>
  93. <path>/jpress</path>
  94. <uriEncoding>UTF-8</uriEncoding>
  95. <server>tomcat7</server>
  96. <contextReloadable>true</contextReloadable>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.mortbay.jetty</groupId>
  101. <artifactId>maven-jetty-plugin</artifactId>
  102. <version>6.1.10</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-war-plugin</artifactId>
  107. <configuration>
  108. <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
  109. <overlays>
  110. <overlay>
  111. <groupId>io.jpress</groupId>
  112. <artifactId>jpress-web-front</artifactId>
  113. </overlay>
  114. <overlay>
  115. <groupId>io.jpress</groupId>
  116. <artifactId>jpress-web-admin</artifactId>
  117. </overlay>
  118. <overlay>
  119. <groupId>io.jpress</groupId>
  120. <artifactId>jpress-web-template-jblog</artifactId>
  121. </overlay>
  122. <overlay>
  123. <groupId>io.jpress</groupId>
  124. <artifactId>jpress-web-template-usoftchina</artifactId>
  125. </overlay>
  126. </overlays>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. <distributionManagement>
  132. <!-- 发布release仓库 -->
  133. <repository>
  134. <id>platform-release</id>
  135. <name>platform-release</name>
  136. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  137. </repository>
  138. <!-- 发布快照版本 -->
  139. <snapshotRepository>
  140. <id>platform-snapshots</id>
  141. <name>platform-snapshots</name>
  142. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  143. </snapshotRepository>
  144. </distributionManagement>
  145. </project>