当前位置: 首页 > news >正文

十大高端网站定制设计wordpress千万数据优化

十大高端网站定制设计,wordpress千万数据优化,哪个网站可以做分销,长臂挖机出租东莞网站建设将自己的jar包发布到maven中央仓库(2025-08-29) 一、注册账号 https://central.sonatype.com/ 二、新建命名空间 这里的命名空间需要填写github的用户名因为我的用户名是daimao0,所以命名空间填io.github.daimao0 这里要求你建一个名为ubuxfc5q7r的公共项目,先创…

将自己的jar包发布到maven中央仓库(2025-08-29)

一、注册账号

https://central.sonatype.com/

在这里插入图片描述
在这里插入图片描述

二、新建命名空间

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
这里的命名空间需要填写github的用户名因为我的用户名是daimao0,所以命名空间填io.github.daimao0
在这里插入图片描述
在这里插入图片描述
这里要求你建一个名为ubuxfc5q7r的公共项目,先创建项目在点confrim
在这里插入图片描述
在这里插入图片描述

三、创建PUSH的账号密码

在这里插入图片描述
在这里插入图片描述

四、GPG准备

GPG 用于创建asc文件用于验证你的文件的正确性和安全性,我们直接去官网下载:

https://gnupg.org/download/index.html
在这里插入图片描述
在这里插入图片描述
用于我是arch-linux, linux系统一般自带gpg
在这里插入图片描述
在这里插入图片描述
输入两遍密码
在这里插入图片描述
这里的密钥发布到keyserver.ubuntu.com服务器上,把你的密钥替换掉 4CB3D9314CD5F1277582A11F4ADBA3851D627E38
备用地址:

keyserver.ubuntu.com 
keys.openpgp.org pgp.mit.edu
gpg --keyserver keyserver.ubuntu.com --send-keys 4CB3D9314CD5F1277582A11F4ADBA3851D627E38

在这里插入图片描述

验证密钥

如果出现了下面的内容说明发布成功
在这里插入图片描述

五、发布jar包

完整pom示例

<?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.daimao0</groupId><artifactId>easy-http</artifactId><version>1.0.0</version><name>easy-http</name><description>A simple and easy-to-use HTTP client library for Java</description> <!-- 项目描述 --><url>https://github.com/daimao0/easy-http</url> <!-- 项目URL --><properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties><dependencies><dependency><groupId>com.squareup.okhttp3</groupId><artifactId>okhttp</artifactId><version>4.12.0</version></dependency><dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId><version>2.19.2</version></dependency></dependencies><licenses><license><name>The Apache Software License, Version 2.0</name><url>http://www.apache.org/licenses/LICENSE-2.0.txt</url></license></licenses><developers><developer><name>daimao0</name><email>daimao2817@gmail.com</email></developer></developers><scm><url>https://github.com/daimao0/easy-http</url><connection>scm:git:https://github.com/daimao0/easy-http.git</connection><developerConnection>scm:git:ssh://git@github.com/daimao0/easy-http.git</developerConnection></scm><profiles><profile><id>ossrh</id><build><plugins><!--   central发布插件    --><plugin><groupId>org.sonatype.central</groupId><artifactId>central-publishing-maven-plugin</artifactId><version>0.5.0</version><extensions>true</extensions><configuration><publishingServerId>ossrh</publishingServerId><tokenAuth>true</tokenAuth></configuration></plugin><!--   source源码插件 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><version>3.3.1</version><executions><execution><id>attach-sources</id><goals><goal>jar-no-fork</goal></goals></execution></executions></plugin><!--   javadoc插件 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId><version>3.10.0</version><executions><execution><id>attach-javadocs</id><goals><goal>jar</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-gpg-plugin</artifactId><version>3.2.5</version><executions><execution><id>sign-artifacts</id><phase>verify</phase><goals><goal>sign</goal></goals></execution></executions></plugin></plugins></build></profile></profiles>
</project>

