pom.xml 4.0 KB

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