pom.xml 5.0 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>net.o2oa</groupId>
  9. <artifactId>o2server</artifactId>
  10. <version>8.3</version>
  11. </parent>
  12. <artifactId>x_program_center</artifactId>
  13. <packaging>war</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>net.o2oa</groupId>
  17. <artifactId>x_base_core_project</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>net.o2oa</groupId>
  21. <artifactId>x_program_center_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>net.o2oa</groupId>
  25. <artifactId>x_organization_core_entity</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>net.o2oa</groupId>
  29. <artifactId>x_cms_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>net.o2oa</groupId>
  33. <artifactId>x_portal_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>net.o2oa</groupId>
  37. <artifactId>x_processplatform_core_entity</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>net.o2oa</groupId>
  41. <artifactId>x_general_core_entity</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>net.o2oa</groupId>
  45. <artifactId>x_query_core_entity</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>net.o2oa</groupId>
  49. <artifactId>x_organization_core_express</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>net.o2oa</groupId>
  53. <artifactId>x_message_core_entity</artifactId>
  54. </dependency>
  55. <!-- https://mvnrepository.com/artifact/com.mysql/mysql-connector-j -->
  56. <dependency>
  57. <groupId>com.mysql</groupId>
  58. <artifactId>mysql-connector-j</artifactId>
  59. <version>8.0.33</version>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.codehaus.mojo</groupId>
  66. <artifactId>exec-maven-plugin</artifactId>
  67. <executions>
  68. <execution>
  69. <id>describeBuilder</id>
  70. <phase>prepare-package</phase>
  71. <goals>
  72. <goal>java</goal>
  73. </goals>
  74. <configuration>
  75. <addOutputToClasspath>true</addOutputToClasspath>
  76. <includePluginDependencies>true</includePluginDependencies>
  77. <includeProjectDependencies>true</includeProjectDependencies>
  78. <mainClass>
  79. com.x.base.core.project.annotation.DescribeBuilder
  80. </mainClass>
  81. <arguments>
  82. <argument>${basedir}</argument>
  83. <argument>${project.build.sourceDirectory}</argument>
  84. </arguments>
  85. </configuration>
  86. </execution>
  87. <execution>
  88. <id>apiBuilder</id>
  89. <phase>prepare-package</phase>
  90. <goals>
  91. <goal>java</goal>
  92. </goals>
  93. <configuration>
  94. <addOutputToClasspath>true</addOutputToClasspath>
  95. <includePluginDependencies>true</includePluginDependencies>
  96. <includeProjectDependencies>true</includeProjectDependencies>
  97. <mainClass>
  98. com.x.base.core.project.annotation.ApiBuilder
  99. </mainClass>
  100. <arguments>
  101. <argument>${basedir}</argument>
  102. <argument>${project.build.sourceDirectory}</argument>
  103. </arguments>
  104. </configuration>
  105. </execution>
  106. <execution>
  107. <id>checkAssemble</id>
  108. <phase>prepare-package</phase>
  109. <goals>
  110. <goal>java</goal>
  111. </goals>
  112. <configuration>
  113. <addOutputToClasspath>true</addOutputToClasspath>
  114. <includePluginDependencies>true</includePluginDependencies>
  115. <includeProjectDependencies>true</includeProjectDependencies>
  116. <mainClass>
  117. com.x.base.core.project.build.CheckAssemble
  118. </mainClass>
  119. </configuration>
  120. </execution>
  121. <execution>
  122. <id>createWebXml</id>
  123. <phase>prepare-package</phase>
  124. <goals>
  125. <goal>java</goal>
  126. </goals>
  127. <configuration>
  128. <addOutputToClasspath>true</addOutputToClasspath>
  129. <includePluginDependencies>true</includePluginDependencies>
  130. <includeProjectDependencies>true</includeProjectDependencies>
  131. <mainClass>
  132. 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. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-deploy-plugin</artifactId>
  167. <version>3.0.0-M2</version>
  168. <configuration>
  169. <skip>true</skip>
  170. </configuration>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. </project>