pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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>${global.version}</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. <version>4.0.5</version>
  31. </dependency>
  32. <!--极光推送 sdk-->
  33. <dependency>
  34. <groupId>cn.jpush.api</groupId>
  35. <artifactId>jpush-client</artifactId>
  36. <version>3.4.2</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>exec-maven-plugin</artifactId>
  44. <executions>
  45. <execution>
  46. <id>describeBuilder</id>
  47. <phase>prepare-package</phase>
  48. <goals>
  49. <goal>java</goal>
  50. </goals>
  51. <configuration>
  52. <addOutputToClasspath>true</addOutputToClasspath>
  53. <includePluginDependencies>true</includePluginDependencies>
  54. <includeProjectDependencies>true</includeProjectDependencies>
  55. <mainClass>com.x.base.core.project.annotation.DescribeBuilder
  56. </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
  91. </mainClass>
  92. </configuration>
  93. </execution>
  94. <execution>
  95. <id>createWebXml</id>
  96. <phase>prepare-package</phase>
  97. <goals>
  98. <goal>java</goal>
  99. </goals>
  100. <configuration>
  101. <addOutputToClasspath>true</addOutputToClasspath>
  102. <includePluginDependencies>true</includePluginDependencies>
  103. <includeProjectDependencies>true</includeProjectDependencies>
  104. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  105. <arguments>
  106. <argument>${basedir}</argument>
  107. <argument>${project.artifactId}</argument>
  108. </arguments>
  109. </configuration>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-resources-plugin</artifactId>
  115. <executions>
  116. <execution>
  117. <id>copy-war</id>
  118. <phase>verify</phase>
  119. <goals>
  120. <goal>copy-resources</goal>
  121. </goals>
  122. <configuration>
  123. <outputDirectory>../store</outputDirectory>
  124. <resources>
  125. <resource>
  126. <directory>target</directory>
  127. <includes>
  128. <include>${project.artifactId}.war</include>
  129. </includes>
  130. </resource>
  131. </resources>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>