pom.xml 4.6 KB

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