pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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_jpush_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_jpush_core_entity</artifactId>
  30. </dependency>
  31. <!--极光推送 sdk-->
  32. <dependency>
  33. <groupId>cn.jpush.api</groupId>
  34. <artifactId>jpush-client</artifactId>
  35. <version>3.4.2</version>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.codehaus.mojo</groupId>
  42. <artifactId>exec-maven-plugin</artifactId>
  43. <executions>
  44. <execution>
  45. <id>describeBuilder</id>
  46. <phase>prepare-package</phase>
  47. <goals>
  48. <goal>java</goal>
  49. </goals>
  50. <configuration>
  51. <addOutputToClasspath>true</addOutputToClasspath>
  52. <includePluginDependencies>true</includePluginDependencies>
  53. <includeProjectDependencies>true</includeProjectDependencies>
  54. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  55. </mainClass>
  56. <arguments>
  57. <argument>${basedir}</argument>
  58. <argument>${project.build.sourceDirectory}</argument>
  59. </arguments>
  60. </configuration>
  61. </execution>
  62. <execution>
  63. <id>apiBuilder</id>
  64. <phase>prepare-package</phase>
  65. <goals>
  66. <goal>java</goal>
  67. </goals>
  68. <configuration>
  69. <addOutputToClasspath>true</addOutputToClasspath>
  70. <includePluginDependencies>true</includePluginDependencies>
  71. <includeProjectDependencies>true</includeProjectDependencies>
  72. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  73. <arguments>
  74. <argument>${basedir}</argument>
  75. <argument>${project.build.sourceDirectory}</argument>
  76. </arguments>
  77. </configuration>
  78. </execution>
  79. <execution>
  80. <id>checkAssemble</id>
  81. <phase>prepare-package</phase>
  82. <goals>
  83. <goal>java</goal>
  84. </goals>
  85. <configuration>
  86. <addOutputToClasspath>true</addOutputToClasspath>
  87. <includePluginDependencies>true</includePluginDependencies>
  88. <includeProjectDependencies>true</includeProjectDependencies>
  89. <mainClass>com.x.base.core.project.build.CheckAssemble
  90. </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. <artifactId>maven-deploy-plugin</artifactId>
  137. <configuration>
  138. <skip>true</skip>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>