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