pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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>net.o2oa</groupId>
  9. <artifactId>o2help_sso</artifactId>
  10. <version>7.3</version>
  11. </parent>
  12. <artifactId>x_sso_assemble_control</artifactId>
  13. <packaging>war</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>net.o2oa</groupId>
  17. <artifactId>x_base_core_project</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>net.o2oa</groupId>
  21. <artifactId>x_organization_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>net.o2oa</groupId>
  25. <artifactId>x_organization_core_express</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>net.o2oa</groupId>
  29. <artifactId>x_sso_core_entity</artifactId>
  30. <version>7.3</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.httpcomponents</groupId>
  34. <artifactId>httpmime</artifactId>
  35. <version>4.5.13</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.bouncycastle</groupId>
  39. <artifactId>bcprov-jdk15on</artifactId>
  40. <version>1.69</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.codehaus.mojo</groupId>
  47. <artifactId>exec-maven-plugin</artifactId>
  48. <executions>
  49. <execution>
  50. <id>DescribeWoBuilder</id>
  51. <phase>prepare-package</phase>
  52. <goals>
  53. <goal>java</goal>
  54. </goals>
  55. <configuration>
  56. <addOutputToClasspath>true</addOutputToClasspath>
  57. <includePluginDependencies>true</includePluginDependencies>
  58. <includeProjectDependencies>true</includeProjectDependencies>
  59. <mainClass>com.x.base.core.project.annotation.DescribeWoBuilder</mainClass>
  60. <arguments>
  61. <argument>${basedir}</argument>
  62. <argument>${project.build.sourceDirectory}</argument>
  63. </arguments>
  64. </configuration>
  65. </execution>
  66. <execution>
  67. <id>describeBuilder</id>
  68. <phase>prepare-package</phase>
  69. <goals>
  70. <goal>java</goal>
  71. </goals>
  72. <configuration>
  73. <addOutputToClasspath>true</addOutputToClasspath>
  74. <includePluginDependencies>true</includePluginDependencies>
  75. <includeProjectDependencies>true</includeProjectDependencies>
  76. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  77. <arguments>
  78. <argument>${basedir}</argument>
  79. <argument>${project.build.sourceDirectory}</argument>
  80. </arguments>
  81. </configuration>
  82. </execution>
  83. <execution>
  84. <id>apiBuilder</id>
  85. <phase>prepare-package</phase>
  86. <goals>
  87. <goal>java</goal>
  88. </goals>
  89. <configuration>
  90. <addOutputToClasspath>true</addOutputToClasspath>
  91. <includePluginDependencies>true</includePluginDependencies>
  92. <includeProjectDependencies>true</includeProjectDependencies>
  93. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  94. <arguments>
  95. <argument>${basedir}</argument>
  96. <argument>${project.build.sourceDirectory}</argument>
  97. </arguments>
  98. </configuration>
  99. </execution>
  100. <execution>
  101. <id>checkAssemble</id>
  102. <phase>prepare-package</phase>
  103. <goals>
  104. <goal>java</goal>
  105. </goals>
  106. <configuration>
  107. <addOutputToClasspath>true</addOutputToClasspath>
  108. <includePluginDependencies>true</includePluginDependencies>
  109. <includeProjectDependencies>true</includeProjectDependencies>
  110. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  111. </configuration>
  112. </execution>
  113. <execution>
  114. <id>createWebXml</id>
  115. <phase>prepare-package</phase>
  116. <goals>
  117. <goal>java</goal>
  118. </goals>
  119. <configuration>
  120. <addOutputToClasspath>true</addOutputToClasspath>
  121. <includePluginDependencies>true</includePluginDependencies>
  122. <includeProjectDependencies>true</includeProjectDependencies>
  123. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  124. <arguments>
  125. <argument>${basedir}</argument>
  126. <argument>${project.artifactId}</argument>
  127. </arguments>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-resources-plugin</artifactId>
  134. <executions>
  135. <execution>
  136. <id>copy-war</id>
  137. <phase>verify</phase>
  138. <goals>
  139. <goal>copy-resources</goal>
  140. </goals>
  141. <configuration>
  142. <outputDirectory>../store</outputDirectory>
  143. <resources>
  144. <resource>
  145. <directory>target</directory>
  146. <includes>
  147. <include>${project.artifactId}.war</include>
  148. </includes>
  149. </resource>
  150. </resources>
  151. </configuration>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. <plugin>
  156. <artifactId>maven-war-plugin</artifactId>
  157. <version>3.2.3</version>
  158. <executions>
  159. <execution>
  160. <id>default-war</id>
  161. <phase>package</phase>
  162. <goals>
  163. <goal>war</goal>
  164. </goals>
  165. <configuration>
  166. <archive>
  167. <addMavenDescriptor>false</addMavenDescriptor>
  168. </archive>
  169. <packagingExcludes>persistence.xml,WEB-INF/lib/**,META-INF</packagingExcludes>
  170. <failOnMissingWebXml>false</failOnMissingWebXml>
  171. <webResources>
  172. <resource>
  173. <directory>ext</directory>
  174. <targetPath>WEB-INF/ext</targetPath>
  175. </resource>
  176. </webResources>
  177. </configuration>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <artifactId>maven-deploy-plugin</artifactId>
  183. <configuration>
  184. <skip>true</skip>
  185. </configuration>
  186. </plugin>
  187. </plugins>
  188. </build>
  189. </project>