pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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_base_core_project</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. </dependencies>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <groupId>org.codehaus.mojo</groupId>
  20. <artifactId>exec-maven-plugin</artifactId>
  21. <executions>
  22. <execution>
  23. <id>metaModelBuilder</id>
  24. <phase>generate-sources</phase>
  25. <goals>
  26. <goal>java</goal>
  27. </goals>
  28. <configuration>
  29. <addOutputToClasspath>true</addOutputToClasspath>
  30. <includePluginDependencies>true</includePluginDependencies>
  31. <includeProjectDependencies>true</includeProjectDependencies>
  32. <mainClass>com.x.base.core.entity.tools.MetaModelBuilder</mainClass>
  33. <arguments>
  34. <argument>${basedir}</argument>
  35. <argument>${project.build.sourceDirectory}</argument>
  36. <argument>${project.build.outputDirectory}</argument>
  37. </arguments>
  38. </configuration>
  39. </execution>
  40. <execution>
  41. <id>enhanceBaseBuilder</id>
  42. <phase>process-classes</phase>
  43. <goals>
  44. <goal>java</goal>
  45. </goals>
  46. <configuration>
  47. <addOutputToClasspath>true</addOutputToClasspath>
  48. <includePluginDependencies>true</includePluginDependencies>
  49. <includeProjectDependencies>true</includeProjectDependencies>
  50. <mainClass>com.x.base.core.entity.tools.EnhanceBaseBuilder</mainClass>
  51. <arguments>
  52. <argument>${project.build.directory}</argument>
  53. <argument>${project.build.outputDirectory}</argument>
  54. </arguments>
  55. </configuration>
  56. </execution>
  57. </executions>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-resources-plugin</artifactId>
  61. <executions>
  62. <execution>
  63. <id>copy-jar</id>
  64. <phase>verify</phase>
  65. <goals>
  66. <goal>copy-resources</goal>
  67. </goals>
  68. <configuration>
  69. <outputDirectory>../store/jars</outputDirectory>
  70. <resources>
  71. <resource>
  72. <directory>target</directory>
  73. <includes>
  74. <include>${project.artifactId}.jar</include>
  75. </includes>
  76. </resource>
  77. </resources>
  78. </configuration>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <executions>
  85. <execution>
  86. <phase>initialize</phase>
  87. <goals>
  88. <goal>compile</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>