pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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>net.o2oa</groupId>
  9. <artifactId>o2help_sso</artifactId>
  10. <version>7.3</version>
  11. </parent>
  12. <artifactId>x_sso_core_entity</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>net.o2oa</groupId>
  17. <artifactId>x_base_core_project</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.bouncycastle</groupId>
  21. <artifactId>bcprov-jdk15on</artifactId>
  22. <version>1.69</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.httpcomponents</groupId>
  26. <artifactId>httpmime</artifactId>
  27. <version>4.5.13</version>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.codehaus.mojo</groupId>
  34. <artifactId>exec-maven-plugin</artifactId>
  35. <executions>
  36. <execution>
  37. <id>TableBuilder</id>
  38. <phase>prepare-package</phase>
  39. <goals>
  40. <goal>java</goal>
  41. </goals>
  42. <configuration>
  43. <addOutputToClasspath>true</addOutputToClasspath>
  44. <includePluginDependencies>true</includePluginDependencies>
  45. <includeProjectDependencies>true</includeProjectDependencies>
  46. <mainClass>com.x.base.core.project.annotation.TableBuilder</mainClass>
  47. <arguments>
  48. <argument>${basedir}</argument>
  49. <argument>${project.build.sourceDirectory}</argument>
  50. </arguments>
  51. </configuration>
  52. </execution>
  53. <execution>
  54. <id>metaModelBuilder</id>
  55. <phase>generate-sources</phase>
  56. <goals>
  57. <goal>java</goal>
  58. </goals>
  59. <configuration>
  60. <addOutputToClasspath>true</addOutputToClasspath>
  61. <includePluginDependencies>true</includePluginDependencies>
  62. <includeProjectDependencies>true</includeProjectDependencies>
  63. <mainClass>com.x.base.core.entity.tools.MetaModelBuilder</mainClass>
  64. <arguments>
  65. <argument>${basedir}</argument>
  66. <argument>${project.build.sourceDirectory}</argument>
  67. <argument>${project.build.outputDirectory}</argument>
  68. </arguments>
  69. </configuration>
  70. </execution>
  71. <execution>
  72. <id>enhanceBuilder</id>
  73. <phase>process-classes</phase>
  74. <goals>
  75. <goal>java</goal>
  76. </goals>
  77. <configuration>
  78. <addOutputToClasspath>true</addOutputToClasspath>
  79. <includePluginDependencies>true</includePluginDependencies>
  80. <includeProjectDependencies>true</includeProjectDependencies>
  81. <mainClass>com.x.base.core.entity.tools.EnhanceBuilder</mainClass>
  82. <arguments>
  83. <argument>${project.build.directory}</argument>
  84. <argument>${project.build.outputDirectory}</argument>
  85. </arguments>
  86. </configuration>
  87. </execution>
  88. <execution>
  89. <id>checkCore</id>
  90. <phase>prepare-package</phase>
  91. <goals>
  92. <goal>java</goal>
  93. </goals>
  94. <configuration>
  95. <addOutputToClasspath>true</addOutputToClasspath>
  96. <includePluginDependencies>true</includePluginDependencies>
  97. <includeProjectDependencies>true</includeProjectDependencies>
  98. <mainClass>com.x.base.core.project.build.CheckCore</mainClass>
  99. </configuration>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-resources-plugin</artifactId>
  105. <executions>
  106. <execution>
  107. <id>copy-jar</id>
  108. <phase>verify</phase>
  109. <goals>
  110. <goal>copy-resources</goal>
  111. </goals>
  112. <configuration>
  113. <outputDirectory>../store/jars</outputDirectory>
  114. <resources>
  115. <resource>
  116. <directory>target</directory>
  117. <includes>
  118. <include>${project.artifactId}.jar</include>
  119. </includes>
  120. </resource>
  121. </resources>
  122. </configuration>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <artifactId>maven-compiler-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <phase>initialize</phase>
  131. <goals>
  132. <goal>compile</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>