pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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>5</version>
  11. </parent>
  12. <artifactId>x_processplatform_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_processplatform_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_processplatform_core_express</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>o2oa</groupId>
  41. <artifactId>x_cms_core_entity</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>o2oa</groupId>
  45. <artifactId>x_portal_core_entity</artifactId>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.codehaus.mojo</groupId>
  52. <artifactId>exec-maven-plugin</artifactId>
  53. <executions>
  54. <execution>
  55. <id>describeBuilder</id>
  56. <phase>prepare-package</phase>
  57. <goals>
  58. <goal>java</goal>
  59. </goals>
  60. <configuration>
  61. <addOutputToClasspath>true</addOutputToClasspath>
  62. <includePluginDependencies>true</includePluginDependencies>
  63. <includeProjectDependencies>true</includeProjectDependencies>
  64. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  65. </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
  83. </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
  101. </mainClass>
  102. </configuration>
  103. </execution>
  104. <execution>
  105. <id>createWebXml</id>
  106. <phase>prepare-package</phase>
  107. <goals>
  108. <goal>java</goal>
  109. </goals>
  110. <configuration>
  111. <addOutputToClasspath>true</addOutputToClasspath>
  112. <includePluginDependencies>true</includePluginDependencies>
  113. <includeProjectDependencies>true</includeProjectDependencies>
  114. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  115. <arguments>
  116. <argument>${basedir}</argument>
  117. <argument>${project.artifactId}</argument>
  118. </arguments>
  119. </configuration>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-resources-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <id>copy-war</id>
  128. <phase>verify</phase>
  129. <goals>
  130. <goal>copy-resources</goal>
  131. </goals>
  132. <configuration>
  133. <outputDirectory>../store</outputDirectory>
  134. <resources>
  135. <resource>
  136. <directory>target</directory>
  137. <includes>
  138. <include>${project.artifactId}.war</include>
  139. </includes>
  140. </resource>
  141. </resources>
  142. </configuration>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. </project>