pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.3</version>
  8. </parent>
  9. <artifactId>x_bbs_assemble_control</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_bbs_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_general_core_entity</artifactId>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>org.codehaus.mojo</groupId>
  33. <artifactId>exec-maven-plugin</artifactId>
  34. <executions>
  35. <execution>
  36. <id>describeBuilder</id>
  37. <phase>prepare-package</phase>
  38. <goals>
  39. <goal>java</goal>
  40. </goals>
  41. <configuration>
  42. <addOutputToClasspath>true</addOutputToClasspath>
  43. <includePluginDependencies>true</includePluginDependencies>
  44. <includeProjectDependencies>true</includeProjectDependencies>
  45. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  46. <arguments>
  47. <argument>${basedir}</argument>
  48. <argument>${project.build.sourceDirectory}</argument>
  49. </arguments>
  50. </configuration>
  51. </execution>
  52. <execution>
  53. <id>apiBuilder</id>
  54. <phase>prepare-package</phase>
  55. <goals>
  56. <goal>java</goal>
  57. </goals>
  58. <configuration>
  59. <addOutputToClasspath>true</addOutputToClasspath>
  60. <includePluginDependencies>true</includePluginDependencies>
  61. <includeProjectDependencies>true</includeProjectDependencies>
  62. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  63. <arguments>
  64. <argument>${basedir}</argument>
  65. <argument>${project.build.sourceDirectory}</argument>
  66. </arguments>
  67. </configuration>
  68. </execution>
  69. <execution>
  70. <id>checkAssemble</id>
  71. <phase>prepare-package</phase>
  72. <goals>
  73. <goal>java</goal>
  74. </goals>
  75. <configuration>
  76. <addOutputToClasspath>true</addOutputToClasspath>
  77. <includePluginDependencies>true</includePluginDependencies>
  78. <includeProjectDependencies>true</includeProjectDependencies>
  79. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  80. </configuration>
  81. </execution>
  82. <execution>
  83. <id>createWebXml</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.CreateWebXml</mainClass>
  93. <arguments>
  94. <argument>${basedir}</argument>
  95. <argument>${project.artifactId}</argument>
  96. </arguments>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-resources-plugin</artifactId>
  103. <executions>
  104. <execution>
  105. <id>copy-war</id>
  106. <phase>verify</phase>
  107. <goals>
  108. <goal>copy-resources</goal>
  109. </goals>
  110. <configuration>
  111. <outputDirectory>../store</outputDirectory>
  112. <resources>
  113. <resource>
  114. <directory>target</directory>
  115. <includes>
  116. <include>${project.artifactId}.war</include>
  117. </includes>
  118. </resource>
  119. </resources>
  120. </configuration>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-deploy-plugin</artifactId>
  127. <version>3.0.0-M2</version>
  128. <configuration>
  129. <skip>true</skip>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>