pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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_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. </dependencies>
  57. <build>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.codehaus.mojo</groupId>
  61. <artifactId>exec-maven-plugin</artifactId>
  62. <executions>
  63. <execution>
  64. <id>DescribeWoBuilder</id>
  65. <phase>prepare-package</phase>
  66. <goals>
  67. <goal>java</goal>
  68. </goals>
  69. <configuration>
  70. <addOutputToClasspath>true</addOutputToClasspath>
  71. <includePluginDependencies>true</includePluginDependencies>
  72. <includeProjectDependencies>true</includeProjectDependencies>
  73. <mainClass>com.x.base.core.project.annotation.DescribeWoBuilder</mainClass>
  74. <arguments>
  75. <argument>${basedir}</argument>
  76. <argument>${project.build.sourceDirectory}</argument>
  77. </arguments>
  78. </configuration>
  79. </execution>
  80. <execution>
  81. <id>describeBuilder</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.DescribeBuilder</mainClass>
  91. <arguments>
  92. <argument>${basedir}</argument>
  93. <argument>${project.build.sourceDirectory}</argument>
  94. </arguments>
  95. </configuration>
  96. </execution>
  97. <execution>
  98. <id>apiBuilder</id>
  99. <phase>prepare-package</phase>
  100. <goals>
  101. <goal>java</goal>
  102. </goals>
  103. <configuration>
  104. <addOutputToClasspath>true</addOutputToClasspath>
  105. <includePluginDependencies>true</includePluginDependencies>
  106. <includeProjectDependencies>true</includeProjectDependencies>
  107. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  108. <arguments>
  109. <argument>${basedir}</argument>
  110. <argument>${project.build.sourceDirectory}</argument>
  111. </arguments>
  112. </configuration>
  113. </execution>
  114. <execution>
  115. <id>checkAssemble</id>
  116. <phase>prepare-package</phase>
  117. <goals>
  118. <goal>java</goal>
  119. </goals>
  120. <configuration>
  121. <addOutputToClasspath>true</addOutputToClasspath>
  122. <includePluginDependencies>true</includePluginDependencies>
  123. <includeProjectDependencies>true</includeProjectDependencies>
  124. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  125. </configuration>
  126. </execution>
  127. <execution>
  128. <id>createWebXml</id>
  129. <phase>prepare-package</phase>
  130. <goals>
  131. <goal>java</goal>
  132. </goals>
  133. <configuration>
  134. <addOutputToClasspath>true</addOutputToClasspath>
  135. <includePluginDependencies>true</includePluginDependencies>
  136. <includeProjectDependencies>true</includeProjectDependencies>
  137. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  138. <arguments>
  139. <argument>${basedir}</argument>
  140. <argument>${project.artifactId}</argument>
  141. </arguments>
  142. </configuration>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <plugin>
  147. <artifactId>maven-resources-plugin</artifactId>
  148. <executions>
  149. <execution>
  150. <id>copy-war</id>
  151. <phase>verify</phase>
  152. <goals>
  153. <goal>copy-resources</goal>
  154. </goals>
  155. <configuration>
  156. <outputDirectory>../store</outputDirectory>
  157. <resources>
  158. <resource>
  159. <directory>target</directory>
  160. <includes>
  161. <include>${project.artifactId}.war</include>
  162. </includes>
  163. </resource>
  164. </resources>
  165. </configuration>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-deploy-plugin</artifactId>
  172. <version>3.0.0-M2</version>
  173. <configuration>
  174. <skip>true</skip>
  175. </configuration>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </project>