pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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>o2server</artifactId>
  10. <version>8.3</version>
  11. </parent>
  12. <artifactId>x_attendance_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. </dependencies>
  20. <build>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.codehaus.mojo</groupId>
  24. <artifactId>exec-maven-plugin</artifactId>
  25. <executions>
  26. <execution>
  27. <id>TableBuilder</id>
  28. <phase>prepare-package</phase>
  29. <goals>
  30. <goal>java</goal>
  31. </goals>
  32. <configuration>
  33. <addOutputToClasspath>true</addOutputToClasspath>
  34. <includePluginDependencies>true</includePluginDependencies>
  35. <includeProjectDependencies>true</includeProjectDependencies>
  36. <mainClass>com.x.base.core.project.annotation.TableBuilder</mainClass>
  37. <arguments>
  38. <argument>${basedir}</argument>
  39. <argument>${project.build.sourceDirectory}</argument>
  40. </arguments>
  41. </configuration>
  42. </execution>
  43. <execution>
  44. <id>metaModelBuilder</id>
  45. <phase>generate-sources</phase>
  46. <goals>
  47. <goal>java</goal>
  48. </goals>
  49. <configuration>
  50. <addOutputToClasspath>true</addOutputToClasspath>
  51. <includePluginDependencies>true</includePluginDependencies>
  52. <includeProjectDependencies>true</includeProjectDependencies>
  53. <mainClass>com.x.base.core.entity.tools.MetaModelBuilder</mainClass>
  54. <arguments>
  55. <argument>${basedir}</argument>
  56. <argument>${project.build.sourceDirectory}</argument>
  57. <argument>${project.build.outputDirectory}</argument>
  58. </arguments>
  59. </configuration>
  60. </execution>
  61. <execution>
  62. <id>enhanceBuilder</id>
  63. <phase>process-classes</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.entity.tools.EnhanceBuilder</mainClass>
  72. <arguments>
  73. <argument>${project.build.directory}</argument>
  74. <argument>${project.build.outputDirectory}</argument>
  75. </arguments>
  76. </configuration>
  77. </execution>
  78. <execution>
  79. <id>checkCore</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.CheckCore</mainClass>
  89. </configuration>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-resources-plugin</artifactId>
  95. <executions>
  96. <execution>
  97. <id>copy-jar</id>
  98. <phase>verify</phase>
  99. <goals>
  100. <goal>copy-resources</goal>
  101. </goals>
  102. <configuration>
  103. <outputDirectory>../store/jars</outputDirectory>
  104. <resources>
  105. <resource>
  106. <directory>target</directory>
  107. <includes>
  108. <include>${project.artifactId}.jar</include>
  109. </includes>
  110. </resource>
  111. </resources>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-compiler-plugin</artifactId>
  118. <executions>
  119. <execution>
  120. <phase>initialize</phase>
  121. <goals>
  122. <goal>compile</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>