pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>o2oa</groupId>
  9. <artifactId>o2server</artifactId>
  10. <version>6.0</version>
  11. </parent>
  12. <artifactId>x_program_center</artifactId>
  13. <packaging>war</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>o2oa</groupId>
  17. <artifactId>x_base_core_project</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>o2oa</groupId>
  21. <artifactId>x_program_center_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>o2oa</groupId>
  25. <artifactId>x_organization_core_entity</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>o2oa</groupId>
  29. <artifactId>x_cms_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>o2oa</groupId>
  33. <artifactId>x_portal_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_processplatform_core_entity</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>o2oa</groupId>
  41. <artifactId>x_general_core_entity</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>o2oa</groupId>
  45. <artifactId>x_query_core_entity</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>o2oa</groupId>
  49. <artifactId>x_organization_core_express</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>nl.captcha</groupId>
  53. <artifactId>simplecaptcha</artifactId>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.codehaus.mojo</groupId>
  60. <artifactId>exec-maven-plugin</artifactId>
  61. <executions>
  62. <execution>
  63. <id>describeBuilder</id>
  64. <phase>prepare-package</phase>
  65. <goals>
  66. <goal>java</goal>
  67. </goals>
  68. <configuration>
  69. <addOutputToClasspath>true</addOutputToClasspath>
  70. <includePluginDependencies>true</includePluginDependencies>
  71. <includeProjectDependencies>true</includeProjectDependencies>
  72. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  73. </mainClass>
  74. <arguments>
  75. <argument>${basedir}</argument>
  76. <argument>${project.build.sourceDirectory}</argument>
  77. </arguments>
  78. </configuration>
  79. </execution>
  80. <execution>
  81. <id>apiBuilder</id>
  82. <phase>prepare-package</phase>
  83. <goals>
  84. <goal>java</goal>
  85. </goals>
  86. <configuration>
  87. <addOutputToClasspath>true</addOutputToClasspath>
  88. <includePluginDependencies>true</includePluginDependencies>
  89. <includeProjectDependencies>true</includeProjectDependencies>
  90. <mainClass>com.x.base.core.project.annotation.ApiBuilder
  91. </mainClass>
  92. <arguments>
  93. <argument>${basedir}</argument>
  94. <argument>${project.build.sourceDirectory}</argument>
  95. </arguments>
  96. </configuration>
  97. </execution>
  98. <execution>
  99. <id>apiAllBuilder</id>
  100. <phase>prepare-package</phase>
  101. <goals>
  102. <goal>java</goal>
  103. </goals>
  104. <configuration>
  105. <addOutputToClasspath>true</addOutputToClasspath>
  106. <includePluginDependencies>true</includePluginDependencies>
  107. <includeProjectDependencies>true</includeProjectDependencies>
  108. <mainClass>com.x.base.core.project.annotation.ApiAllBuilder
  109. </mainClass>
  110. <arguments>
  111. <argument>${basedir}</argument>
  112. <argument>${project.build.sourceDirectory}</argument>
  113. </arguments>
  114. </configuration>
  115. </execution>
  116. <execution>
  117. <id>checkAssemble</id>
  118. <phase>prepare-package</phase>
  119. <goals>
  120. <goal>java</goal>
  121. </goals>
  122. <configuration>
  123. <addOutputToClasspath>true</addOutputToClasspath>
  124. <includePluginDependencies>true</includePluginDependencies>
  125. <includeProjectDependencies>true</includeProjectDependencies>
  126. <mainClass>com.x.base.core.project.build.CheckAssemble
  127. </mainClass>
  128. </configuration>
  129. </execution>
  130. <execution>
  131. <id>createWebXml</id>
  132. <phase>prepare-package</phase>
  133. <goals>
  134. <goal>java</goal>
  135. </goals>
  136. <configuration>
  137. <addOutputToClasspath>true</addOutputToClasspath>
  138. <includePluginDependencies>true</includePluginDependencies>
  139. <includeProjectDependencies>true</includeProjectDependencies>
  140. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  141. <arguments>
  142. <argument>${basedir}</argument>
  143. <argument>${project.artifactId}</argument>
  144. </arguments>
  145. </configuration>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <artifactId>maven-resources-plugin</artifactId>
  151. <executions>
  152. <execution>
  153. <id>copy-war</id>
  154. <phase>verify</phase>
  155. <goals>
  156. <goal>copy-resources</goal>
  157. </goals>
  158. <configuration>
  159. <outputDirectory>../store</outputDirectory>
  160. <resources>
  161. <resource>
  162. <directory>target</directory>
  163. <includes>
  164. <include>${project.artifactId}.war</include>
  165. </includes>
  166. </resource>
  167. </resources>
  168. </configuration>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <plugin>
  173. <artifactId>maven-deploy-plugin</artifactId>
  174. <configuration>
  175. <skip>true</skip>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. </project>