pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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_message_assemble_communicate</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_message_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.kafka</groupId>
  33. <artifactId>kafka-clients</artifactId>
  34. <version>2.6.0</version>
  35. </dependency>
  36. <!--
  37. <dependency>
  38. <groupId>org.apache.activemq</groupId>
  39. <artifactId>activemq-all</artifactId>
  40. <version>5.14.5</version>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.slf4j</groupId>
  44. <artifactId>slf4j-log4j12</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <groupId>log4j</groupId>
  48. <artifactId>log4j</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. -->
  53. <dependency>
  54. <groupId>org.apache.activemq</groupId>
  55. <artifactId>activemq-client</artifactId>
  56. <version>5.14.5</version>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.codehaus.mojo</groupId>
  63. <artifactId>exec-maven-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <id>describeBuilder</id>
  67. <phase>prepare-package</phase>
  68. <goals>
  69. <goal>java</goal>
  70. </goals>
  71. <configuration>
  72. <addOutputToClasspath>true</addOutputToClasspath>
  73. <includePluginDependencies>true</includePluginDependencies>
  74. <includeProjectDependencies>true</includeProjectDependencies>
  75. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  76. <arguments>
  77. <argument>${basedir}</argument>
  78. <argument>${project.build.sourceDirectory}</argument>
  79. </arguments>
  80. </configuration>
  81. </execution>
  82. <execution>
  83. <id>apiBuilder</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.annotation.ApiBuilder</mainClass>
  93. <arguments>
  94. <argument>${basedir}</argument>
  95. <argument>${project.build.sourceDirectory}</argument>
  96. </arguments>
  97. </configuration>
  98. </execution>
  99. <execution>
  100. <id>checkAssemble</id>
  101. <phase>prepare-package</phase>
  102. <goals>
  103. <goal>java</goal>
  104. </goals>
  105. <configuration>
  106. <addOutputToClasspath>true</addOutputToClasspath>
  107. <includePluginDependencies>true</includePluginDependencies>
  108. <includeProjectDependencies>true</includeProjectDependencies>
  109. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  110. </configuration>
  111. </execution>
  112. <execution>
  113. <id>createWebXml</id>
  114. <phase>prepare-package</phase>
  115. <goals>
  116. <goal>java</goal>
  117. </goals>
  118. <configuration>
  119. <addOutputToClasspath>true</addOutputToClasspath>
  120. <includePluginDependencies>true</includePluginDependencies>
  121. <includeProjectDependencies>true</includeProjectDependencies>
  122. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  123. <arguments>
  124. <argument>${basedir}</argument>
  125. <argument>${project.artifactId}</argument>
  126. </arguments>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-resources-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <id>copy-war</id>
  136. <phase>verify</phase>
  137. <goals>
  138. <goal>copy-resources</goal>
  139. </goals>
  140. <configuration>
  141. <outputDirectory>../store</outputDirectory>
  142. <resources>
  143. <resource>
  144. <directory>target</directory>
  145. <includes>
  146. <include>${project.artifactId}.war</include>
  147. </includes>
  148. </resource>
  149. </resources>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <artifactId>maven-deploy-plugin</artifactId>
  156. <configuration>
  157. <skip>true</skip>
  158. </configuration>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </project>