pom.xml 4.4 KB

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