pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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>5</version>
  11. </parent>
  12. <artifactId>x_processplatform_core_entity</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>o2oa</groupId>
  17. <artifactId>x_base_core_project</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>o2oa</groupId>
  21. <artifactId>x_query_core_entity</artifactId>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.codehaus.mojo</groupId>
  28. <artifactId>exec-maven-plugin</artifactId>
  29. <executions>
  30. <execution>
  31. <id>metaModelBuilder</id>
  32. <phase>generate-sources</phase>
  33. <goals>
  34. <goal>java</goal>
  35. </goals>
  36. <configuration>
  37. <addOutputToClasspath>true</addOutputToClasspath>
  38. <includePluginDependencies>true</includePluginDependencies>
  39. <includeProjectDependencies>true</includeProjectDependencies>
  40. <mainClass>com.x.base.core.entity.tools.MetaModelBuilder</mainClass>
  41. <arguments>
  42. <argument>${basedir}</argument>
  43. <argument>${project.build.sourceDirectory}</argument>
  44. <argument>${project.build.outputDirectory}</argument>
  45. </arguments>
  46. </configuration>
  47. </execution>
  48. <execution>
  49. <id>enhanceBuilder</id>
  50. <phase>process-classes</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.EnhanceBuilder</mainClass>
  59. <arguments>
  60. <argument>${project.build.directory}</argument>
  61. <argument>${project.build.outputDirectory}</argument>
  62. </arguments>
  63. </configuration>
  64. </execution>
  65. <execution>
  66. <id>checkCore</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.CheckCore</mainClass>
  76. </configuration>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-resources-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <id>copy-jar</id>
  85. <phase>verify</phase>
  86. <goals>
  87. <goal>copy-resources</goal>
  88. </goals>
  89. <configuration>
  90. <outputDirectory>../store/jars</outputDirectory>
  91. <resources>
  92. <resource>
  93. <directory>target</directory>
  94. <includes>
  95. <include>${project.artifactId}.jar</include>
  96. </includes>
  97. </resource>
  98. </resources>
  99. </configuration>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <executions>
  106. <execution>
  107. <phase>initialize</phase>
  108. <goals>
  109. <goal>compile</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>