pom.xml 4.7 KB

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