pom.xml 4.3 KB

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