pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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.4</version>
  11. </parent>
  12. <artifactId>x_processplatform_service_processing</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_query_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>o2oa</groupId>
  33. <artifactId>x_processplatform_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_processplatform_core_express</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>o2oa</groupId>
  41. <artifactId>x_portal_core_entity</artifactId>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.codehaus.mojo</groupId>
  48. <artifactId>exec-maven-plugin</artifactId>
  49. <executions>
  50. <execution>
  51. <id>describeBuilder</id>
  52. <phase>prepare-package</phase>
  53. <goals>
  54. <goal>java</goal>
  55. </goals>
  56. <configuration>
  57. <addOutputToClasspath>true</addOutputToClasspath>
  58. <includePluginDependencies>true</includePluginDependencies>
  59. <includeProjectDependencies>true</includeProjectDependencies>
  60. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  61. </mainClass>
  62. <arguments>
  63. <argument>${basedir}</argument>
  64. <argument>${project.build.sourceDirectory}</argument>
  65. </arguments>
  66. </configuration>
  67. </execution>
  68. <execution>
  69. <id>apiBuilder</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>com.x.base.core.project.annotation.ApiBuilder
  79. </mainClass>
  80. <arguments>
  81. <argument>${basedir}</argument>
  82. <argument>${project.build.sourceDirectory}</argument>
  83. </arguments>
  84. </configuration>
  85. </execution>
  86. <execution>
  87. <id>checkService</id>
  88. <phase>prepare-package</phase>
  89. <goals>
  90. <goal>java</goal>
  91. </goals>
  92. <configuration>
  93. <addOutputToClasspath>true</addOutputToClasspath>
  94. <includePluginDependencies>true</includePluginDependencies>
  95. <includeProjectDependencies>true</includeProjectDependencies>
  96. <mainClass>com.x.base.core.project.build.CheckService</mainClass>
  97. </configuration>
  98. </execution>
  99. <execution>
  100. <id>createWebXml</id>
  101. <phase>prepare-package</phase>
  102. <goals>
  103. <goal>java</goal>
  104. </goals>
  105. <configuration>
  106. <addOutputToClasspath>true</addOutputToClasspath>
  107. <includePluginDependencies>true</includePluginDependencies>
  108. <includeProjectDependencies>true</includeProjectDependencies>
  109. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  110. <arguments>
  111. <argument>${basedir}</argument>
  112. <argument>${project.artifactId}</argument>
  113. </arguments>
  114. </configuration>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-resources-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <id>copy-war</id>
  123. <phase>verify</phase>
  124. <goals>
  125. <goal>copy-resources</goal>
  126. </goals>
  127. <configuration>
  128. <outputDirectory>../store</outputDirectory>
  129. <resources>
  130. <resource>
  131. <directory>target</directory>
  132. <includes>
  133. <include>${project.artifactId}.war</include>
  134. </includes>
  135. </resource>
  136. </resources>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-deploy-plugin</artifactId>
  143. <configuration>
  144. <skip>true</skip>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>