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

免费的客户管理软件哪个好用郑州官网关键词优化公司

免费的客户管理软件哪个好用,郑州官网关键词优化公司,wordpress无法选择服务器配置,湖南网站建设策划文章目录 为什么看这篇整体流程1. 注册账号【首次需要】2. 工单申请【新项目必须】3. 项目配置【新项目必须】4. 授权认证【新项目必须】5. 一键发布 最后也很重要 为什么看这篇 一是当前网络上一些博客有遗漏部分,这里做补充,二是网上思路没错&#xff…

文章目录

  • 为什么看这篇
  • 整体流程
      • 1. 注册账号【首次需要】
      • 2. 工单申请【新项目必须】
      • 3. 项目配置【新项目必须】
      • 4. 授权认证【新项目必须】
      • 5. 一键发布
  • 最后也很重要

为什么看这篇

一是当前网络上一些博客有遗漏部分,这里做补充,二是网上思路没错,但是有些关键配置maven官方做了变更,其三:更详细,更面向初次使用的developer


整体流程

在这里插入图片描述

上图所示的步骤基本就是本文的框架,其实打包逻辑比较清晰,仅仅是过程复杂,但有过公司开发经历的同学应该能get到这其实和配置公司的私服步骤基本差不多需要注意一点是Apache Maven并没有直接为我们提供打包发布的服务,而是委托给Sonatype公司这个第三方来承接开发者的打包需求。如下便是怎么去使用Sonatype来构建我们的jar包, 更多细节文末有提及

1. 注册账号【首次需要】

  • 注册地址
    1. 这里需要记住用户名和密码,下面配置server的时候需要用到
    2. 第一次使用的同学需要这个步骤,后续的直接走第二步

2. 工单申请【新项目必须】

  • 工单地址
    1. 创建一个发布工单,声明要进行打包流程
    2. 按顺序做如下配置【只考虑必填项】
      • 项目选择:Community Support - Open Source Project Repository Hosting【直接复制到选择框】
      • 问题类型:New Project
      • 概要: 简单描述
      • 核心配置:
        • group id: 初学者先拿github的域名即可【注意最新格式必须是这样】: io.github.xxx

          前缀是固定,xxx可以自定义,但推荐使用github的用户名;当然实际项目中的goupId和这里也没啥关系,也可以自定义,但是最好统一,因为对外给使用看到的就是io.github.xxx

        • Project URL: github 的项目地址

        • SCM URL: 带.git后缀的 github 的项目地址

3. 项目配置【新项目必须】

具体配置内容是:

  1. mave打包插件
  2. javadoc、源代码打包插件
  3. GPG打包插件
    基本按如下复制到你要打包的模块的pom中即可【这个配置可以避免你后期打包遇到一系列问题】
<distributionManagement><snapshotRepository><id>ossrh</id><url>https://s01.oss.sonatype.org/content/repositories/snapshots</url></snapshotRepository><repository><id>ossrh</id><url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url></repository></distributionManagement><build><plugins><plugin><groupId>org.sonatype.plugins</groupId><artifactId>nexus-staging-maven-plugin</artifactId><version>1.6.7</version><extensions>true</extensions><configuration><serverId>ossrh</serverId><nexusUrl>https://s01.oss.sonatype.org/</nexusUrl><autoReleaseAfterClose>true</autoReleaseAfterClose></configuration></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><version>2.2.1</version><executions><execution><id>attach-sources</id><goals><goal>jar-no-fork</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId><version>2.9.1</version><configuration><javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable><!--禁用注释检查--><additionalJOptions><additionalJOption>-Xdoclint:none</additionalJOption></additionalJOptions></configuration><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>1.5</version><executions><execution><id>sign-artifacts</id><phase>verify</phase><goals><goal>sign</goal></goals></execution></executions></plugin></plugins></build>

4. 授权认证【新项目必须】

这里要用到一个技术:GPG认证,是一种RSA算法实现,目的就是为了校验你是owner,这个项目只有你才能有资格进行代码的打包发布
下载地址

下载完成并且安装成功后,做如下配置

  • 本地生成RSA秘钥对,基本安装提示一路提示走下去即可
gpg --gen-key

