pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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_program_center</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_program_center_core_entity</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>net.o2oa</groupId>
  22. <artifactId>x_organization_core_entity</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_portal_core_entity</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>net.o2oa</groupId>
  34. <artifactId>x_processplatform_core_entity</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>net.o2oa</groupId>
  38. <artifactId>x_general_core_entity</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>net.o2oa</groupId>
  42. <artifactId>x_query_core_entity</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>net.o2oa</groupId>
  46. <artifactId>x_organization_core_express</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>net.o2oa</groupId>
  50. <artifactId>x_message_core_entity</artifactId>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.codehaus.mojo</groupId>
  57. <artifactId>exec-maven-plugin</artifactId>
  58. <executions>
  59. <execution>
  60. <id>describeBuilder</id>
  61. <phase>prepare-package</phase>
  62. <goals>
  63. <goal>java</goal>
  64. </goals>
  65. <configuration>
  66. <addOutputToClasspath>true</addOutputToClasspath>
  67. <includePluginDependencies>true</includePluginDependencies>
  68. <includeProjectDependencies>true</includeProjectDependencies>
  69. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  70. </mainClass>
  71. <arguments>
  72. <argument>${basedir}</argument>
  73. <argument>${project.build.sourceDirectory}</argument>
  74. </arguments>
  75. </configuration>
  76. </execution>
  77. <execution>
  78. <id>apiBuilder</id>
  79. <phase>prepare-package</phase>
  80. <goals>
  81. <goal>java</goal>
  82. </goals>
  83. <configuration>
  84. <addOutputToClasspath>true</addOutputToClasspath>
  85. <includePluginDependencies>true</includePluginDependencies>
  86. <includeProjectDependencies>true</includeProjectDependencies>
  87. <mainClass>com.x.base.core.project.annotation.ApiBuilder
  88. </mainClass>
  89. <arguments>
  90. <argument>${basedir}</argument>
  91. <argument>${project.build.sourceDirectory}</argument>
  92. </arguments>
  93. </configuration>
  94. </execution>
  95. <execution>
  96. <id>checkAssemble</id>
  97. <phase>prepare-package</phase>
  98. <goals>
  99. <goal>java</goal>
  100. </goals>
  101. <configuration>
  102. <addOutputToClasspath>true</addOutputToClasspath>
  103. <includePluginDependencies>true</includePluginDependencies>
  104. <includeProjectDependencies>true</includeProjectDependencies>
  105. <mainClass>com.x.base.core.project.build.CheckAssemble
  106. </mainClass>
  107. </configuration>
  108. </execution>
  109. <execution>
  110. <id>createWebXml</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.CreateWebXml</mainClass>
  120. <arguments>
  121. <argument>${basedir}</argument>
  122. <argument>${project.artifactId}</argument>
  123. </arguments>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-resources-plugin</artifactId>
  130. <executions>
  131. <execution>
  132. <id>copy-war</id>
  133. <phase>verify</phase>
  134. <goals>
  135. <goal>copy-resources</goal>
  136. </goals>
  137. <configuration>
  138. <outputDirectory>../store</outputDirectory>
  139. <resources>
  140. <resource>
  141. <directory>target</directory>
  142. <includes>
  143. <include>${project.artifactId}.war</include>
  144. </includes>
  145. </resource>
  146. </resources>
  147. </configuration>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-deploy-plugin</artifactId>
  154. <version>3.0.0-M2</version>
  155. <configuration>
  156. <skip>true</skip>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>