pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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>4.0.5</version>
  11. </parent>
  12. <artifactId>x_mind_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_express</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>o2oa</groupId>
  25. <artifactId>x_mind_core_entity</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.codehaus.mojo</groupId>
  32. <artifactId>exec-maven-plugin</artifactId>
  33. <executions>
  34. <execution>
  35. <id>describeBuilder</id>
  36. <phase>prepare-package</phase>
  37. <goals>
  38. <goal>java</goal>
  39. </goals>
  40. <configuration>
  41. <addOutputToClasspath>true</addOutputToClasspath>
  42. <includePluginDependencies>true</includePluginDependencies>
  43. <includeProjectDependencies>true</includeProjectDependencies>
  44. <mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
  45. <arguments>
  46. <argument>${basedir}</argument>
  47. <argument>${project.build.sourceDirectory}</argument>
  48. </arguments>
  49. </configuration>
  50. </execution>
  51. <execution>
  52. <id>checkAssemble</id>
  53. <phase>prepare-package</phase>
  54. <goals>
  55. <goal>java</goal>
  56. </goals>
  57. <configuration>
  58. <addOutputToClasspath>true</addOutputToClasspath>
  59. <includePluginDependencies>true</includePluginDependencies>
  60. <includeProjectDependencies>true</includeProjectDependencies>
  61. <mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
  62. </configuration>
  63. </execution>
  64. <execution>
  65. <id>createWebXml</id>
  66. <phase>prepare-package</phase>
  67. <goals>
  68. <goal>java</goal>
  69. </goals>
  70. <configuration>
  71. <addOutputToClasspath>true</addOutputToClasspath>
  72. <includePluginDependencies>true</includePluginDependencies>
  73. <includeProjectDependencies>true</includeProjectDependencies>
  74. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  75. <arguments>
  76. <argument>${basedir}</argument>
  77. <argument>${project.artifactId}</argument>
  78. </arguments>
  79. </configuration>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. <plugin>
  84. <artifactId>maven-resources-plugin</artifactId>
  85. <executions>
  86. <execution>
  87. <id>copy-war</id>
  88. <phase>verify</phase>
  89. <goals>
  90. <goal>copy-resources</goal>
  91. </goals>
  92. <configuration>
  93. <outputDirectory>../store</outputDirectory>
  94. <resources>
  95. <resource>
  96. <directory>target</directory>
  97. <includes>
  98. <include>${project.artifactId}.war</include>
  99. </includes>
  100. </resource>
  101. </resources>
  102. </configuration>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>