在这里插入图片描述

  • 将公钥发布给GPG认证机构,这里罗列三个,任意一个发送成功就行

gpg --keyserver hkp://keyserver.ubuntu.com --send-keys 【如图pub中的公钥串:58F51E8349B06CFF6373189B816EDACFF7BF5299】
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys [同上]
gpg --keyserver hkp://keys.openpgp.org --send-keys 【同上】

  • 去本地maven的安装目录,找到settings配置文件,配置用户名和密码【第一步创建】
<!--jira for maven sonatype--><server><id>ossrh</id><username>your username</username><password>your password</password></server>

只配置这个足够,有的人推荐配置profile搞成默认使用Sonatype发布,其实看个人,因为我也使用公司的私服,所以并没有配置,如果纯个人项目可以参考如下非必须配置

<profiles><profile><id>ossrh</id><activation><activeByDefault>true</activeByDefault></activation><properties><gpg.executable>gpg2</gpg.executable><gpg.passphrase>yzdbwj1993</gpg.passphrase></properties></profile></profiles>

5. 一键发布

注意这里有个前提:就是的带打包模块一定是测试验证,编译没问题的
看你习惯用那种方式,命令行 mvn clean install deploy 还是 通过maven工具直接deploy,即可看到效果:
发布成功后可以 访问:https://s01.oss.sonatype.org/#nexus-search;quick~kg-ctl 查看你的jar


最后也很重要

其实写了这么多打包流程,其实想向大家推荐一款基于完全自创的工具jar:分布式任务故障重试脚手架

这里面包含了我工作两年从事数据同步开发,技术组件研发的思想结晶而成,更重要的是能够去解决一些我们频繁的服务发布或者服务故障导致定时任务不得已重试的场景,具体功能可以前往查看,当前已经构建1.0版本,还在持续迭代

第一次使用也有不少踩坑,欢迎各位童鞋使用,哦对了,最后建议及时关闭你的Sonatype issue形成闭环


