pom.xml 4.0 KB

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