刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | 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 | |
| 5 | <parent> |
| 6 | <groupId>com.supwisdom.leaveschool</groupId> |
| 7 | <artifactId>samples-parent</artifactId> |
| 8 | <version>0.0.1-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <groupId>com.supwisdom.leaveschool</groupId> |
| 12 | <artifactId>sample-client</artifactId> |
| 13 | <packaging>jar</packaging> |
| 14 | |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 15 | <properties> |
| 16 | <start-class>com.supwisdom.leaveschool.client.ClientApplication</start-class> |
| 17 | </properties> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 18 | |
| 19 | <dependencies> |
| 20 | |
| 21 | <dependency> |
| 22 | <groupId>org.springframework.boot</groupId> |
| 23 | <artifactId>spring-boot-starter</artifactId> |
| 24 | </dependency> |
| 25 | |
| 26 | <!-- 微服务 健康监控 --> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 27 | <dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 28 | <groupId>org.springframework.boot</groupId> |
| 29 | <artifactId>spring-boot-starter-actuator</artifactId> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 30 | </dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 31 | |
| 32 | <dependency> |
| 33 | <groupId>org.springframework.boot</groupId> |
| 34 | <artifactId>spring-boot-starter-web</artifactId> |
| 35 | </dependency> |
| 36 | |
| 37 | |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 38 | <!-- <dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 39 | <groupId>com.supwisdom.infras</groupId> |
| 40 | <artifactId>infras-mvc</artifactId> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
| 44 | <groupId>com.supwisdom.infras</groupId> |
| 45 | <artifactId>infras-object-mapper</artifactId> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
| 49 | <groupId>com.supwisdom.infras</groupId> |
| 50 | <artifactId>infras-i18n</artifactId> |
| 51 | </dependency> |
| 52 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 53 | <dependency> |
| 54 | <groupId>com.supwisdom.infras</groupId> |
| 55 | <artifactId>infras-lang</artifactId> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
| 59 | <groupId>com.supwisdom.infras</groupId> |
| 60 | <artifactId>infras-pinyin</artifactId> |
| 61 | </dependency> |
| 62 | --> |
| 63 | |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>com.supwisdom.infras</groupId> |
| 67 | <artifactId>infras-security</artifactId> |
| 68 | </dependency> |
| 69 | |
| 70 | <!-- <dependency> |
| 71 | <groupId>org.springframework.security</groupId> |
| 72 | <artifactId>spring-security-cas</artifactId> |
| 73 | </dependency> --> |
| 74 | |
| 75 | |
| 76 | <dependency> |
| 77 | <groupId>org.springframework.boot</groupId> |
| 78 | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>org.thymeleaf.extras</groupId> |
| 82 | <artifactId>thymeleaf-extras-springsecurity4</artifactId> |
| 83 | </dependency> |
| 84 | |
| 85 | |
| 86 | |
| 87 | <!-- <dependency> |
| 88 | <groupId>org.springframework.cloud</groupId> |
| 89 | <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
| 90 | </dependency> --> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>org.springframework.cloud</groupId> |
| 94 | <artifactId>spring-cloud-starter-openfeign</artifactId> |
| 95 | </dependency> |
| 96 | |
| 97 | <dependency> |
| 98 | <groupId>org.springframework.cloud</groupId> |
| 99 | <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
| 100 | </dependency> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 101 | <dependency> |
| 102 | <groupId>org.springframework.cloud</groupId> |
| 103 | <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> |
| 104 | </dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 105 | |
| 106 | |
刘洪青 | 18c9332 | 2018-08-03 18:27:29 +0800 | [diff] [blame] | 107 | <dependency> |
| 108 | <groupId>org.json</groupId> |
| 109 | <artifactId>json</artifactId> |
| 110 | </dependency> |
| 111 | |
| 112 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 113 | <!-- Test things --> |
| 114 | <dependency> |
| 115 | <groupId>org.testng</groupId> |
| 116 | <artifactId>testng</artifactId> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | |
| 120 | <dependency> |
| 121 | <groupId>org.springframework.boot</groupId> |
| 122 | <artifactId>spring-boot-starter-test</artifactId> |
| 123 | <scope>test</scope> |
| 124 | </dependency> |
| 125 | |
| 126 | </dependencies> |
| 127 | |
| 128 | <build> |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 129 | <finalName>${project.artifactId}</finalName> |
| 130 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 131 | <plugins> |
| 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-compiler-plugin</artifactId> |
| 135 | </plugin> |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-failsafe-plugin</artifactId> |
| 139 | </plugin> |
| 140 | <plugin> |
| 141 | <groupId>org.apache.maven.plugins</groupId> |
| 142 | <artifactId>maven-javadoc-plugin</artifactId> |
| 143 | </plugin> |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-release-plugin</artifactId> |
| 147 | </plugin> |
| 148 | <plugin> |
| 149 | <groupId>org.jacoco</groupId> |
| 150 | <artifactId>jacoco-maven-plugin</artifactId> |
| 151 | </plugin> |
| 152 | </plugins> |
| 153 | </build> |
| 154 | |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 155 | <profiles> |
| 156 | <profile> |
| 157 | <id>boot</id> |
| 158 | <build> |
| 159 | <plugins> |
| 160 | <plugin> |
| 161 | <groupId>org.springframework.boot</groupId> |
| 162 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 163 | </plugin> |
| 164 | </plugins> |
| 165 | </build> |
| 166 | </profile> |
| 167 | </profiles> |
| 168 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 169 | </project> |