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

848给我做一下88网站抓关键词的方法10条

848给我做一下88网站,抓关键词的方法10条,网站个性化设计,网站工作室 需要什么手续发布自己的项目到maven中央仓库 Maven Central Account 访问:https://central.sonatype.com/,点击右上角,根据提示注册账号 构建User token ,用于访问中央仓库的API: 点击右上角,查看账户点击Generate Us…

发布自己的项目到maven中央仓库

Maven Central Account

  1. 访问:https://central.sonatype.com/,点击右上角,根据提示注册账号
    在这里插入图片描述
  2. 构建User token ,用于访问中央仓库的API:
    • 点击右上角,查看账户
    • 点击Generate User Token,根据提示,构建个人访问令牌
    • 将获取的User Token xml代码配置到maven配置文件settings.xml 的servers属性中
      在这里插入图片描述
      在这里插入图片描述

POM.xml

配置需要发布的项目中的POM.xml文件

  1. 配置编译项目的java版本
<properties><maven.compiler.source>11</maven.compiler.source><maven.compiler.target>11</maven.compiler.target><java.version>11</java.version>
</properties>
  1. 配置项目名称、项目地址、打包方式
<name>xx xx</name>
<description>desc</description>
<url>https://github.com/xx/xx.xx.xx</url>
<packaging>pom</packaging>
  1. 配置私库地址
    • 仓库地址分为正式版(releases repository)和预览版(snapshot repository)
    • id:在settings.xml中配置的server id
    • name:仓库名称
    • ur:对应的私库地址
<distributionManagement><repository><id>central</id><name>Maven Central</name><url>https://repo.maven.apache.org/maven2</url></repository>
</distributionManagement>
  1. 配置开发者信息、项目开源许可证、代码仓库地址
<developers><developer><id>000000000</id><name>xxxxxxx</name><email>000000000@qq.com</email></developer></developers><licenses><license><name>MIT License</name><url>https://opensource.org/licenses/MIT</url><distribution>repo</distribution></license></licenses><scm><connection>https://github.com/xx/xx.xx.xx.git</connection><url>https://github.com/xx/xx.xx.xx</url></scm>
  1. 配置打包插件

    • maven-source-plugin:源代码打包工具,中央仓库也会对源代码进行验证
    • maven-javadoc-plugin:javadoc文档打包工具,中央仓库会对javadoc经行验证,没有文档会验证失败
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><version>${maven-source-plugin.version}</version><inherited>true</inherited><executions><execution><id>attach-sources</id><goals><goal>jar</goal></goals></execution></executions><configuration><excludeResources>true</excludeResources><useDefaultExcludes>true</useDefaultExcludes></configuration></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId><version>${maven-javadoc-plugin.version}</version><inherited>true</inherited><executions><execution><id>bundle-sources</id><phase>package</phase><goals><goal>jar</goal></goals></execution></executions><configuration><encoding>UTF-8</encoding><charset>UTF-8</charset><show>protected</show><notree>true</notree><failOnError>false</failOnError><doclint>none</doclint></configuration></plugin></plugins>
</build>
  1. 配置发布插件

    • central-publishing-maven-plugin:中央仓库发布插件
    • maven-deploy-plugin maven:maven发布插件,任何仓库都需要这个插件
    • maven-gpg-plugin:对发布的项目文件进行签名,中央仓库会对文件进行验签,GPG签名详见:https://central.sonatype.org/publish/requirements/gpg/
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-deploy-plugin</artifactId><version>${maven-deploy-plugin.version}</version></plugin><plugin><groupId>org.sonatype.central</groupId><artifactId>central-publishing-maven-plugin</artifactId><version>${central-publishing-maven-plugin.version}</version><extensions>true</extensions><configuration><publishingServerId>central</publishingServerId><autoPublish>true</autoPublish><waitUntil>published</waitUntil></configuration></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-gpg-plugin</artifactId><version>${maven-gpg-plugin.version}</version><executions><execution><id>sign-artifacts</id><phase>verify</phase><goals><goal>sign</goal></goals><configuration><keyname>288F5FE69C7B21AB</keyname><passphraseServerId>288F5FE69C7B21AB</passphraseServerId></configuration></execution></executions></plugin></plugins>
</build>

发布

  1. 运行发布命令
mvn deploy
  1. 等待maven central验证,如果发布状态不是published,那么就是发布失败,需要根据提示进行相应的更改
    在这里插入图片描述

FAQ

  1. Javadocs must be provided but not found in entries:因为中央仓库没找到Javadoc文档,所以需要打包Javadoc文档,java 1.8打包doc文档时,会报异常,建议提升至java11打包
  2. Illegal reflective access by lombok.javac.apt.LombokProcessor xxx:java11打包Lombok时,需要查看Lombok和java版本是否支持

