pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.1.0.RELEASE</version>
  8. <relativePath/>
  9. </parent>
  10. <groupId>xiugou</groupId>
  11. <artifactId>x1-project</artifactId>
  12. <packaging>pom</packaging>
  13. <version>0.0.1</version>
  14. <modules>
  15. <module>gaming</module>
  16. <module>x1-protobuf</module>
  17. <module>x1-battle</module>
  18. <module>x1-design</module>
  19. <module>x1-pojo</module>
  20. <module>x1-game-server</module>
  21. <module>x1-backstage</module>
  22. <module>x1-cross-server</module>
  23. </modules>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <project.build.jdk>1.8</project.build.jdk>
  27. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  28. <maven.compiler.source>1.8</maven.compiler.source>
  29. <maven.compiler.target>1.8</maven.compiler.target>
  30. <gaming.version>0.0.1</gaming.version>
  31. <xiugou.x1.version>0.0.1</xiugou.x1.version>
  32. </properties>
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>game</groupId>
  37. <artifactId>gaming-agent</artifactId>
  38. <version>${gaming.version}</version>
  39. </dependency>
  40. </dependencies>
  41. </dependencyManagement>
  42. <build>
  43. <plugins>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-compiler-plugin</artifactId>
  47. <configuration>
  48. <source>1.8</source>
  49. <target>1.8</target>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-dependency-plugin</artifactId>
  55. <executions>
  56. <execution>
  57. <id>copy-thirds</id>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>copy-dependencies</goal>
  61. </goals>
  62. <!-- 把第三方的jar拷贝在common-libs目录下 -->
  63. <configuration>
  64. <echo message="${project.build.directory}"/>
  65. <outputDirectory>${project.build.directory}/common-libs</outputDirectory>
  66. <outputDirectory>./common-libs</outputDirectory>
  67. <excludeGroupIds>game,xiugou,gaming-project</excludeGroupIds>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>