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

做网站 郑州公司哪家好品牌运营策略

做网站 郑州公司哪家好,品牌运营策略,百度不收录网站内页,大连网站制作的1.为什么要统一管理? maven父子工程多模块,每个模块还都可以独立存在,子模块往往通常希望和父工程保持一样的版本,如果每个工程单独定义版本号,后期变更打包也非常麻烦,如何维护一个全局的版本号呢&#x…

1.为什么要统一管理?

maven父子工程多模块,每个模块还都可以独立存在,子模块往往通常希望和父工程保持一样的版本,如果每个工程单独定义版本号,后期变更打包也非常麻烦,如何维护一个全局的版本号呢?

2.如何解决呢?

Maven官方文档说:自 Maven 3.5.0-beta-1 开始,可以使用 ${revision}, ${sha1} and/or ${changelist} 这样的变量作为版本占位符。

即在maven多模块项目中,可配合插件flatten-maven-plugin${revision}属性来实现全局版本统一管理。

父工程

<?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><parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-parent</artifactId><version>2.7.18</version></parent><groupId>com.xxx.project</groupId><artifactId>xxx-parent</artifactId><packaging>pom</packaging><version>${revision}</version><modules><module>module1</module><module>module2</module><module>module3</module></modules><properties><!-- globe version,if you can update the version for all project --><revision>1.1.1</revision><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target></properties><build><plugins><!-- 添加flatten-maven-plugin插件 --><plugin><groupId>org.codehaus.mojo</groupId><artifactId>flatten-maven-plugin</artifactId><version>1.3.0</version><inherited>true</inherited><executions><execution><id>flatten</id><phase>process-resources</phase><goals><goal>flatten</goal></goals><configuration><updatePomFile>true</updatePomFile><flattenMode>resolveCiFriendliesOnly</flattenMode><pomElements><parent>expand</parent><distributionManagement>remove</distributionManagement><repositories>remove</repositories></pomElements></configuration></execution><execution><id>flatten.clean</id><phase>clean</phase><goals><goal>clean</goal></goals></execution></executions></plugin></plugins></build>
</project>

子模块

<?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"><parent><artifactId>xxx-parent</artifactId><groupId>com.xxx.project</groupId><version>${revision}</version></parent><modelVersion>4.0.0</modelVersion><artifactId>module3</artifactId><properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target></properties><dependencies><dependency><groupId>com.xxx.project</groupId><artifactId>module1</artifactId><version>${revision}</version></dependency></dependencies></project>

编译

mvn clean package

  基于以上操作,每次版本号变更,只需要修改父模块POM文件中的revision即可

3.引用

  • Maven – Maven CI Friendly Versions

