pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.0</version>
  8. </parent>
  9. <artifactId>x_organization_assemble_personal</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>describeBuilder</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.DescribeBuilder</mainClass>
  38. <arguments>
  39. <argument>${basedir}</argument>
  40. <argument>${project.build.sourceDirectory}</argument>
  41. </arguments>
  42. </configuration>
  43. </execution>
  44. <execution>
  45. <id>apiBuilder</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.ApiBuilder</mainClass>
  55. <arguments>
  56. <argument>${basedir}</argument>
  57. <argument>${project.build.sourceDirectory}</argument>
  58. </arguments>
  59. </configuration>
  60. </execution>
  61. <execution>
  62. <id>checkAssemble</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.build.CheckAssemble</mainClass>
  72. </configuration>
  73. </execution>
  74. <execution>
  75. <id>createWebXml</id>
  76. <phase>prepare-package</phase>
  77. <goals>
  78. <goal>java</goal>
  79. </goals>
  80. <configuration>
  81. <addOutputToClasspath>true</addOutputToClasspath>
  82. <includePluginDependencies>true</includePluginDependencies>
  83. <includeProjectDependencies>true</includeProjectDependencies>
  84. <mainClass>com.x.base.core.project.build.CreateWebXml</mainClass>
  85. <arguments>
  86. <argument>${basedir}</argument>
  87. <argument>${project.artifactId}</argument>
  88. </arguments>
  89. </configuration>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-resources-plugin</artifactId>
  95. <executions>
  96. <execution>
  97. <id>copy-war</id>
  98. <phase>verify</phase>
  99. <goals>
  100. <goal>copy-resources</goal>
  101. </goals>
  102. <configuration>
  103. <outputDirectory>../store</outputDirectory>
  104. <resources>
  105. <resource>
  106. <directory>target</directory>
  107. <includes>
  108. <include>${project.artifactId}.war</include>
  109. </includes>
  110. </resource>
  111. </resources>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-deploy-plugin</artifactId>
  119. <version>3.0.0-M2</version>
  120. <configuration>
  121. <skip>true</skip>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>