pom.xml 4.7 KB

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