pom.xml 4.0 KB

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