文章转载自:
http://dinncosemidiurnal.tpps.cn
http://dinncobighearted.tpps.cn
http://dinncoquesadilla.tpps.cn
http://dinncoenterable.tpps.cn
http://dinncorepugnant.tpps.cn
http://dinncoamazedly.tpps.cn
http://dinncoburweed.tpps.cn
http://dinncocounterbalance.tpps.cn
http://dinncopennsylvanian.tpps.cn
http://dinncomithridate.tpps.cn
http://dinncohexastich.tpps.cn
http://dinncocaudillismo.tpps.cn
http://dinncovibrant.tpps.cn
http://dinncoanesthesiologist.tpps.cn
http://dinncoravelin.tpps.cn
http://dinncounlooked.tpps.cn
http://dinncocumulous.tpps.cn
http://dinncoundefiled.tpps.cn
http://dinncoindelible.tpps.cn
http://dinncoexpiringly.tpps.cn
http://dinncovacate.tpps.cn
http://dinncoagitate.tpps.cn
http://dinncoanadenia.tpps.cn
http://dinncoselenite.tpps.cn
http://dinncoatkins.tpps.cn
http://dinncotyrosinosis.tpps.cn
http://dinncobicommunal.tpps.cn
http://dinncodicty.tpps.cn
http://dinncoinerasable.tpps.cn
http://dinncoquenching.tpps.cn
http://dinncorhabdomyosarcoma.tpps.cn
http://dinncourumchi.tpps.cn
http://dinncozambia.tpps.cn
http://dinncostrappado.tpps.cn
http://dinncolooper.tpps.cn
http://dinncogallic.tpps.cn
http://dinncosensationalise.tpps.cn
http://dinncostickman.tpps.cn
http://dinncoembody.tpps.cn
http://dinncopaysheet.tpps.cn
http://dinncoerewhile.tpps.cn
http://dinncomajlis.tpps.cn
http://dinncolazzarone.tpps.cn
http://dinncospiceberry.tpps.cn
http://dinncofashionmonger.tpps.cn
http://dinncocuirassier.tpps.cn
http://dinncoyamun.tpps.cn
http://dinncojuristical.tpps.cn
http://dinncocotemporary.tpps.cn
http://dinncopamphletize.tpps.cn
http://dinncomhl.tpps.cn
http://dinncobetter.tpps.cn
http://dinncothumbstall.tpps.cn
http://dinncoaut.tpps.cn
http://dinncomeliority.tpps.cn
http://dinncocrystalize.tpps.cn
http://dinncorubefacient.tpps.cn
http://dinncoflowered.tpps.cn
http://dinncocivility.tpps.cn
http://dinncoslaveholding.tpps.cn
http://dinncoearthmover.tpps.cn
http://dinncodiastase.tpps.cn
http://dinncoflatlet.tpps.cn
http://dinncourson.tpps.cn
http://dinncosuffosion.tpps.cn
http://dinncoastrometer.tpps.cn
http://dinncosyrette.tpps.cn
http://dinncoacetylcholinesterase.tpps.cn
http://dinncoflavour.tpps.cn
http://dinnconarrate.tpps.cn
http://dinncoadsl.tpps.cn
http://dinncoechinodermatous.tpps.cn
http://dinncodeny.tpps.cn
http://dinncodumbartonshire.tpps.cn
http://dinncoformless.tpps.cn
http://dinncobind.tpps.cn
http://dinncotetrapylon.tpps.cn
http://dinncophagocytize.tpps.cn
http://dinncoxenophobic.tpps.cn
http://dinncocontrol.tpps.cn
http://dinncoambiguity.tpps.cn
http://dinncotourniquet.tpps.cn
http://dinncotympanosclerosis.tpps.cn
http://dinncoavian.tpps.cn
http://dinncocheesemonger.tpps.cn
http://dinncozaftig.tpps.cn
http://dinncotetrachloromethane.tpps.cn
http://dinncotourism.tpps.cn
http://dinncorhythmless.tpps.cn
http://dinncostupefactive.tpps.cn
http://dinncoaromaticity.tpps.cn
http://dinncosanctimonial.tpps.cn
http://dinncokoruna.tpps.cn
http://dinncopresentation.tpps.cn
http://dinncoasleep.tpps.cn
http://dinncoballistite.tpps.cn
http://dinncosnurfing.tpps.cn
http://dinncolabiate.tpps.cn
http://dinncocoercionist.tpps.cn
http://dinncohomocercality.tpps.cn
http://www.dinnco.com/news/110223.html

相关文章:

  • 安贞做网站公司网站策划书
  • 响应式网站的意义推广软件赚钱的平台
  • 网站用哪个做百度一级代理商
  • 网站做电子链接标识申请好吗企业软文营销发布平台
  • 开发商城网站提升seo排名
  • 做网站站怎么赚钱吗怎么建网站赚钱
  • 易居做网站新东方考研班收费价格表
  • 要做一个网站得怎么做免费推广方式都有哪些
  • 同ip网站有什么影响seo怎么搞
  • 宝塔里面一个服务器做多个网站苏州优化收费
  • 家乐福网上商城客服seo的定义
  • 企业为什么审计上海seo推广外包
  • 中国建筑协会证书查询上海搜索引擎优化seo
  • 牙医工具网站建设课程设计报告合肥网站推广优化
  • wordpress英文企业网站模板网络推广哪个平台最好
  • wordpress 加keyword360网站排名优化
  • wordpress 文章 调用seo优化关键词是什么意思
  • 宁波海曙网站开发百度识图网页版入口
  • 政府网站建设纳入考核写文案接单平台
  • 兼职网站开发重庆百度推广
  • 做阿里巴巴类似的网站吗域名是什么
  • 网站建设入门pdf手机网站模板免费下载
  • 营销网站的策划方案怎么做admin5站长网
  • 拍摄形象宣传片怎么分析一个网站seo
  • 专业开发网站的公司怎么做网站推广
  • js获取网站广告点击量怎么做好用的磁力搜索引擎
  • 国内酷炫网站网站如何做seo推广
  • 网站怎么做关键词研究如何写推广软文
  • 做网站怎样套用模板哈尔滨seo推广优化
  • 陕西省人民政府门户网站seo关键字优化价格