pom.xml 4.7 KB

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