pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.o2oa</groupId>
  6. <artifactId>o2server</artifactId>
  7. <version>8.3</version>
  8. </parent>
  9. <artifactId>x_query_assemble_designer</artifactId>
  10. <packaging>war</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>net.o2oa</groupId>
  14. <artifactId>x_base_core_project</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>net.o2oa</groupId>
  18. <artifactId>x_organization_core_entity</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>net.o2oa</groupId>
  22. <artifactId>x_organization_core_express</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>net.o2oa</groupId>
  26. <artifactId>x_query_core_entity</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>net.o2oa</groupId>
  30. <artifactId>x_query_core_express</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>net.o2oa</groupId>
  34. <artifactId>x_processplatform_core_entity</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>net.o2oa</groupId>
  38. <artifactId>x_cms_core_entity</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>net.o2oa</groupId>
  42. <artifactId>x_cms_core_express</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>net.o2oa</groupId>
  46. <artifactId>x_general_core_entity</artifactId>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.codehaus.mojo</groupId>
  53. <artifactId>exec-maven-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <id>describeBuilder</id>
  57. <phase>prepare-package</phase>
  58. <goals>
  59. <goal>java</goal>
  60. </goals>
  61. <configuration>
  62. <addOutputToClasspath>true</addOutputToClasspath>
  63. <includePluginDependencies>true</includePluginDependencies>
  64. <includeProjectDependencies>true</includeProjectDependencies>
  65. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  66. <arguments>
  67. <argument>${basedir}</argument>
  68. <argument>${project.build.sourceDirectory}</argument>
  69. </arguments>
  70. </configuration>
  71. </execution>
  72. <execution>
  73. <id>apiBuilder</id>
  74. <phase>prepare-package</phase>
  75. <goals>
  76. <goal>java</goal>
  77. </goals>
  78. <configuration>
  79. <addOutputToClasspath>true</addOutputToClasspath>
  80. <includePluginDependencies>true</includePluginDependencies>
  81. <includeProjectDependencies>true</includeProjectDependencies>
  82. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  83. <arguments>
  84. <argument>${basedir}</argument>
  85. <argument>${project.build.sourceDirectory}</argument>
  86. </arguments>
  87. </configuration>
  88. </execution>
  89. <execution>
  90. <id>checkAssemble</id>
  91. <phase>prepare-package</phase>
  92. <goals>
  93. <goal>java</goal>
  94. </goals>
  95. <configuration>
  96. <addOutputToClasspath>true</addOutputToClasspath>
  97. <includePluginDependencies>true</includePluginDependencies>
  98. <includeProjectDependencies>true</includeProjectDependencies>
  99. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  100. </configuration>
  101. </execution>
  102. <execution>
  103. <id>createWebXml</id>
  104. <phase>prepare-package</phase>
  105. <goals>
  106. <goal>java</goal>
  107. </goals>
  108. <configuration>
  109. <addOutputToClasspath>true</addOutputToClasspath>
  110. <includePluginDependencies>true</includePluginDependencies>
  111. <includeProjectDependencies>true</includeProjectDependencies>
  112. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  113. <arguments>
  114. <argument>${basedir}</argument>
  115. <argument>${project.artifactId}</argument>
  116. </arguments>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-resources-plugin</artifactId>
  123. <executions>
  124. <execution>
  125. <id>copy-war</id>
  126. <phase>verify</phase>
  127. <goals>
  128. <goal>copy-resources</goal>
  129. </goals>
  130. <configuration>
  131. <outputDirectory>../store</outputDirectory>
  132. <resources>
  133. <resource>
  134. <directory>target</directory>
  135. <includes>
  136. <include>${project.artifactId}.war</include>
  137. </includes>
  138. </resource>
  139. </resources>
  140. </configuration>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-deploy-plugin</artifactId>
  147. <version>3.0.0-M2</version>
  148. <configuration>
  149. <skip>true</skip>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. </project>