pom.xml 5.4 KB

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