pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. <artifactId>jolokia-admin</artifactId>
  6. <groupId>com.yihu</groupId>
  7. <version>1.0.0</version>
  8. <modelVersion>4.0.0</modelVersion>
  9. <properties>
  10. <version.spring-framework>4.2.5.RELEASE</version.spring-framework>
  11. <version.spring-boot>1.3.5.RELEASE</version.spring-boot>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>de.codecentric</groupId>
  16. <artifactId>spring-boot-admin-server</artifactId>
  17. <version>1.3.5</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>de.codecentric</groupId>
  21. <artifactId>spring-boot-admin-server-ui</artifactId>
  22. <version>1.3.5</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-actuator-docs</artifactId>
  27. <version>${version.spring-boot}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-actuator</artifactId>
  32. <version>${version.spring-boot}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-context</artifactId>
  37. <version>${version.spring-framework}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-aop</artifactId>
  42. <version>${version.spring-boot}</version>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <finalName>jolokia-admin</finalName>
  47. <plugins>
  48. <!--springboot插件 start-->
  49. <plugin>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-maven-plugin</artifactId>
  52. <executions>
  53. <execution>
  54. <goals>
  55. <goal>repackage</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. <!--springboot插件 en-->
  61. <!--编译插件 start-->
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <configuration>
  66. <source>1.8</source>
  67. <target>1.8</target>
  68. </configuration>
  69. <version>3.1</version>
  70. </plugin>
  71. <!--编译插件 end-->
  72. </plugins>
  73. </build>
  74. </project>