pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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>6.0</version>
  11. </parent>
  12. <artifactId>x_portal_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_portal_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_processplatform_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>o2oa</groupId>
  33. <artifactId>x_cms_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_general_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>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  57. <arguments>
  58. <argument>${basedir}</argument>
  59. <argument>${project.build.sourceDirectory}</argument>
  60. </arguments>
  61. </configuration>
  62. </execution>
  63. <execution>
  64. <id>apiBuilder</id>
  65. <phase>prepare-package</phase>
  66. <goals>
  67. <goal>java</goal>
  68. </goals>
  69. <configuration>
  70. <addOutputToClasspath>true</addOutputToClasspath>
  71. <includePluginDependencies>true</includePluginDependencies>
  72. <includeProjectDependencies>true</includeProjectDependencies>
  73. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  74. <arguments>
  75. <argument>${basedir}</argument>
  76. <argument>${project.build.sourceDirectory}</argument>
  77. </arguments>
  78. </configuration>
  79. </execution>
  80. <execution>
  81. <id>checkAssemble</id>
  82. <phase>prepare-package</phase>
  83. <goals>
  84. <goal>java</goal>
  85. </goals>
  86. <configuration>
  87. <addOutputToClasspath>true</addOutputToClasspath>
  88. <includePluginDependencies>true</includePluginDependencies>
  89. <includeProjectDependencies>true</includeProjectDependencies>
  90. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  91. </configuration>
  92. </execution>
  93. <execution>
  94. <id>createWebXml</id>
  95. <phase>prepare-package</phase>
  96. <goals>
  97. <goal>java</goal>
  98. </goals>
  99. <configuration>
  100. <addOutputToClasspath>true</addOutputToClasspath>
  101. <includePluginDependencies>true</includePluginDependencies>
  102. <includeProjectDependencies>true</includeProjectDependencies>
  103. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  104. <arguments>
  105. <argument>${basedir}</argument>
  106. <argument>${project.artifactId}</argument>
  107. </arguments>
  108. </configuration>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-resources-plugin</artifactId>
  114. <executions>
  115. <execution>
  116. <id>copy-war</id>
  117. <phase>verify</phase>
  118. <goals>
  119. <goal>copy-resources</goal>
  120. </goals>
  121. <configuration>
  122. <outputDirectory>../store</outputDirectory>
  123. <resources>
  124. <resource>
  125. <directory>target</directory>
  126. <includes>
  127. <include>${project.artifactId}.war</include>
  128. </includes>
  129. </resource>
  130. </resources>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-deploy-plugin</artifactId>
  137. <configuration>
  138. <skip>true</skip>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>