pom.xml 5.2 KB

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