This commit is contained in:
2025-04-18 18:46:14 +08:00
parent 62d1c7a378
commit 049713b40c
2 changed files with 45 additions and 33 deletions

View File

@@ -4,9 +4,9 @@
"prefix": "guava",
"body": [
"<dependency>",
" <groupId>com.google.guava</groupId>",
" <artifactId>guava</artifactId>",
" ${1:<version>${2|${guava.version},33.2.1-jre|}</version>}${3:\n\t<optional>true</optional>}",
"\t<groupId>com.google.guava</groupId>",
"\t<artifactId>guava</artifactId>",
"\t${1:<version>${2|${guava.version},33.4.8-jre,33.4.2-jre|}</version>}${3:\n\t<optional>true</optional>}",
"</dependency>"
],
},
@@ -15,9 +15,9 @@
"prefix": "apache-commons",
"body": [
"<dependency>",
" <groupId>org.apache.commons</groupId>",
" <artifactId>${1|commons-lang3,commons-collections4,commons-math3,commons-pool2|}</artifactId>",
" <version>${${1|commons-lang3,commons-collections4,commons-math3,commons-pool2|}.version}</version>",
"\t<groupId>org.apache.commons</groupId>",
"\t<artifactId>${1|commons-lang3,commons-collections4,commons-math3,commons-pool2|}</artifactId>",
"\t<version>${${1|commons-lang3,commons-collections4,commons-math3,commons-pool2|}.version}</version>",
"</dependency>",
],
},
@@ -26,9 +26,9 @@
"prefix": "commons-io",
"body": [
"<dependency>",
" <groupId>commons-io</groupId>",
" <artifactId>commons-io</artifactId>",
" <version>${commons-io.version}</version>",
"\t<groupId>commons-io</groupId>",
"\t<artifactId>commons-io</artifactId>",
"\t<version>${commons-io.version}</version>",
"</dependency>",
],
},
@@ -37,20 +37,21 @@
"prefix": "commons-crypto",
"body": [
"<dependency>",
" <groupId>org.apache.commons</groupId>",
" <artifactId>commons-crypto</artifactId>",
" <version>1.2.0</version>",
"\t<groupId>org.apache.commons</groupId>",
"\t<artifactId>commons-crypto</artifactId>",
"\t<version>1.2.0</version>",
"</dependency>",
],
"description": "加密库"
},
"mica-xss": {
"scope": "xml",
"prefix": "mica-xss",
"body": [
"<dependency>",
" <groupId>net.dreamlu</groupId>",
" <artifactId>mica-xss</artifactId>",
" <version>${1|${mica-xss.version},2.7.18.6,3.3.2|}</version>",
"\t<groupId>net.dreamlu</groupId>",
"\t<artifactId>mica-xss</artifactId>",
"\t<version>${1|${mica-xss.version},2.7.18.9,3.4.4|}</version>",
"</dependency>",
],
},
@@ -59,9 +60,20 @@
"prefix": "mybatis-spring-boot-starter",
"body": [
"<dependency>",
" <groupId>org.mybatis.spring.boot</groupId>",
" <artifactId>mybatis-spring-boot-starter</artifactId>",
" <version>${mybatis-starter.version}</version>",
"\t<groupId>org.mybatis.spring.boot</groupId>",
"\t<artifactId>mybatis-spring-boot-starter</artifactId>",
"\t<version>${mybatis-starter.version}</version>",
"</dependency>",
],
},
"mybatis-plus": {
"scope": "xml",
"prefix": "mybatis-plus",
"body": [
"<dependency>",
"\t<groupId>com.baomidou</groupId>",
"\t<artifactId>${1|mybatis-plus,mybatis-plus-boot-starter,mybatis-plus-spring-boot3-starter|}</artifactId>",
"\t<version>${2|3.5.11,${mybatis-plus.version}|}</version>",
"</dependency>",
],
},
@@ -70,14 +82,14 @@
"prefix": "mapstruct",
"body": [
"<dependency>",
" <groupId>org.mapstruct</groupId>",
" <artifactId>mapstruct</artifactId>",
" <version>${mapstruct.version}</version>",
"\t<groupId>org.mapstruct</groupId>",
"\t<artifactId>mapstruct</artifactId>",
"\t<version>${mapstruct.version}</version>",
"</dependency>",
"<dependency>",
" <groupId>org.mapstruct</groupId>",
" <artifactId>mapstruct-processor</artifactId>",
" <version>${mapstruct.version}</version>",
"\t<groupId>org.mapstruct</groupId>",
"\t<artifactId>mapstruct-processor</artifactId>",
"\t<version>${mapstruct.version}</version>",
"</dependency>",
],
},
@@ -86,9 +98,9 @@
"prefix": "hutool",
"body": [
"<dependency>",
" <groupId>cn.hutool</groupId>",
" <artifactId>${1|hutool-core,hutool-crypto,hutool-captcha,hutool-json,hutool-poi,hutool-jwt,hutool-aop,hutool-bloomFilter,hutool-cache,hutool-cron,hutool-db,hutool-dfa,hutool-extra,hutool-http,hutool-log,hutool-script,hutool-setting,hutool-system,hutool-socket|}</artifactId>",
" <version>${hutool.version}</version>",
"\t<groupId>cn.hutool</groupId>",
"\t<artifactId>${1|hutool-core,hutool-crypto,hutool-captcha,hutool-json,hutool-poi,hutool-jwt,hutool-aop,hutool-bloomFilter,hutool-cache,hutool-cron,hutool-db,hutool-dfa,hutool-extra,hutool-http,hutool-log,hutool-script,hutool-setting,hutool-system,hutool-socket|}</artifactId>",
"\t<version>${hutool.version}</version>",
"</dependency>",
],
},
@@ -111,19 +123,19 @@
"<dependency>",
"\t<groupId>org.junit.jupiter</groupId>",
"\t<artifactId>junit-jupiter-api</artifactId>",
"\t<version>5.9.2</version>",
"\t<version>5.12.2/version>",
"\t<scope>test</scope>",
"</dependency>",
"<dependency>",
"\t<groupId>org.junit.jupiter</groupId>",
"\t<artifactId>junit-jupiter-engine</artifactId>",
"\t<version>5.9.2</version>",
"\t<version>5.12.2/version>",
"\t<scope>test</scope>",
"</dependency>",
"<dependency>",
"\t<groupId>org.junit.jupiter</groupId>",
"\t<artifactId>junit-jupiter-params</artifactId>",
"\t<version>5.9.2</version>",
"\t<version>5.12.2/version>",
"\t<scope>test</scope>",
"</dependency>",
]
@@ -146,7 +158,7 @@
"<dependency>",
"\t<groupId>com.google.code.gson</groupId>",
"\t<artifactId>gson</artifactId>",
"\t<version>${1:2.11.0}</version>$2",
"\t<version>${1:2.13.0}</version>$2",
"</dependency>",
]
},
@@ -157,7 +169,7 @@
"<dependency>",
"\t<groupId>joda-time</groupId>",
"\t<artifactId>joda-time</artifactId>",
"\t<version>${1:2.12.7}</version>",
"\t<version>${1:2.14.0}</version>",
"</dependency>",
]
},