pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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_processplatform_service_processing</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_organization_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>net.o2oa</groupId>
  25. <artifactId>x_organization_core_express</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>net.o2oa</groupId>
  29. <artifactId>x_query_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>net.o2oa</groupId>
  33. <artifactId>x_processplatform_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>net.o2oa</groupId>
  37. <artifactId>x_processplatform_core_express</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>net.o2oa</groupId>
  41. <artifactId>x_portal_core_entity</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>net.o2oa</groupId>
  45. <artifactId>x_program_center_core_entity</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>net.o2oa</groupId>
  49. <artifactId>x_cms_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>describeBuilder</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>
  69. 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>
  88. com.x.base.core.project.annotation.ApiBuilder
  89. </mainClass>
  90. <arguments>
  91. <argument>${basedir}</argument>
  92. <argument>${project.build.sourceDirectory}</argument>
  93. </arguments>
  94. </configuration>
  95. </execution>
  96. <execution>
  97. <id>checkService</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>
  107. com.x.base.core.project.build.CheckService</mainClass>
  108. </configuration>
  109. </execution>
  110. <execution>
  111. <id>createWebXml</id>
  112. <phase>prepare-package</phase>
  113. <goals>
  114. <goal>java</goal>
  115. </goals>
  116. <configuration>
  117. <addOutputToClasspath>true</addOutputToClasspath>
  118. <includePluginDependencies>true</includePluginDependencies>
  119. <includeProjectDependencies>true</includeProjectDependencies>
  120. <mainClass>
  121. com.x.base.core.project.build.CreateWebXml</mainClass>
  122. <arguments>
  123. <argument>${basedir}</argument>
  124. <argument>${project.artifactId}</argument>
  125. </arguments>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <artifactId>maven-resources-plugin</artifactId>
  132. <executions>
  133. <execution>
  134. <id>copy-war</id>
  135. <phase>verify</phase>
  136. <goals>
  137. <goal>copy-resources</goal>
  138. </goals>
  139. <configuration>
  140. <outputDirectory>../store</outputDirectory>
  141. <resources>
  142. <resource>
  143. <directory>target</directory>
  144. <includes>
  145. <include>${project.artifactId}.war</include>
  146. </includes>
  147. </resource>
  148. </resources>
  149. </configuration>
  150. </execution>
  151. </executions>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-deploy-plugin</artifactId>
  156. <version>3.0.0-M2</version>
  157. <configuration>
  158. <skip>true</skip>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. </project>