pom.xml 4.3 KB

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