pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.o2oa</groupId>
  6. <artifactId>o2server</artifactId>
  7. <version>8.3</version>
  8. </parent>
  9. <artifactId>x_console</artifactId>
  10. <packaging>jar</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>net.o2oa</groupId>
  14. <artifactId>x_base_core_project</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>net.o2oa</groupId>
  18. <artifactId>x_bbs_core_entity</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>net.o2oa</groupId>
  22. <artifactId>x_program_center_core_entity</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>net.o2oa</groupId>
  26. <artifactId>x_organization_core_entity</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>net.o2oa</groupId>
  30. <artifactId>x_cms_core_entity</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>net.o2oa</groupId>
  34. <artifactId>x_processplatform_core_entity</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>net.o2oa</groupId>
  38. <artifactId>x_query_core_entity</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>net.o2oa</groupId>
  42. <artifactId>x_message_core_entity</artifactId>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-jar-plugin</artifactId>
  50. <version>3.2.0</version>
  51. <configuration>
  52. <archive>
  53. <manifest>
  54. <addClasspath>false</addClasspath>
  55. <mainClass>com.x.server.console.Main</mainClass>
  56. </manifest>
  57. <manifestEntries>
  58. <Premain-Class>com.x.server.console.InstrumentationAgent</Premain-Class>
  59. </manifestEntries>
  60. </archive>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>com.coderplus.maven.plugins</groupId>
  65. <artifactId>copy-rename-maven-plugin</artifactId>
  66. <version>1.0.1</version>
  67. <executions>
  68. <execution>
  69. <phase>verify</phase>
  70. <goals>
  71. <goal>copy</goal>
  72. </goals>
  73. <configuration>
  74. <sourceFile>target/${project.artifactId}.jar</sourceFile>
  75. <destinationFile>../console.jar</destinationFile>
  76. </configuration>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.codehaus.mojo</groupId>
  82. <artifactId>exec-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <id>packageO2server</id>
  86. <phase>install</phase>
  87. <goals>
  88. <goal>java</goal>
  89. </goals>
  90. <configuration>
  91. <addOutputToClasspath>true</addOutputToClasspath>
  92. <cleanupDaemonThreads>false</cleanupDaemonThreads>
  93. <includePluginDependencies>true</includePluginDependencies>
  94. <includeProjectDependencies>true</includeProjectDependencies>
  95. <mainClass>com.x.base.core.project.build.PackageO2server
  96. </mainClass>
  97. <arguments>
  98. <argument>${basedir}</argument>
  99. </arguments>
  100. </configuration>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>