chillrain-cache
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.chill-rain</groupId> <artifactId>chillrain-cache</artifactId> <version>1.1-FIX</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.chill-rain</groupId> <artifactId>chillrain-cache</artifactId> <version>1.1-FIX</version> <description>chillrain的cache</description> <properties> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <serverId>central</serverId><!-- 服务id 也就是setting.xml中的servers.server.id --> <java.version>17</java.version> <github.global.server>github</github.global.server> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>com.alibaba.fastjson2</groupId> <artifactId>fastjson2</artifactId> <version>2.0.43</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> <version>2.0.7</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.30</version> <scope>provided</scope> </dependency> </dependencies> <build> <!-- 此tag下面的所有plugins都是关于上传jar包的依赖 --> <!-- <plugins>--> <!-- <plugin>--> <!-- <groupId>org.apache.maven.plugins</groupId>--> <!-- <artifactId>maven-jar-plugin</artifactId>--> <!-- </plugin>--> <!-- <plugin>--> <!-- <groupId>org.apache.maven.plugins</groupId>--> <!-- <artifactId>maven-compiler-plugin</artifactId>--> <!-- <version>3.5.1</version>--> <!--<!– <configuration>–>--> <!--<!– <source>17</source> <!– 你的 Java 版本 –>–>--> <!--<!– <target>17</target> <!– 你的 Java 版本 –>–>--> <!--<!– <annotationProcessorPaths>–>--> <!--<!– <path>–>--> <!--<!– <groupId>org.projectlombok</groupId>–>--> <!--<!– <artifactId>lombok</artifactId>–>--> <!--<!– <version>1.18.30</version>–>--> <!--<!– </path>–>--> <!--<!– </annotationProcessorPaths>–>--> <!--<!– </configuration>–>--> <!-- </plugin>--> <!-- <plugin>--> <!-- <artifactId>maven-deploy-plugin</artifactId>--> <!-- <configuration>--> <!-- <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo--> <!-- </altDeploymentRepository>--> <!-- </configuration>--> <!-- </plugin>--> <!-- <!–2.作用:将本地存储库位置的jar文件发布到github上–>--> <!-- <plugin>--> <!-- <groupId>com.github.github</groupId>--> <!-- <artifactId>site-maven-plugin</artifactId>--> <!-- <version>0.12</version>--> <!-- <configuration>--> <!-- <message>Maven artifacts for ${project.version}</message>--> <!-- <noJekyll>true</noJekyll>--> <!-- <!–本地jar相关文件地址,与上方配置储存库位置(altDeploymentRepository)保持一致–>--> <!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>--> <!-- <!–配置上传到github哪个分支,此处配置格式必须以refs/heads/+分支名称–>--> <!-- <branch>refs/heads/main</branch>--> <!-- <merge>true</merge>--> <!-- <includes>--> <!-- <include>**/*</include>--> <!-- </includes>--> <!-- <!–对应github上创建的仓库名称 name–>--> <!-- <repositoryName>repository</repositoryName>--> <!-- <!–github 仓库所有者即登录用户名–>--> <!-- <repositoryOwner>Chill-Rain</repositoryOwner>--> <!-- </configuration>--> <!-- <executions>--> <!-- <execution>--> <!-- <goals>--> <!-- <goal>site</goal>--> <!-- </goals>--> <!-- <phase>deploy</phase>--> <!-- </execution>--> <!-- </executions>--> <!-- </plugin>--> <!-- </plugins>--> <plugins> <!-- 编译插件,设置源码以及编译的jdk版本 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> </configuration> </plugin> <!-- Source --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc --> <!-- Gpg Signature --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- 老账号的配置:Gpg Signature --> <!--将组件部署到OSSRH并将其发布到Central Repository--> <!--<plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>${serverId}</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin>--> <!--新账号的配置:将组件部署到OSSRH并将其发布到Central Repository--> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <tokenAuth>true</tokenAuth> </configuration> </plugin> </plugins> </build> <distributionManagement> <snapshotRepository> <!-- 与settings.xml的server.id保持一致 --> <id>${serverId}</id> <url>https://central.sonatype.com/</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>aliyunmaven</id> <name>阿里云公共仓库</name> <url>https://maven.aliyun.com/repository/public</url> </repository> <repository> <id>sonatype-oss-snapshots</id> <name>Sonatype OSS Snapshots Repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository> <repository> <id>github</id> <url>https://raw.github.com/Chill-Rain/repository/main</url> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </repository> </repositories> <url>https://github.com/Chill-Rain/CacheDataBase</url> <scm> <!--项目访问url --> <url>https://github.com/Chill-Rain/CacheDataBase</url> <!--项目访问url.git结尾 --> <connection>scm:git:https://github.com/Chill-Rain/CacheDataBase.git</connection> <!--项目访问url.git结尾 --> <developerConnection>scm:git:https://github.com/Chill-Rain/CacheDataBase.git</developerConnection> </scm> <developers> <developer> <id>Chill-Rain</id> <name>Chill-Rain</name> <email>2135566232ldx@gmail.com</email> <!--项目访问url --> <url>https://github.com/Chill-Rain/CacheDataBase</url> <timezone>+8</timezone> </developer> </developers> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> </project>