204 lines
6.8 KiB
Plaintext
204 lines
6.8 KiB
Plaintext
{
|
|
"guava": {
|
|
"scope": "xml",
|
|
"prefix": "guava",
|
|
"body": [
|
|
"<dependency>",
|
|
"\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>"
|
|
],
|
|
},
|
|
"apache-commons": {
|
|
"scope": "xml",
|
|
"prefix": "apache-commons",
|
|
"body": [
|
|
"<dependency>",
|
|
"\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>",
|
|
],
|
|
},
|
|
"commons-io": {
|
|
"scope": "xml",
|
|
"prefix": "commons-io",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>commons-io</groupId>",
|
|
"\t<artifactId>commons-io</artifactId>",
|
|
"\t<version>${commons-io.version}</version>",
|
|
"</dependency>",
|
|
],
|
|
},
|
|
"Apache Commons Crypto": {
|
|
"scope": "xml",
|
|
"prefix": "commons-crypto",
|
|
"body": [
|
|
"<dependency>",
|
|
"\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>",
|
|
"\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>",
|
|
],
|
|
},
|
|
"mybatis-spring-boot-starter": {
|
|
"scope": "xml",
|
|
"prefix": "mybatis-spring-boot-starter",
|
|
"body": [
|
|
"<dependency>",
|
|
"\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>",
|
|
],
|
|
},
|
|
"mapstruct": {
|
|
"scope": "xml",
|
|
"prefix": "mapstruct",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>org.mapstruct</groupId>",
|
|
"\t<artifactId>mapstruct</artifactId>",
|
|
"\t<version>${mapstruct.version}</version>",
|
|
"</dependency>",
|
|
"<dependency>",
|
|
"\t<groupId>org.mapstruct</groupId>",
|
|
"\t<artifactId>mapstruct-processor</artifactId>",
|
|
"\t<version>${mapstruct.version}</version>",
|
|
"</dependency>",
|
|
],
|
|
},
|
|
"hutool": {
|
|
"scope": "xml",
|
|
"prefix": "hutool",
|
|
"body": [
|
|
"<dependency>",
|
|
"\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>",
|
|
],
|
|
},
|
|
"JUnit4": {
|
|
"scope": "xml",
|
|
"prefix": "junit4",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>junit</groupId>",
|
|
"\t<artifactId>junit</artifactId>",
|
|
"\t<version>4.11</version>",
|
|
"\t<scope>test</scope>",
|
|
"</dependency>",
|
|
]
|
|
},
|
|
"JUnit5": {
|
|
"scope": "xml",
|
|
"prefix": "junit5",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>org.junit.jupiter</groupId>",
|
|
"\t<artifactId>junit-jupiter-api</artifactId>",
|
|
"\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.12.2</version>",
|
|
"\t<scope>test</scope>",
|
|
"</dependency>",
|
|
"<dependency>",
|
|
"\t<groupId>org.junit.jupiter</groupId>",
|
|
"\t<artifactId>junit-jupiter-params</artifactId>",
|
|
"\t<version>5.12.2</version>",
|
|
"\t<scope>test</scope>",
|
|
"</dependency>",
|
|
]
|
|
},
|
|
"jsr305": {
|
|
"scope": "xml",
|
|
"prefix": "jsr305",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>com.google.code.findbugs</groupId>",
|
|
"\t<artifactId>jsr305</artifactId>",
|
|
"\t<version>${1:3.0.2}</version>$2",
|
|
"</dependency>",
|
|
]
|
|
},
|
|
"gson": {
|
|
"scope": "xml",
|
|
"prefix": "gson",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>com.google.code.gson</groupId>",
|
|
"\t<artifactId>gson</artifactId>",
|
|
"\t<version>${1:2.13.0}</version>$2",
|
|
"</dependency>",
|
|
]
|
|
},
|
|
"joda-time": {
|
|
"scope": "xml",
|
|
"prefix": "joda-time",
|
|
"body": [
|
|
"<dependency>",
|
|
"\t<groupId>joda-time</groupId>",
|
|
"\t<artifactId>joda-time</artifactId>",
|
|
"\t<version>${1:2.14.0}</version>",
|
|
"</dependency>",
|
|
]
|
|
},
|
|
"maven-shade-plugin": {
|
|
"scope": "xml",
|
|
"prefix": "maven-shade-plugin",
|
|
"body": [
|
|
"<plugin>",
|
|
"\t<groupId>org.apache.maven.plugins</groupId>",
|
|
"\t<artifactId>maven-shade-plugin</artifactId>",
|
|
"\t<version>${1:3.2.4}</version>",
|
|
"\t<executions>",
|
|
"\t\t<execution>",
|
|
"\t\t\t<phase>package</phase>",
|
|
"\t\t\t<goals>",
|
|
"\t\t\t\t<goal>shade</goal>",
|
|
"\t\t\t</goals>",
|
|
"\t\t\t<configuration>",
|
|
"\t\t\t\t<transformers>",
|
|
"\t\t\t\t\t<transformer",
|
|
"\t\t\t\t\t\timplementation=\"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer\">",
|
|
"\t\t\t\t\t\t<mainClass>${2:com.example.App}</mainClass>",
|
|
"\t\t\t\t\t</transformer>",
|
|
"\t\t\t\t</transformers>",
|
|
"\t\t\t</configuration>",
|
|
"\t\t</execution>",
|
|
"\t</executions>",
|
|
"</plugin>",
|
|
]
|
|
}
|
|
}
|