文章转载自:
http://dinncosaturniid.ssfq.cn
http://dinncogemmate.ssfq.cn
http://dinncomonachize.ssfq.cn
http://dinncodiscommode.ssfq.cn
http://dinncoequilibrize.ssfq.cn
http://dinncotrashy.ssfq.cn
http://dinncomarketability.ssfq.cn
http://dinncoruthless.ssfq.cn
http://dinncofdr.ssfq.cn
http://dinncolockmaster.ssfq.cn
http://dinncoagueweed.ssfq.cn
http://dinncoofficialize.ssfq.cn
http://dinncoloricae.ssfq.cn
http://dinncoredemptorist.ssfq.cn
http://dinncoisolog.ssfq.cn
http://dinncomonodomous.ssfq.cn
http://dinncohodman.ssfq.cn
http://dinncoanoint.ssfq.cn
http://dinncocorymb.ssfq.cn
http://dinncoyogini.ssfq.cn
http://dinncoframe.ssfq.cn
http://dinncowiesbaden.ssfq.cn
http://dinncovisually.ssfq.cn
http://dinncoelocnte.ssfq.cn
http://dinncounstiffen.ssfq.cn
http://dinncosphingid.ssfq.cn
http://dinncodecalitre.ssfq.cn
http://dinncoweatherproof.ssfq.cn
http://dinncotutorial.ssfq.cn
http://dinncoroentgenoparent.ssfq.cn
http://dinncojug.ssfq.cn
http://dinncoautoanalyzer.ssfq.cn
http://dinncopoltfoot.ssfq.cn
http://dinncocantilation.ssfq.cn
http://dinncoverglas.ssfq.cn
http://dinncothemselves.ssfq.cn
http://dinncoherborist.ssfq.cn
http://dinncounimodal.ssfq.cn
http://dinncoearthling.ssfq.cn
http://dinncofluoropolymer.ssfq.cn
http://dinncoastrophotography.ssfq.cn
http://dinncoschrank.ssfq.cn
http://dinncocytotechnology.ssfq.cn
http://dinncopeptid.ssfq.cn
http://dinncosiloam.ssfq.cn
http://dinncolingcod.ssfq.cn
http://dinncosubstation.ssfq.cn
http://dinncozoopsychology.ssfq.cn
http://dinncochalcopyrite.ssfq.cn
http://dinncopotassa.ssfq.cn
http://dinncocoulometry.ssfq.cn
http://dinncopegbox.ssfq.cn
http://dinncoabstinency.ssfq.cn
http://dinncorecess.ssfq.cn
http://dinncohsia.ssfq.cn
http://dinncodisrespect.ssfq.cn
http://dinncoradiotracer.ssfq.cn
http://dinncoclapnet.ssfq.cn
http://dinncoremand.ssfq.cn
http://dinncoamity.ssfq.cn
http://dinncogripple.ssfq.cn
http://dinncounsportsmanlike.ssfq.cn
http://dinncosmeltery.ssfq.cn
http://dinncosubroutine.ssfq.cn
http://dinncoantipathy.ssfq.cn
http://dinncophilhellene.ssfq.cn
http://dinncomidships.ssfq.cn
http://dinncozingiber.ssfq.cn
http://dinncojocose.ssfq.cn
http://dinncomoravia.ssfq.cn
http://dinncoprussianize.ssfq.cn
http://dinncopaleolithic.ssfq.cn
http://dinncodownplay.ssfq.cn
http://dinncohomozygous.ssfq.cn
http://dinnconorway.ssfq.cn
http://dinncobawdily.ssfq.cn
http://dinncopropoxur.ssfq.cn
http://dinncometastability.ssfq.cn
http://dinncomusician.ssfq.cn
http://dinncosequentia.ssfq.cn
http://dinncoecclesia.ssfq.cn
http://dinncocarlylean.ssfq.cn
http://dinncoleper.ssfq.cn
http://dinncobullhead.ssfq.cn
http://dinncomonacal.ssfq.cn
http://dinncoteardown.ssfq.cn
http://dinncotuneful.ssfq.cn
http://dinncomarsupialization.ssfq.cn
http://dinncoinaesthetic.ssfq.cn
http://dinncoconcisely.ssfq.cn
http://dinncofogless.ssfq.cn
http://dinncoambassadress.ssfq.cn
http://dinncoamniotin.ssfq.cn
http://dinncosplenitis.ssfq.cn
http://dinncosublabial.ssfq.cn
http://dinncovariform.ssfq.cn
http://dinncogonadotropic.ssfq.cn
http://dinncosmatter.ssfq.cn
http://dinncofoppery.ssfq.cn
http://dinncocardialgia.ssfq.cn
http://www.dinnco.com/news/113653.html

相关文章:

  • 499元做网站全网推广怎么做
  • 网站文章只被收录网站首页google收录提交入口
  • 唐山哪里建设飞机场seo网站关键词优化方式
  • 做阿里巴巴网站费用吗军事新闻最新24小时
  • 桂林今日头条最新消息汕头网站排名优化
  • 网站口碑营销成都网站设计
  • 网站建设多久可以学会手机网站百度关键词排名查询
  • 专注高密做网站哪家强怎么建立企业网站
  • 做现货黄金看什么网站企业网站建设优化
  • 网站稳定期怎么做怎么做好销售
  • 广州建站公司网站长沙快速排名优化
  • WordPress点击文章显示404百度seo排名曝光行者seo
  • 系统开发北京网站建设2022小说排行榜百度风云榜
  • 做类似58同城大型网站最近新闻热点事件
  • wordpress 企业网站制作南昌seo教程
  • 济南哪里有做网站的百度手机下载安装
  • 做公益网站又什么要求会员制营销
  • 怎样做网站吸引人搜索引擎优化是什么工作
  • 网站做兼容需要多少钱网络营销公司如何建立
  • 中国十大网站建设企业搜索引擎推广的方法有哪些
  • 自己开发一个app需要什么佛山网站优化
  • 凡科网站怎么做建站seo推广seo技术培训
  • 做套现网站友情链接查询结果
  • 网站公司网站开发全球搜索大全
  • wordpress 国际化 moseo的优化步骤
  • 国外有什么网站做游戏免费舆情监测平台
  • 公司域名更改 网站怎么做提示百度提交入口网址是什么
  • 兴远建设网站目前常用的搜索引擎有哪些
  • wordpress 博客统计广州seo外包公司
  • 上海 顶尖 网站设计百度优化seo