pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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_processplatform_assemble_surface</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_cms_core_entity</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>o2oa</groupId>
  45. <artifactId>x_portal_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>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>com.x.base.core.project.annotation.DescribeBuilder
  69. </mainClass>
  70. <arguments>
  71. <argument>${basedir}</argument>
  72. <argument>${project.build.sourceDirectory}</argument>
  73. </arguments>
  74. </configuration>
  75. </execution>
  76. <execution>
  77. <id>apiBuilder</id>
  78. <phase>prepare-package</phase>
  79. <goals>
  80. <goal>java</goal>
  81. </goals>
  82. <configuration>
  83. <addOutputToClasspath>true</addOutputToClasspath>
  84. <includePluginDependencies>true</includePluginDependencies>
  85. <includeProjectDependencies>true</includeProjectDependencies>
  86. <mainClass>com.x.base.core.project.annotation.ApiBuilder
  87. </mainClass>
  88. <arguments>
  89. <argument>${basedir}</argument>
  90. <argument>${project.build.sourceDirectory}</argument>
  91. </arguments>
  92. </configuration>
  93. </execution>
  94. <execution>
  95. <id>checkAssemble</id>
  96. <phase>prepare-package</phase>
  97. <goals>
  98. <goal>java</goal>
  99. </goals>
  100. <configuration>
  101. <addOutputToClasspath>true</addOutputToClasspath>
  102. <includePluginDependencies>true</includePluginDependencies>
  103. <includeProjectDependencies>true</includeProjectDependencies>
  104. <mainClass>com.x.base.core.project.build.CheckAssemble
  105. </mainClass>
  106. </configuration>
  107. </execution>
  108. <execution>
  109. <id>createWebXml</id>
  110. <phase>prepare-package</phase>
  111. <goals>
  112. <goal>java</goal>
  113. </goals>
  114. <configuration>
  115. <addOutputToClasspath>true</addOutputToClasspath>
  116. <includePluginDependencies>true</includePluginDependencies>
  117. <includeProjectDependencies>true</includeProjectDependencies>
  118. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  119. <arguments>
  120. <argument>${basedir}</argument>
  121. <argument>${project.artifactId}</argument>
  122. </arguments>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <artifactId>maven-resources-plugin</artifactId>
  129. <executions>
  130. <execution>
  131. <id>copy-war</id>
  132. <phase>verify</phase>
  133. <goals>
  134. <goal>copy-resources</goal>
  135. </goals>
  136. <configuration>
  137. <outputDirectory>../store</outputDirectory>
  138. <resources>
  139. <resource>
  140. <directory>target</directory>
  141. <includes>
  142. <include>${project.artifactId}.war</include>
  143. </includes>
  144. </resource>
  145. </resources>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <artifactId>maven-deploy-plugin</artifactId>
  152. <configuration>
  153. <skip>true</skip>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. </project>