wtyicy-file
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.wtyicy</groupId> <artifactId>wtyicy-file</artifactId> <version>1.0.2</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>com.github.wtyicy</groupId> <artifactId>wtyicy-file</artifactId> <version>1.0.2</version> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> <description>The test uploads the jar to the maven central repository</description> <url>https://github.com/wtyicy/OSSRH-61766</url> <!-- <parent>--> <!-- <groupId>org.springframework.boot</groupId>--> <!-- <artifactId>spring-boot-starter-parent</artifactId>--> <!-- <version>2.3.2.RELEASE</version>--> <!-- <relativePath />--> <!-- </parent>--> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <maven.deploy.skip>true</maven.deploy.skip> <aliyun-sdk-oss.version>3.11.0</aliyun-sdk-oss.version> <hutool.version>5.4.2</hutool.version> <fastjson.version>1.2.73</fastjson.version> <qiniu-java-sdk.version>7.2.29</qiniu-java-sdk.version> <fastdfs.version>1.27.2</fastdfs.version> <qcloud.version>5.6.24</qcloud.version> <baiducos.version>0.10.135</baiducos.version> <huaweiob.version>3.20.6.1</huaweiob.version> <jindongyuns3.version>1.11.885</jindongyuns3.version> </properties> <dependencies> <!-- SpringBoot 核心包 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <version>2.3.2.RELEASE</version> <scope>provided</scope> </dependency> <!-- SpringBoot Web容器 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.3.2.RELEASE</version> <scope>provided</scope> </dependency> <!-- fastjson --> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>${fastjson.version}</version> </dependency> <!-- aliyun-sdk-oss --> <dependency> <groupId>com.aliyun.oss</groupId> <artifactId>aliyun-sdk-oss</artifactId> <version>${aliyun-sdk-oss.version}</version> </dependency> <!-- 工具类 --> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <scope>provided</scope> <version>${hutool.version}</version> </dependency> <!-- qiniu-java-sdk --> <dependency> <groupId>com.qiniu</groupId> <artifactId>qiniu-java-sdk</artifactId> <version>${qiniu-java-sdk.version}</version> </dependency> <!-- fastdfs-java-sdk --> <dependency> <groupId>com.github.tobato</groupId> <artifactId>fastdfs-client</artifactId> <version>${fastdfs.version}</version> </dependency> <!-- qcloud-java-sdk --> <dependency> <groupId>com.qcloud</groupId> <artifactId>cos_api</artifactId> <version>${qcloud.version}</version> </dependency> <!-- baidu-java-sdk --> <dependency> <groupId>com.baidubce</groupId> <artifactId>bce-java-sdk</artifactId> <version>${baiducos.version}</version> </dependency> <!-- huawei-obs-java --> <dependency> <groupId>com.huaweicloud</groupId> <artifactId>esdk-obs-java</artifactId> <version>${huaweiob.version}</version> </dependency> <!-- jingdong-java-sdk-s3 --> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <version>${jindongyuns3.version}</version> </dependency> </dependencies> <!-- 许可证信息 --> <licenses> <!-- Apache许可证 --> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> <!-- MIT许可证 --> <!-- <license> <name>MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> </license>--> </licenses> <!-- SCM信息 -> git在github上托管 --> <scm> <connection>scm:git:git://github.com/wtyicy/OSSRH-61766.git</connection> <developerConnection>scm:git:ssh://github.com/wtyicy/OSSRH-61766.git</developerConnection> <url>https://github.com/wtyicy/OSSRH-61766/tree/master</url> </scm> <!-- 开发者信息 --> <developers> <developer> <name>wtyicy</name> <email>2713855352@qq.com</email> <url>https://github.com/wtyicy</url> </developer> </developers> <build> <plugins> <!-- 编译打包项目源代码为字节码jar文件,你懂的 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <debuglevel>lines,vars,source</debuglevel> </configuration> </plugin> <!-- 打包项目源代码为jar文件,你懂的 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- 打包项目javadoc注释为jar文件,你懂的 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.0</version> <configuration> <encoding>UTF-8</encoding> <doclint>none</doclint> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- 用于将所有jar文件部署至远程仓库的插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <!-- 用于对所有文件进行签名 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <configuration> <executable>gpg</executable> <!-- 该参数值取决于你的gpg程序在命令行中的名称,一般是"gpg"或"gpg2" --> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- 用于将文件阶段性发布到远程 Nexus 仓库 --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>/usr/local/Cellar/gnupg/2.2.23/bin/gpg</gpg.executable> <gpg.passphrase>970821www</gpg.passphrase> </properties> <distributionManagement> <snapshotRepository> <id>ossrh</id> <name>ceshi</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>ossrh</id> <name>ceshi</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </repository> </distributionManagement> </profile> </profiles> </project>