pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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>o2oa_customUpload</artifactId>
  10. <version>8.0</version>
  11. </parent>
  12. <artifactId>x_customUpload_core_entity</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <!-- <dependency>-->
  16. <!-- <groupId>org.imgscalr</groupId>-->
  17. <!-- <artifactId>imgscalr-lib</artifactId>-->
  18. <!-- <version>4.2</version>-->
  19. <!-- </dependency>-->
  20. <dependency>
  21. <groupId>net.o2oa</groupId>
  22. <artifactId>x_base_core_project</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>TableBuilder</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.TableBuilder</mainClass>
  42. <arguments>
  43. <argument>${basedir}</argument>
  44. <argument>${project.build.sourceDirectory}</argument>
  45. </arguments>
  46. </configuration>
  47. </execution>
  48. <execution>
  49. <id>metaModelBuilder</id>
  50. <phase>generate-sources</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.entity.tools.MetaModelBuilder</mainClass>
  59. <arguments>
  60. <argument>${basedir}</argument>
  61. <argument>${project.build.sourceDirectory}</argument>
  62. <argument>${project.build.outputDirectory}</argument>
  63. </arguments>
  64. </configuration>
  65. </execution>
  66. <execution>
  67. <id>enhanceBuilder</id>
  68. <phase>process-classes</phase>
  69. <goals>
  70. <goal>java</goal>
  71. </goals>
  72. <configuration>
  73. <addOutputToClasspath>true</addOutputToClasspath>
  74. <includePluginDependencies>true</includePluginDependencies>
  75. <includeProjectDependencies>true</includeProjectDependencies>
  76. <mainClass>com.x.base.core.entity.tools.EnhanceBuilder</mainClass>
  77. <arguments>
  78. <argument>${project.build.directory}</argument>
  79. <argument>${project.build.outputDirectory}</argument>
  80. </arguments>
  81. </configuration>
  82. </execution>
  83. <execution>
  84. <id>checkCore</id>
  85. <phase>prepare-package</phase>
  86. <goals>
  87. <goal>java</goal>
  88. </goals>
  89. <configuration>
  90. <addOutputToClasspath>true</addOutputToClasspath>
  91. <includePluginDependencies>true</includePluginDependencies>
  92. <includeProjectDependencies>true</includeProjectDependencies>
  93. <mainClass>com.x.base.core.project.build.CheckCore</mainClass>
  94. </configuration>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <plugin>
  99. <artifactId>maven-resources-plugin</artifactId>
  100. <executions>
  101. <execution>
  102. <id>copy-jar</id>
  103. <phase>verify</phase>
  104. <goals>
  105. <goal>copy-resources</goal>
  106. </goals>
  107. <configuration>
  108. <outputDirectory>../store/jars</outputDirectory>
  109. <resources>
  110. <resource>
  111. <directory>target</directory>
  112. <includes>
  113. <include>${project.artifactId}.jar</include>
  114. </includes>
  115. </resource>
  116. </resources>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-compiler-plugin</artifactId>
  123. <executions>
  124. <execution>
  125. <phase>initialize</phase>
  126. <goals>
  127. <goal>compile</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>