pom.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.yihu</groupId>
  7. <artifactId>jw-lib-parent-pom</artifactId>
  8. <version>1.0.0</version>
  9. <packaging>pom</packaging>
  10. <developers>
  11. <developer>
  12. <id>cwd</id>
  13. <name>陈伟达</name>
  14. <email>494679975@qq.com</email>
  15. <organizationUrl>localhost</organizationUrl>
  16. <roles>
  17. <role>Project programmer</role>
  18. </roles>
  19. </developer>
  20. </developers>
  21. <modules>
  22. <module>../svr-configuration</module> <!--配置服务-->
  23. <module>../svr-discovery</module><!--发现服务-->
  24. </modules>
  25. <properties>
  26. <version.springCloud>1.3.0.RELEASE</version.springCloud>
  27. <version.springBoot>1.5.3.RELEASE</version.springBoot>
  28. </properties>
  29. <!--dependencyManagement作用子配置不写版本默认继承父配置-->
  30. <dependencyManagement>
  31. <dependencies>
  32. <!--springCloud start-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-eureka-server</artifactId>
  36. <version>${version.springCloud}</version>
  37. </dependency>
  38. <!--springCloud end-->
  39. <!--springBoot start-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot</artifactId>
  43. <version>${version.springBoot}</version>
  44. </dependency>
  45. <!--springBoot end-->
  46. </dependencies>
  47. </dependencyManagement>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-compiler-plugin</artifactId>
  57. <configuration>
  58. <source>1.8</source>
  59. <target>1.8</target>
  60. </configuration>
  61. <version>3.1</version>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>