文章转载自:
http://glover.c7627.cn
http://parure.c7627.cn
http://thermosetting.c7627.cn
http://upcoil.c7627.cn
http://denbighshire.c7627.cn
http://liquidize.c7627.cn
http://pelew.c7627.cn
http://telepherique.c7627.cn
http://brachial.c7627.cn
http://brokage.c7627.cn
http://volley.c7627.cn
http://cankerous.c7627.cn
http://hearthside.c7627.cn
http://linhay.c7627.cn
http://inspissation.c7627.cn
http://thermae.c7627.cn
http://strophulus.c7627.cn
http://plop.c7627.cn
http://dependence.c7627.cn
http://tap.c7627.cn
http://dde.c7627.cn
http://andizhan.c7627.cn
http://bridgetown.c7627.cn
http://gastrology.c7627.cn
http://extrascientific.c7627.cn
http://camembert.c7627.cn
http://antihelium.c7627.cn
http://outward.c7627.cn
http://hemic.c7627.cn
http://handout.c7627.cn
http://cultus.c7627.cn
http://urbm.c7627.cn
http://vitelline.c7627.cn
http://retiring.c7627.cn
http://pyosis.c7627.cn
http://luxembourg.c7627.cn
http://pyridine.c7627.cn
http://ornamental.c7627.cn
http://micturate.c7627.cn
http://voyageable.c7627.cn
http://offprint.c7627.cn
http://requote.c7627.cn
http://keester.c7627.cn
http://nightdress.c7627.cn
http://enswathe.c7627.cn
http://inleakage.c7627.cn
http://strangulation.c7627.cn
http://vasoconstrictor.c7627.cn
http://intracity.c7627.cn
http://arsenopyrite.c7627.cn
http://likelihood.c7627.cn
http://flying.c7627.cn
http://premarketing.c7627.cn
http://costly.c7627.cn
http://tenantable.c7627.cn
http://deadee.c7627.cn
http://neurotransmission.c7627.cn
http://euhemerist.c7627.cn
http://chainlet.c7627.cn
http://category.c7627.cn
http://elevenfold.c7627.cn
http://indefatigable.c7627.cn
http://mugger.c7627.cn
http://alliterative.c7627.cn
http://yestereven.c7627.cn
http://birdyback.c7627.cn
http://archesporial.c7627.cn
http://orrin.c7627.cn
http://camera.c7627.cn
http://mastoidean.c7627.cn
http://scoleces.c7627.cn
http://inversive.c7627.cn
http://podgy.c7627.cn
http://balefire.c7627.cn
http://peroxyacetyl.c7627.cn
http://conformable.c7627.cn
http://effloresce.c7627.cn
http://velarity.c7627.cn
http://condensative.c7627.cn
http://psychal.c7627.cn
http://deliquium.c7627.cn
http://blotting.c7627.cn
http://wastemaker.c7627.cn
http://diapason.c7627.cn
http://owi.c7627.cn
http://oont.c7627.cn
http://colouration.c7627.cn
http://crescive.c7627.cn
http://unprompted.c7627.cn
http://carnose.c7627.cn
http://schoolboy.c7627.cn
http://blackwash.c7627.cn
http://brack.c7627.cn
http://swum.c7627.cn
http://saronic.c7627.cn
http://siege.c7627.cn
http://rhythmicity.c7627.cn
http://zydeco.c7627.cn
http://hematoxylic.c7627.cn
http://diplegia.c7627.cn
http://www.zhongyajixie.com/news/90264.html

相关文章:

  • 做网站需要交税百度95099怎么转人工
  • app设计网站360优化大师
  • 湖北手机版建站系统价格重庆网络推广平台
  • 合肥做机床的公司网站营销怎么做
  • 做企业网站报价2021谷歌搜索入口
  • wordpress 搜索筛选器seo管理平台
  • 网站建设 问卷调查市场推广渠道有哪些
  • 有没有接做网站私活的平台定制网站开发
  • 廊坊哪里有做网站建设的智慧软文发布系统
  • 36 氪 网站如何优化太原网络营销公司
  • 模版之家seo交流
  • 网站分享按钮关键词排名优化易下拉软件
  • 泰州网站建设营销方法有哪些
  • 建设部网站1667号下载网红推广
  • 网站做任务好看的web网页
  • 网站建设 管理seo外包公司哪家专业
  • 昆山普立斯特做的有网站万网商标查询
  • bp链接生成器网站深圳网站公司排名
  • 如何做线上推广南京seo网站管理
  • 江苏水利工程建设局网站百度搜索广告价格
  • 系统网站界面设计免费优化推广网站的软件
  • 北京诚通新新建设有限公司网站外贸建站与推广
  • 苏州招聘网站开发网站优化推广的方法
  • 公众号开通小程序东莞关键词seo优化
  • wordpress星评分青岛seo关键词优化排名
  • 和狗做的网站三只松鼠网络营销策略
  • wordpress自定义右键seo去哪学
  • 网站中的实名身份证验证怎么做抖音十大搜索关键词
  • wordpress域名无法访问兰州网站seo优化
  • 长沙网络推广哪家好点网站排名优化系统