pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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.0</version>
  8. </parent>
  9. <artifactId>x_portal_assemble_surface</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_portal_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_processplatform_core_entity</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>net.o2oa</groupId>
  30. <artifactId>x_cms_core_entity</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>net.o2oa</groupId>
  34. <artifactId>x_general_core_entity</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>net.o2oa</groupId>
  38. <artifactId>x_program_center_core_entity</artifactId>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.codehaus.mojo</groupId>
  45. <artifactId>exec-maven-plugin</artifactId>
  46. <executions>
  47. <execution>
  48. <id>describeBuilder</id>
  49. <phase>prepare-package</phase>
  50. <goals>
  51. <goal>java</goal>
  52. </goals>
  53. <configuration>
  54. <addOutputToClasspath>true</addOutputToClasspath>
  55. <includePluginDependencies>true</includePluginDependencies>
  56. <includeProjectDependencies>true</includeProjectDependencies>
  57. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</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</mainClass>
  75. <arguments>
  76. <argument>${basedir}</argument>
  77. <argument>${project.build.sourceDirectory}</argument>
  78. </arguments>
  79. </configuration>
  80. </execution>
  81. <execution>
  82. <id>checkAssemble</id>
  83. <phase>prepare-package</phase>
  84. <goals>
  85. <goal>java</goal>
  86. </goals>
  87. <configuration>
  88. <addOutputToClasspath>true</addOutputToClasspath>
  89. <includePluginDependencies>true</includePluginDependencies>
  90. <includeProjectDependencies>true</includeProjectDependencies>
  91. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  92. </configuration>
  93. </execution>
  94. <execution>
  95. <id>createWebXml</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.CreateWebXml</mainClass>
  105. <arguments>
  106. <argument>${basedir}</argument>
  107. <argument>${project.artifactId}</argument>
  108. </arguments>
  109. </configuration>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-resources-plugin</artifactId>
  115. <executions>
  116. <execution>
  117. <id>copy-war</id>
  118. <phase>verify</phase>
  119. <goals>
  120. <goal>copy-resources</goal>
  121. </goals>
  122. <configuration>
  123. <outputDirectory>../store</outputDirectory>
  124. <resources>
  125. <resource>
  126. <directory>target</directory>
  127. <includes>
  128. <include>${project.artifactId}.war</include>
  129. </includes>
  130. </resource>
  131. </resources>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-deploy-plugin</artifactId>
  139. <version>3.0.0-M2</version>
  140. <configuration>
  141. <skip>true</skip>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>