pom.xml 5.6 KB

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