pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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
  33. </mainClass>
  34. <arguments>
  35. <argument>${basedir}</argument>
  36. <argument>${project.build.sourceDirectory}</argument>
  37. <argument>${project.build.outputDirectory}</argument>
  38. </arguments>
  39. </configuration>
  40. </execution>
  41. <execution>
  42. <id>enhanceBaseBuilder</id>
  43. <phase>process-classes</phase>
  44. <goals>
  45. <goal>java</goal>
  46. </goals>
  47. <configuration>
  48. <addOutputToClasspath>true</addOutputToClasspath>
  49. <includePluginDependencies>true</includePluginDependencies>
  50. <includeProjectDependencies>true</includeProjectDependencies>
  51. <mainClass>com.x.base.core.entity.tools.EnhanceBaseBuilder
  52. </mainClass>
  53. <arguments>
  54. <argument>${project.build.directory}</argument>
  55. <argument>${project.build.outputDirectory}</argument>
  56. </arguments>
  57. </configuration>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. <plugin>
  62. <artifactId>maven-resources-plugin</artifactId>
  63. <executions>
  64. <execution>
  65. <id>copy-jar</id>
  66. <phase>verify</phase>
  67. <goals>
  68. <goal>copy-resources</goal>
  69. </goals>
  70. <configuration>
  71. <outputDirectory>../store/jars</outputDirectory>
  72. <resources>
  73. <resource>
  74. <directory>target</directory>
  75. <includes>
  76. <include>${project.artifactId}.jar</include>
  77. </includes>
  78. </resource>
  79. </resources>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <artifactId>maven-compiler-plugin</artifactId>
  86. <executions>
  87. <execution>
  88. <phase>initialize</phase>
  89. <goals>
  90. <goal>compile</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. </project>