pom注意点

下面的配置必须都有

    <groupId>io.github.daimao0</groupId><artifactId>easy-http</artifactId><version>1.0.0</version><name>easy-http</name><description>A simple and easy-to-use HTTP client library for Java</description> <!-- 项目描述 --><url>https://github.com/daimao0/easy-http</url> <!-- 项目URL --><licenses><license><name>The Apache Software License, Version 2.0</name><url>http://www.apache.org/licenses/LICENSE-2.0.txt</url></license></licenses><developers><developer><!--   central发布插件 替换你自己的用户名和邮箱和pgp保持一致   --><name>daimao0</name><email>daimao2817@gmail.com</email></developer></developers><!--   scm 改成你自己的项目地址  --><scm><url>https://github.com/daimao0/easy-http</url><connection>scm:git:https://github.com/daimao0/easy-http.git</connection><developerConnection>scm:git:ssh://git@github.com/daimao0/easy-http.git</developerConnection></scm><profiles><profile><id>ossrh</id><build><plugins><!--   central发布插件    --><plugin><groupId>org.sonatype.central</groupId><artifactId>central-publishing-maven-plugin</artifactId><version>0.5.0</version><extensions>true</extensions><configuration><publishingServerId>ossrh</publishingServerId><tokenAuth>true</tokenAuth></configuration></plugin><!--   source源码插件 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><version>3.3.1</version><executions><execution><id>attach-sources</id><goals><goal>jar-no-fork</goal></goals></execution></executions></plugin><!--   javadoc插件 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId><version>3.10.0</version><executions><execution><id>attach-javadocs</id><goals><goal>jar</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-gpg-plugin</artifactId><version>3.2.5</version><executions><execution><id>sign-artifacts</id><phase>verify</phase><goals><goal>sign</goal></goals></execution></executions></plugin></plugins></build></profile></profiles>

然后就是执行

mvn clean deploy

在这里插入图片描述
在这里插入图片描述
点一下发布之后就等待就好了

http://www.dtcms.com/a/445953.html

相关文章:

  • 【学习笔记】kafka权威指南——第1章 初识kafka
  • 门户网站是指wordpress 特色照片
  • 玩转Pod调度及K8S集群的扩缩容实战案例
  • 数组——双指针:26.删除排序数组中的重复项
  • 【面板数据】上市公司行政处罚数据集(2003-2023年)
  • 低时延低复杂度QC-LDPC 编码技术(二)
  • php 8.3.26 更新日志
  • 【漫士】傅里叶变换,不过就是坐标分解而言
  • 详解WebSocket及其妙用
  • LVS深度解析:从原理到实战的负载均衡完全指南
  • 谭海波博客简介 wordpress株洲网站seo优化价格
  • 通用定时器_输出比较介绍及案例实践
  • FPGA自学笔记(正点原子ZYNQ7020):1.Vivado软件安装与点灯
  • 6. linux shell命令(3)进程管理相关命令
  • 临清网站优化做网站必须托管服务器吗
  • 依赖注入的好处和不用依赖注入的对比
  • KAN(Kolmogorov-Arnold Networks)通俗理解
  • 李飞飞物理世界 AI:价值维度、技术瓶颈与突破路径研究
  • 企业网站建设网站优化推广网站开发连接效果
  • k8s学习(二)——kubernetes整体架构及组件解析
  • K8s学习笔记(十三) StatefulSet
  • k8s学习-pod的生命周期
  • 校园网站建设申请报告企业网站建设在国内现状
  • php 8.4.1 更新日志
  • VR大空间资料 01 —— 常用VR框架对比
  • 重庆渝中区企业网站建设哪家专业建湖人才网官网登录
  • 【Linux】IP
  • 近红外相机在机器视觉检测中的应用
  • 【QT常用技术讲解】multimedia实现指定分辨率打开摄像头
  • 阿里巴巴网站的搜索引擎优化案例邢台做网站的价格究竟多少钱?