刘洪青 | 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 | |
刘洪青 | 3911ae0 | 2018-08-21 16:38:25 +0800 | [diff] [blame] | 70 | <!-- |
| 71 | <dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 72 | <groupId>org.springframework.security</groupId> |
| 73 | <artifactId>spring-security-cas</artifactId> |
刘洪青 | 3911ae0 | 2018-08-21 16:38:25 +0800 | [diff] [blame] | 74 | </dependency> |
| 75 | --> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 76 | |
刘洪青 | 3911ae0 | 2018-08-21 16:38:25 +0800 | [diff] [blame] | 77 | <dependency> |
| 78 | <groupId>org.springframework.security.oauth.boot</groupId> |
| 79 | <artifactId>spring-security-oauth2-autoconfigure</artifactId> |
| 80 | </dependency> |
| 81 | |
| 82 | <!-- <dependency> |
| 83 | <groupId>org.springframework.security.oauth</groupId> |
| 84 | <artifactId>spring-security-oauth2</artifactId> |
| 85 | </dependency> --> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 86 | |
| 87 | <dependency> |
| 88 | <groupId>org.springframework.boot</groupId> |
| 89 | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.thymeleaf.extras</groupId> |
| 93 | <artifactId>thymeleaf-extras-springsecurity4</artifactId> |
| 94 | </dependency> |
| 95 | |
| 96 | |
| 97 | |
| 98 | <!-- <dependency> |
| 99 | <groupId>org.springframework.cloud</groupId> |
| 100 | <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
| 101 | </dependency> --> |
| 102 | |
| 103 | <dependency> |
| 104 | <groupId>org.springframework.cloud</groupId> |
| 105 | <artifactId>spring-cloud-starter-openfeign</artifactId> |
| 106 | </dependency> |
| 107 | |
| 108 | <dependency> |
| 109 | <groupId>org.springframework.cloud</groupId> |
| 110 | <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
| 111 | </dependency> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 112 | <dependency> |
| 113 | <groupId>org.springframework.cloud</groupId> |
| 114 | <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> |
| 115 | </dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 116 | |
| 117 | |
刘洪青 | 18c9332 | 2018-08-03 18:27:29 +0800 | [diff] [blame] | 118 | <dependency> |
| 119 | <groupId>org.json</groupId> |
| 120 | <artifactId>json</artifactId> |
| 121 | </dependency> |
| 122 | |
| 123 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 124 | <!-- Test things --> |
| 125 | <dependency> |
| 126 | <groupId>org.testng</groupId> |
| 127 | <artifactId>testng</artifactId> |
| 128 | <scope>test</scope> |
| 129 | </dependency> |
| 130 | |
| 131 | <dependency> |
| 132 | <groupId>org.springframework.boot</groupId> |
| 133 | <artifactId>spring-boot-starter-test</artifactId> |
| 134 | <scope>test</scope> |
| 135 | </dependency> |
| 136 | |
| 137 | </dependencies> |
| 138 | |
| 139 | <build> |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 140 | <finalName>${project.artifactId}</finalName> |
| 141 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 142 | <plugins> |
| 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-compiler-plugin</artifactId> |
| 146 | </plugin> |
| 147 | <plugin> |
| 148 | <groupId>org.apache.maven.plugins</groupId> |
| 149 | <artifactId>maven-failsafe-plugin</artifactId> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <groupId>org.apache.maven.plugins</groupId> |
| 153 | <artifactId>maven-javadoc-plugin</artifactId> |
| 154 | </plugin> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-release-plugin</artifactId> |
| 158 | </plugin> |
| 159 | <plugin> |
| 160 | <groupId>org.jacoco</groupId> |
| 161 | <artifactId>jacoco-maven-plugin</artifactId> |
| 162 | </plugin> |
| 163 | </plugins> |
| 164 | </build> |
| 165 | |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 166 | <profiles> |
| 167 | <profile> |
| 168 | <id>boot</id> |
| 169 | <build> |
| 170 | <plugins> |
| 171 | <plugin> |
| 172 | <groupId>org.springframework.boot</groupId> |
| 173 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 174 | </plugin> |
| 175 | </plugins> |
| 176 | </build> |
| 177 | </profile> |
| 178 | </profiles> |
| 179 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 180 | </project> |