刘洪青 | 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-user</artifactId> |
| 13 | <packaging>jar</packaging> |
| 14 | |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 15 | <properties> |
| 16 | <start-class>com.supwisdom.leaveschool.user.UserApplication</start-class> |
| 17 | </properties> |
| 18 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 19 | <dependencies> |
| 20 | |
| 21 | <dependency> |
刘洪青 | d58bc05 | 2018-08-06 22:04:56 +0800 | [diff] [blame] | 22 | <groupId>com.supwisdom.leaveschool</groupId> |
| 23 | <artifactId>sample-common</artifactId> |
| 24 | </dependency> |
| 25 | |
| 26 | <dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 27 | <groupId>org.springframework.boot</groupId> |
| 28 | <artifactId>spring-boot-starter</artifactId> |
| 29 | </dependency> |
| 30 | |
| 31 | <!-- 微服务 健康监控 --> |
| 32 | <!-- <dependency> |
| 33 | <groupId>org.springframework.boot</groupId> |
| 34 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 35 | </dependency> --> |
| 36 | |
| 37 | <dependency> |
| 38 | <groupId>org.springframework.boot</groupId> |
| 39 | <artifactId>spring-boot-starter-web</artifactId> |
| 40 | </dependency> |
刘洪青 | d49e494 | 2018-08-03 16:08:44 +0800 | [diff] [blame] | 41 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 42 | |
| 43 | <dependency> |
| 44 | <groupId>com.supwisdom.infras</groupId> |
| 45 | <artifactId>infras-mvc</artifactId> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
| 49 | <groupId>com.supwisdom.infras</groupId> |
| 50 | <artifactId>infras-object-mapper</artifactId> |
| 51 | </dependency> |
| 52 | |
| 53 | <dependency> |
| 54 | <groupId>com.supwisdom.infras</groupId> |
| 55 | <artifactId>infras-i18n</artifactId> |
| 56 | </dependency> |
| 57 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 58 | <dependency> |
| 59 | <groupId>com.supwisdom.infras</groupId> |
| 60 | <artifactId>infras-lang</artifactId> |
| 61 | </dependency> |
| 62 | |
刘洪青 | d49e494 | 2018-08-03 16:08:44 +0800 | [diff] [blame] | 63 | <!-- |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 64 | <dependency> |
| 65 | <groupId>com.supwisdom.infras</groupId> |
| 66 | <artifactId>infras-pinyin</artifactId> |
| 67 | </dependency> |
| 68 | --> |
| 69 | |
刘洪青 | 9958726 | 2018-08-06 17:08:09 +0800 | [diff] [blame] | 70 | <dependency> |
刘洪青 | d6c4038 | 2018-08-10 16:10:28 +0800 | [diff] [blame] | 71 | <groupId>org.springframework.security</groupId> |
| 72 | <artifactId>spring-security-core</artifactId> |
| 73 | </dependency> |
| 74 | |
| 75 | <dependency> |
刘洪青 | 9958726 | 2018-08-06 17:08:09 +0800 | [diff] [blame] | 76 | <groupId>mysql</groupId> |
| 77 | <artifactId>mysql-connector-java</artifactId> |
刘洪青 | d6c4038 | 2018-08-10 16:10:28 +0800 | [diff] [blame] | 78 | <scope>runtime</scope> |
刘洪青 | 9958726 | 2018-08-06 17:08:09 +0800 | [diff] [blame] | 79 | </dependency> |
| 80 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 81 | <!-- Test things --> |
| 82 | <dependency> |
| 83 | <groupId>org.testng</groupId> |
| 84 | <artifactId>testng</artifactId> |
| 85 | <scope>test</scope> |
| 86 | </dependency> |
| 87 | |
| 88 | <dependency> |
| 89 | <groupId>org.springframework.boot</groupId> |
| 90 | <artifactId>spring-boot-starter-test</artifactId> |
| 91 | <scope>test</scope> |
| 92 | </dependency> |
| 93 | |
刘洪青 | d6c4038 | 2018-08-10 16:10:28 +0800 | [diff] [blame] | 94 | <dependency> |
| 95 | <groupId>com.h2database</groupId> |
| 96 | <artifactId>h2</artifactId> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
| 99 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 100 | </dependencies> |
| 101 | |
| 102 | <build> |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 103 | <finalName>${project.artifactId}</finalName> |
| 104 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 105 | <plugins> |
| 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <artifactId>maven-compiler-plugin</artifactId> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-failsafe-plugin</artifactId> |
| 113 | </plugin> |
| 114 | <plugin> |
| 115 | <groupId>org.apache.maven.plugins</groupId> |
| 116 | <artifactId>maven-javadoc-plugin</artifactId> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-release-plugin</artifactId> |
| 121 | </plugin> |
| 122 | <plugin> |
| 123 | <groupId>org.jacoco</groupId> |
| 124 | <artifactId>jacoco-maven-plugin</artifactId> |
| 125 | </plugin> |
| 126 | </plugins> |
| 127 | </build> |
| 128 | |
刘洪青 | 342bc5e | 2018-08-20 14:12:38 +0800 | [diff] [blame] | 129 | <profiles> |
| 130 | <profile> |
| 131 | <id>boot</id> |
| 132 | <build> |
| 133 | <plugins> |
| 134 | <plugin> |
| 135 | <groupId>org.springframework.boot</groupId> |
| 136 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
| 140 | </profile> |
| 141 | </profiles> |
| 142 | |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 143 | </project> |