|
| 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/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>org.example</groupId> |
| 5 | + <artifactId>qiushui</artifactId> |
| 6 | + <version>1.0-SNAPSHOT</version> |
| 7 | + <packaging>har</packaging> |
| 8 | + <properties> |
| 9 | + <!-- 指定jdk版本 --> |
| 10 | + <java.version>1.8</java.version> |
| 11 | + <!-- druid连接池版本 --> |
| 12 | + <druid.version>1.1.17</druid.version> |
| 13 | + <maven.compiler.source>8</maven.compiler.source> |
| 14 | + <maven.compiler.target>8</maven.compiler.target> |
| 15 | + <asm.version>9.2</asm.version> |
| 16 | + <project.build.sourceEncoding> |
| 17 | + UTF-8 |
| 18 | + </project.build.sourceEncoding> |
| 19 | + </properties> |
| 20 | + <parent> |
| 21 | + <groupId>org.springframework.boot</groupId> |
| 22 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 23 | + <version>2.2.4.RELEASE</version> |
| 24 | + <relativePath/> <!-- lookup parent from repository --> |
| 25 | + </parent> |
| 26 | + <dependencies> |
| 27 | + <dependency> |
| 28 | + <groupId>com.alibaba</groupId> |
| 29 | + <artifactId>druid-spring-boot-starter</artifactId> |
| 30 | + <!-- 对应properties中的<druid.version> --> |
| 31 | + <version>${druid.version}</version> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>org.springframework.boot</groupId> |
| 35 | + <artifactId>spring-boot-starter</artifactId> |
| 36 | + </dependency> |
| 37 | + <!-- 测试依赖 --> |
| 38 | + <dependency> |
| 39 | + <groupId>org.springframework.boot</groupId> |
| 40 | + <artifactId>spring-boot-starter-test</artifactId> |
| 41 | + <scope>test</scope> |
| 42 | + <exclusions> |
| 43 | + <exclusion> |
| 44 | + <groupId>org.junit.vintage</groupId> |
| 45 | + <artifactId>junit-vintage-engine</artifactId> |
| 46 | + </exclusion> |
| 47 | + </exclusions> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>junit</groupId> |
| 51 | + <artifactId>junit</artifactId> |
| 52 | + <version>4.13.2</version> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.dom4j</groupId> |
| 57 | + <artifactId>dom4j</artifactId> |
| 58 | + <version>2.1.3</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.slf4j</groupId> |
| 62 | + <artifactId>slf4j-log4j12</artifactId> |
| 63 | + <version>1.7.33</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>com.beust</groupId> |
| 67 | + <artifactId>jcommander</artifactId> |
| 68 | + <version>1.82</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.ow2.asm</groupId> |
| 72 | + <artifactId>asm</artifactId> |
| 73 | + <version>${asm.version}</version> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>org.ow2.asm</groupId> |
| 77 | + <artifactId>asm-commons</artifactId> |
| 78 | + <version>${asm.version}</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>com.google.guava</groupId> |
| 82 | + <artifactId>guava</artifactId> |
| 83 | + <version>31.0.1-jre</version> |
| 84 | + </dependency> |
| 85 | + <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina --> |
| 86 | + <dependency> |
| 87 | + <groupId>org.apache.tomcat</groupId> |
| 88 | + <artifactId>tomcat-catalina</artifactId> |
| 89 | + <version>9.0.55</version> |
| 90 | + <scope>provided</scope> |
| 91 | + </dependency> |
| 92 | + <!-- https://mvnrepository.com/artifact/org.apache.tomcat/jasper --> |
| 93 | + <dependency> |
| 94 | + <groupId>org.apache.tomcat</groupId> |
| 95 | + <artifactId>jasper</artifactId> |
| 96 | + <version>6.0.32</version> |
| 97 | + </dependency> |
| 98 | + <!-- https://mvnrepository.com/artifact/org.apache.ant/ant --> |
| 99 | + <dependency> |
| 100 | + <groupId>org.apache.ant</groupId> |
| 101 | + <artifactId>ant</artifactId> |
| 102 | + <version>1.8.2</version> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>org.reflections</groupId> |
| 106 | + <artifactId>reflections</artifactId> |
| 107 | + <version>0.10.2</version> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + <build> |
| 111 | + <plugins> |
| 112 | + <plugin> |
| 113 | + <groupId>org.springframework.boot</groupId> |
| 114 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <artifactId>maven-compiler-plugin</artifactId> |
| 118 | + <configuration> |
| 119 | + <source>1.5</source> |
| 120 | + <target>1.5</target> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <groupId>net.sf.maven-har</groupId> |
| 125 | + <artifactId>maven-har-plugin</artifactId> |
| 126 | + <version>0.9</version> |
| 127 | + <extensions>true</extensions> |
| 128 | + </plugin> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-compiler-plugin</artifactId> |
| 132 | + <configuration> |
| 133 | + <source>8</source> |
| 134 | + <target>8</target> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + </plugins> |
| 138 | + </build> |
| 139 | +</project> |
0 commit comments