pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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_organization_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_general_core_entity</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.google.zxing</groupId>
  29. <artifactId>core</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.google.zxing</groupId>
  33. <artifactId>core</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.google.zxing</groupId>
  37. <artifactId>javase</artifactId>
  38. <version>3.3.0</version>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.codehaus.mojo</groupId>
  45. <artifactId>exec-maven-plugin</artifactId>
  46. <dependencies>
  47. <dependency>
  48. <groupId>o2oa</groupId>
  49. <artifactId>x_base_core_project</artifactId>
  50. <version>${project.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. <version>1.7.25</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.slf4j</groupId>
  59. <artifactId>slf4j-simple</artifactId>
  60. <version>1.7.25</version>
  61. </dependency>
  62. </dependencies>
  63. <executions>
  64. <execution>
  65. <id>describeBuilder</id>
  66. <phase>prepare-package</phase>
  67. <goals>
  68. <goal>java</goal>
  69. </goals>
  70. <configuration>
  71. <addOutputToClasspath>true</addOutputToClasspath>
  72. <includePluginDependencies>true</includePluginDependencies>
  73. <includeProjectDependencies>true</includeProjectDependencies>
  74. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  75. <arguments>
  76. <argument>${basedir}</argument>
  77. <argument>${project.build.sourceDirectory}</argument>
  78. </arguments>
  79. </configuration>
  80. </execution>
  81. <execution>
  82. <id>apiBuilder</id>
  83. <phase>prepare-package</phase>
  84. <goals>
  85. <goal>java</goal>
  86. </goals>
  87. <configuration>
  88. <addOutputToClasspath>true</addOutputToClasspath>
  89. <includePluginDependencies>true</includePluginDependencies>
  90. <includeProjectDependencies>true</includeProjectDependencies>
  91. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  92. <arguments>
  93. <argument>${basedir}</argument>
  94. <argument>${project.build.sourceDirectory}</argument>
  95. </arguments>
  96. </configuration>
  97. </execution>
  98. <execution>
  99. <id>checkAssemble</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.CheckAssemble</mainClass>
  109. </configuration>
  110. </execution>
  111. <execution>
  112. <id>createWebXml</id>
  113. <phase>prepare-package</phase>
  114. <goals>
  115. <goal>java</goal>
  116. </goals>
  117. <configuration>
  118. <addOutputToClasspath>true</addOutputToClasspath>
  119. <includePluginDependencies>true</includePluginDependencies>
  120. <includeProjectDependencies>true</includeProjectDependencies>
  121. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  122. <arguments>
  123. <argument>${basedir}</argument>
  124. <argument>${project.artifactId}</argument>
  125. </arguments>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <artifactId>maven-resources-plugin</artifactId>
  132. <executions>
  133. <execution>
  134. <id>copy-war</id>
  135. <phase>verify</phase>
  136. <goals>
  137. <goal>copy-resources</goal>
  138. </goals>
  139. <configuration>
  140. <outputDirectory>../store</outputDirectory>
  141. <resources>
  142. <resource>
  143. <directory>target</directory>
  144. <includes>
  145. <include>${project.artifactId}.war</include>
  146. </includes>
  147. </resource>
  148. </resources>
  149. </configuration>
  150. </execution>
  151. </executions>
  152. </plugin>
  153. <plugin>
  154. <artifactId>maven-deploy-plugin</artifactId>
  155. <configuration>
  156. <skip>true</skip>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. <dependencyManagement>
  162. <dependencies>
  163. <dependency>
  164. <groupId>com.google.zxing</groupId>
  165. <artifactId>core</artifactId>
  166. <version>3.4.0</version>
  167. </dependency>
  168. </dependencies>
  169. </dependencyManagement>
  170. </project>