pom.xml 5.7 KB

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