pom.xml 4.7 KB

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