pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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_processplatform_service_processing</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>checkService</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.build.CheckService</mainClass>
  70. </configuration>
  71. </execution>
  72. <execution>
  73. <id>createWebXml</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.CreateWebXml</mainClass>
  83. <arguments>
  84. <argument>${basedir}</argument>
  85. <argument>${project.artifactId}</argument>
  86. </arguments>
  87. </configuration>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-resources-plugin</artifactId>
  93. <executions>
  94. <execution>
  95. <id>copy-war</id>
  96. <phase>verify</phase>
  97. <goals>
  98. <goal>copy-resources</goal>
  99. </goals>
  100. <configuration>
  101. <outputDirectory>../store</outputDirectory>
  102. <resources>
  103. <resource>
  104. <directory>target</directory>
  105. <includes>
  106. <include>${project.artifactId}.war</include>
  107. </includes>
  108. </resource>
  109. </resources>
  110. </configuration>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>