pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.o2oa</groupId>
  6. <artifactId>o2server</artifactId>
  7. <version>8.3</version>
  8. </parent>
  9. <artifactId>x_organization_assemble_express</artifactId>
  10. <packaging>war</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>net.o2oa</groupId>
  14. <artifactId>x_base_core_project</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>net.o2oa</groupId>
  18. <artifactId>x_organization_core_entity</artifactId>
  19. </dependency>
  20. </dependencies>
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <groupId>org.codehaus.mojo</groupId>
  25. <artifactId>exec-maven-plugin</artifactId>
  26. <executions>
  27. <execution>
  28. <id>DescribeWoBuilder</id>
  29. <phase>prepare-package</phase>
  30. <goals>
  31. <goal>java</goal>
  32. </goals>
  33. <configuration>
  34. <addOutputToClasspath>true</addOutputToClasspath>
  35. <includePluginDependencies>true</includePluginDependencies>
  36. <includeProjectDependencies>true</includeProjectDependencies>
  37. <mainClass>com.x.base.core.project.annotation.DescribeWoBuilder</mainClass>
  38. <arguments>
  39. <argument>${basedir}</argument>
  40. <argument>${project.build.sourceDirectory}</argument>
  41. </arguments>
  42. </configuration>
  43. </execution>
  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</mainClass>
  55. <arguments>
  56. <argument>${basedir}</argument>
  57. <argument>${project.build.sourceDirectory}</argument>
  58. </arguments>
  59. </configuration>
  60. </execution>
  61. <execution>
  62. <id>apiBuilder</id>
  63. <phase>prepare-package</phase>
  64. <goals>
  65. <goal>java</goal>
  66. </goals>
  67. <configuration>
  68. <addOutputToClasspath>true</addOutputToClasspath>
  69. <includePluginDependencies>true</includePluginDependencies>
  70. <includeProjectDependencies>true</includeProjectDependencies>
  71. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  72. <arguments>
  73. <argument>${basedir}</argument>
  74. <argument>${project.build.sourceDirectory}</argument>
  75. </arguments>
  76. </configuration>
  77. </execution>
  78. <execution>
  79. <id>checkAssemble</id>
  80. <phase>prepare-package</phase>
  81. <goals>
  82. <goal>java</goal>
  83. </goals>
  84. <configuration>
  85. <addOutputToClasspath>true</addOutputToClasspath>
  86. <includePluginDependencies>true</includePluginDependencies>
  87. <includeProjectDependencies>true</includeProjectDependencies>
  88. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  89. </configuration>
  90. </execution>
  91. <execution>
  92. <id>createWebXml</id>
  93. <phase>prepare-package</phase>
  94. <goals>
  95. <goal>java</goal>
  96. </goals>
  97. <configuration>
  98. <addOutputToClasspath>true</addOutputToClasspath>
  99. <includePluginDependencies>true</includePluginDependencies>
  100. <includeProjectDependencies>true</includeProjectDependencies>
  101. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  102. <arguments>
  103. <argument>${basedir}</argument>
  104. <argument>${project.artifactId}</argument>
  105. </arguments>
  106. </configuration>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-resources-plugin</artifactId>
  112. <executions>
  113. <execution>
  114. <id>copy-war</id>
  115. <phase>verify</phase>
  116. <goals>
  117. <goal>copy-resources</goal>
  118. </goals>
  119. <configuration>
  120. <outputDirectory>../store</outputDirectory>
  121. <resources>
  122. <resource>
  123. <directory>target</directory>
  124. <includes>
  125. <include>${project.artifactId}.war</include>
  126. </includes>
  127. </resource>
  128. </resources>
  129. </configuration>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-deploy-plugin</artifactId>
  136. <version>3.0.0-M2</version>
  137. <configuration>
  138. <skip>true</skip>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>