pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_console</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_bbs_core_entity</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>o2oa</groupId>
  25. <artifactId>x_program_center_core_entity</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>o2oa</groupId>
  29. <artifactId>x_cms_core_entity</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>o2oa</groupId>
  33. <artifactId>x_processplatform_core_entity</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>o2oa</groupId>
  37. <artifactId>x_query_core_entity</artifactId>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-jar-plugin</artifactId>
  45. <version>3.1.0</version>
  46. <configuration>
  47. <archive>
  48. <manifest>
  49. <addClasspath>false</addClasspath>
  50. <mainClass>com.x.server.console.Main</mainClass>
  51. </manifest>
  52. </archive>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>com.coderplus.maven.plugins</groupId>
  57. <artifactId>copy-rename-maven-plugin</artifactId>
  58. <version>1.0</version>
  59. <executions>
  60. <execution>
  61. <phase>verify</phase>
  62. <goals>
  63. <goal>copy</goal>
  64. </goals>
  65. <configuration>
  66. <sourceFile>target/${project.artifactId}.jar</sourceFile>
  67. <destinationFile>../console.jar</destinationFile>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>