pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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_general_assemble_control</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. <dependency>
  21. <groupId>net.o2oa</groupId>
  22. <artifactId>x_organization_core_express</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>net.o2oa</groupId>
  26. <artifactId>x_general_core_entity</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>net.o2oa</groupId>
  30. <artifactId>x_processplatform_core_entity</artifactId>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.codehaus.mojo</groupId>
  37. <artifactId>exec-maven-plugin</artifactId>
  38. <executions>
  39. <execution>
  40. <id>describeBuilder</id>
  41. <phase>prepare-package</phase>
  42. <goals>
  43. <goal>java</goal>
  44. </goals>
  45. <configuration>
  46. <addOutputToClasspath>true</addOutputToClasspath>
  47. <includePluginDependencies>true</includePluginDependencies>
  48. <includeProjectDependencies>true</includeProjectDependencies>
  49. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  50. <arguments>
  51. <argument>${basedir}</argument>
  52. <argument>${project.build.sourceDirectory}</argument>
  53. </arguments>
  54. </configuration>
  55. </execution>
  56. <execution>
  57. <id>apiBuilder</id>
  58. <phase>prepare-package</phase>
  59. <goals>
  60. <goal>java</goal>
  61. </goals>
  62. <configuration>
  63. <addOutputToClasspath>true</addOutputToClasspath>
  64. <includePluginDependencies>true</includePluginDependencies>
  65. <includeProjectDependencies>true</includeProjectDependencies>
  66. <mainClass>com.x.base.core.project.annotation.ApiBuilder</mainClass>
  67. <arguments>
  68. <argument>${basedir}</argument>
  69. <argument>${project.build.sourceDirectory}</argument>
  70. </arguments>
  71. </configuration>
  72. </execution>
  73. <execution>
  74. <id>checkAssemble</id>
  75. <phase>prepare-package</phase>
  76. <goals>
  77. <goal>java</goal>
  78. </goals>
  79. <configuration>
  80. <addOutputToClasspath>true</addOutputToClasspath>
  81. <includePluginDependencies>true</includePluginDependencies>
  82. <includeProjectDependencies>true</includeProjectDependencies>
  83. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  84. </configuration>
  85. </execution>
  86. <execution>
  87. <id>createWebXml</id>
  88. <phase>prepare-package</phase>
  89. <goals>
  90. <goal>java</goal>
  91. </goals>
  92. <configuration>
  93. <addOutputToClasspath>true</addOutputToClasspath>
  94. <includePluginDependencies>true</includePluginDependencies>
  95. <includeProjectDependencies>true</includeProjectDependencies>
  96. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  97. <arguments>
  98. <argument>${basedir}</argument>
  99. <argument>${project.artifactId}</argument>
  100. </arguments>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <artifactId>maven-resources-plugin</artifactId>
  107. <executions>
  108. <execution>
  109. <id>copy-war</id>
  110. <phase>verify</phase>
  111. <goals>
  112. <goal>copy-resources</goal>
  113. </goals>
  114. <configuration>
  115. <outputDirectory>../store</outputDirectory>
  116. <resources>
  117. <resource>
  118. <directory>target</directory>
  119. <includes>
  120. <include>${project.artifactId}.war</include>
  121. </includes>
  122. </resource>
  123. </resources>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-deploy-plugin</artifactId>
  131. <version>3.0.0-M2</version>
  132. <configuration>
  133. <skip>true</skip>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>