pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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>${global.version}</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. </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>com.x.base.core.project.annotation.DescribeBuilder
  57. </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>com.x.base.core.project.annotation.ApiBuilder
  75. </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>com.x.base.core.project.build.CheckAssemble
  93. </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>com.x.base.core.project.build.CreateWebXml</mainClass>
  107. <arguments>
  108. <argument>${basedir}</argument>
  109. <argument>${project.artifactId}</argument>
  110. </arguments>
  111. </configuration>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. <plugin>
  116. <artifactId>maven-resources-plugin</artifactId>
  117. <executions>
  118. <execution>
  119. <id>copy-war</id>
  120. <phase>verify</phase>
  121. <goals>
  122. <goal>copy-resources</goal>
  123. </goals>
  124. <configuration>
  125. <outputDirectory>../store</outputDirectory>
  126. <resources>
  127. <resource>
  128. <directory>target</directory>
  129. <includes>
  130. <include>${project.artifactId}.war</include>
  131. </includes>
  132. </resource>
  133. </resources>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </project>