pom.xml 5.0 KB

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