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

苏州网站建设的一般流程大型网站开发成本

苏州网站建设的一般流程,大型网站开发成本,淮南发布,手机网站开发工具发布自己的项目到maven中央仓库 Maven Central Account 访问#xff1a;https://central.sonatype.com/#xff0c;点击右上角#xff0c;根据提示注册账号 构建User token #xff0c;用于访问中央仓库的API#xff1a; 点击右上角#xff0c;查看账户点击Generate Us…发布自己的项目到maven中央仓库 Maven Central Account 访问https://central.sonatype.com/点击右上角根据提示注册账号 构建User token 用于访问中央仓库的API 点击右上角查看账户点击Generate User Token根据提示构建个人访问令牌将获取的User Token xml代码配置到maven配置文件settings.xml 的servers属性中 POM.xml 配置需要发布的项目中的POM.xml文件 配置编译项目的java版本 propertiesmaven.compiler.source11/maven.compiler.sourcemaven.compiler.target11/maven.compiler.targetjava.version11/java.version /properties配置项目名称、项目地址、打包方式 namexx xx/name descriptiondesc/description urlhttps://github.com/xx/xx.xx.xx/url packagingpom/packaging配置私库地址 仓库地址分为正式版releases repository和预览版snapshot repositoryid在settings.xml中配置的server idname仓库名称ur对应的私库地址 distributionManagementrepositoryidcentral/idnameMaven Central/nameurlhttps://repo.maven.apache.org/maven2/url/repository /distributionManagement配置开发者信息、项目开源许可证、代码仓库地址 developersdeveloperid000000000/idnamexxxxxxx/nameemail000000000qq.com/email/developer/developerslicenseslicensenameMIT License/nameurlhttps://opensource.org/licenses/MIT/urldistributionrepo/distribution/license/licensesscmconnectionhttps://github.com/xx/xx.xx.xx.git/connectionurlhttps://github.com/xx/xx.xx.xx/url/scm配置打包插件 maven-source-plugin源代码打包工具中央仓库也会对源代码进行验证maven-javadoc-pluginjavadoc文档打包工具中央仓库会对javadoc经行验证没有文档会验证失败 buildpluginsplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-source-plugin/artifactIdversion${maven-source-plugin.version}/versioninheritedtrue/inheritedexecutionsexecutionidattach-sources/idgoalsgoaljar/goal/goals/execution/executionsconfigurationexcludeResourcestrue/excludeResourcesuseDefaultExcludestrue/useDefaultExcludes/configuration/pluginplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-javadoc-plugin/artifactIdversion${maven-javadoc-plugin.version}/versioninheritedtrue/inheritedexecutionsexecutionidbundle-sources/idphasepackage/phasegoalsgoaljar/goal/goals/execution/executionsconfigurationencodingUTF-8/encodingcharsetUTF-8/charsetshowprotected/shownotreetrue/notreefailOnErrorfalse/failOnErrordoclintnone/doclint/configuration/plugin/plugins /build配置发布插件 central-publishing-maven-plugin中央仓库发布插件maven-deploy-plugin mavenmaven发布插件任何仓库都需要这个插件maven-gpg-plugin对发布的项目文件进行签名中央仓库会对文件进行验签GPG签名详见https://central.sonatype.org/publish/requirements/gpg/ buildpluginsplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-deploy-plugin/artifactIdversion${maven-deploy-plugin.version}/version/pluginplugingroupIdorg.sonatype.central/groupIdartifactIdcentral-publishing-maven-plugin/artifactIdversion${central-publishing-maven-plugin.version}/versionextensionstrue/extensionsconfigurationpublishingServerIdcentral/publishingServerIdautoPublishtrue/autoPublishwaitUntilpublished/waitUntil/configuration/pluginplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-gpg-plugin/artifactIdversion${maven-gpg-plugin.version}/versionexecutionsexecutionidsign-artifacts/idphaseverify/phasegoalsgoalsign/goal/goalsconfigurationkeyname288F5FE69C7B21AB/keynamepassphraseServerId288F5FE69C7B21AB/passphraseServerId/configuration/execution/executions/plugin/plugins /build发布 运行发布命令 mvn deploy等待maven central验证如果发布状态不是published那么就是发布失败需要根据提示进行相应的更改 FAQ Javadocs must be provided but not found in entries因为中央仓库没找到Javadoc文档所以需要打包Javadoc文档java 1.8打包doc文档时会报异常建议提升至java11打包Illegal reflective access by lombok.javac.apt.LombokProcessor xxxjava11打包Lombok时需要查看Lombok和java版本是否支持
http://www.hkea.cn/news/14573478/

相关文章:

  • 建网站外包常州免费网站建站模板
  • 成都旅游网站建设手机百度关键词排名 seo网站优化软件
  • 怎么把自己做的网站让外网访问河南高端建设网站
  • html5国内网站建设网页设计师好吗
  • 慈溪住房和城乡建设部网站wordpress页首文件
  • php和ASP网站那个好怎样免费自己做网站视频
  • 外贸公司的网站建设模板中信建设有限责任公司营业执照
  • 做中英文游戏门户网站关键词怎么弄网站推广方法大全
  • 青木源网站建设公司浙江省建设信息网官网
  • 四川城乡建设厅网站建商城网站需要什么
  • 科技创新网站建设策划书wordpress 清理图片
  • 淮北网站开发公司wordpress镜像下载
  • 网站建设论文选题表论坛类网站搭建
  • 网站联系我们页面设计青岛简易付网络技术有限公司
  • 做推广有什么好网站网站设计 专业
  • 简述一般网站开发方式商标设计网站哪个好
  • 中国建设投资集团 网站首页市场营销管理
  • 沂南建设局网站云服务器上放多个网站
  • 网站免费正能量软件直播现代教育网站开发项目的研究
  • 个人承包工程合同范本西安关键词排名优化
  • 如何查看 网站诊断微网站免费搭建平台
  • 廊坊 网站哈尔滨市哪里做淘宝网站
  • 河北网站开发哪家好广州网络推广培训
  • 简易的网站网站建设和网络推广外包
  • 下载网站的软件网易企业邮箱网页版登录入口
  • 网站推广规划福田瑞沃自卸车官网
  • 怎么做网站的排名南通市网站建设
  • 现在宁波做网站最新网页传奇游戏
  • 网站制作行业上海酒店vi设计公司
  • 网页设计与网站建设实例教程答案网站设计公司大概多少钱