pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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_cms_assemble_control</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_organization_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>o2oa</groupId>
  25. <artifactId>x_organization_core_express</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_cms_core_express</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_query_core_entity</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>o2oa</groupId>
  41. <artifactId>x_query_core_express</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>o2oa</groupId>
  45. <artifactId>x_processplatform_core_entity</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>o2oa</groupId>
  49. <artifactId>x_portal_core_entity</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>o2oa</groupId>
  53. <artifactId>x_general_core_entity</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>DescribeWoBuilder</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.DescribeWoBuilder</mainClass>
  73. <arguments>
  74. <argument>${basedir}</argument>
  75. <argument>${project.build.sourceDirectory}</argument>
  76. </arguments>
  77. </configuration>
  78. </execution>
  79. <execution>
  80. <id>describeBuilder</id>
  81. <phase>prepare-package</phase>
  82. <goals>
  83. <goal>java</goal>
  84. </goals>
  85. <configuration>
  86. <addOutputToClasspath>true</addOutputToClasspath>
  87. <includePluginDependencies>true</includePluginDependencies>
  88. <includeProjectDependencies>true</includeProjectDependencies>
  89. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  90. <arguments>
  91. <argument>${basedir}</argument>
  92. <argument>${project.build.sourceDirectory}</argument>
  93. </arguments>
  94. </configuration>
  95. </execution>
  96. <execution>
  97. <id>apiBuilder</id>
  98. <phase>prepare-package</phase>
  99. <goals>
  100. <goal>java</goal>
  101. </goals>
  102. <configuration>
  103. <addOutputToClasspath>true</addOutputToClasspath>
  104. <includePluginDependencies>true</includePluginDependencies>
  105. <includeProjectDependencies>true</includeProjectDependencies>
  106. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  107. <arguments>
  108. <argument>${basedir}</argument>
  109. <argument>${project.build.sourceDirectory}</argument>
  110. </arguments>
  111. </configuration>
  112. </execution>
  113. <execution>
  114. <id>checkAssemble</id>
  115. <phase>prepare-package</phase>
  116. <goals>
  117. <goal>java</goal>
  118. </goals>
  119. <configuration>
  120. <addOutputToClasspath>true</addOutputToClasspath>
  121. <includePluginDependencies>true</includePluginDependencies>
  122. <includeProjectDependencies>true</includeProjectDependencies>
  123. <mainClass>com.x.base.core.project.build.CheckAssemble</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. <artifactId>maven-deploy-plugin</artifactId>
  170. <configuration>
  171. <skip>true</skip>
  172. </configuration>
  173. </plugin>
  174. </plugins>
  175. </build>
  176. </project>