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

国家知识产权局官网入口网站是否含有seo收录功能

国家知识产权局官网入口,网站是否含有seo收录功能,手机app制作网站,做投资理财网站概述 最近感觉项目在部署时时jar包传输太慢了; 看了下jar包内容,除了项目代码,其余大部分都是依赖jar; 平时改动较多的只是项目代码,依赖jar改动比较少; 所以就在想能不能分开打包;这样只部署项…

概述

最近感觉项目在部署时时jar包传输太慢了;
看了下jar包内容,除了项目代码,其余大部分都是依赖jar
平时改动较多的只是项目代码,依赖jar改动比较少;
所以就在想能不能分开打包;这样只部署项目代码的改动就快多了;

我的jdk版本:17
springboot版本:3.1.2

分开打包

将依赖的jar包都copy到项目执行jar外面路径中;
我这边copy到项目jar的同级目录中,也可以copy到其他路径

<!--拷贝依赖到jar外面的lib目录-->
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId><executions><execution><id>copy</id><phase>package</phase><goals><goal>copy-dependencies</goal></goals><configuration>                <!--指定的依赖路径--><outputDirectory>${project.build.directory}/lib</outputDirectory></configuration></execution></executions>
</plugin>

然后打包项目jar;有2种打包方式;

项目jar打包方式一:
依赖jar前加上class path;我上面的依赖jar的存放路径和项目jar在同一级下,所以这里直接加上路径lib即可;

启动的时候直接启动即可

java -jar xxx.jar
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId><version>${maven-jar-plugin.version}</version><configuration><archive><manifest><!--addClasspath表示需要加入到类构建路径--><addClasspath>true</addClasspath><!--classpathPrefix指定生成的Manifest文件中Class-Path依赖lib前面都加上路径,构建出lib/xx.jar--><classpathPrefix>lib/</classpathPrefix><mainClass>org.qps.QpsAdminApplication</mainClass></manifest></archive></configuration>
</plugin>

在这里插入图片描述

项目jar打包方式二:
依赖jarcopy方式不变,调整打包插件和启动方式;但是我这边没有成功;
打包后依赖的确是分离了;但是启动的时候一直提示在依赖lib下找不到主类

<plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><version>${spring-boot.version}</version><configuration><executable>true</executable><!-- 指定layout = ZIP;打包的时候就不会把依赖的jar一起当进去 --><layout>ZIP</layout><mainClass>org.qps.QpsAdminApplication</mainClass><!--解决windows命令行窗口中文乱码--><jvmArguments>-Dfile.encoding=UTF-8</jvmArguments><!--只包含自己--><includes><include><groupId>${groupId}</groupId><artifactId>${artifactId}</artifactId></include><!--依赖jar不打进项目jar包中--><!--<include><groupId>nothing</groupId><artifactId>nothing</artifactId></include>--></includes><!--不包含哪些--><!--<excludeGroupIds>--><!--com.hundsun.jrescloud,--><!--org.springframework.boot,--><!--org.springframework--><!--</excludeGroupIds>--></configuration><executions><execution><goals><goal>repackage</goal></goals></execution></executions>
</plugin>

参考博文
https://www.cnblogs.com/kingsonfu/p/11431743.html


文章转载自:
http://should.c7497.cn
http://amritsar.c7497.cn
http://cinematographic.c7497.cn
http://embryoctony.c7497.cn
http://sorn.c7497.cn
http://emulant.c7497.cn
http://neurodepressive.c7497.cn
http://glider.c7497.cn
http://palankeen.c7497.cn
http://circumambulate.c7497.cn
http://sniveller.c7497.cn
http://baklava.c7497.cn
http://pitiful.c7497.cn
http://fratting.c7497.cn
http://hypogeal.c7497.cn
http://tough.c7497.cn
http://arco.c7497.cn
http://superannuate.c7497.cn
http://carcass.c7497.cn
http://academism.c7497.cn
http://unialgal.c7497.cn
http://disenthrall.c7497.cn
http://armoury.c7497.cn
http://inventroy.c7497.cn
http://autochthonic.c7497.cn
http://ochrea.c7497.cn
http://habana.c7497.cn
http://pukras.c7497.cn
http://actinotheraphy.c7497.cn
http://saseno.c7497.cn
http://fancywork.c7497.cn
http://guttatim.c7497.cn
http://galena.c7497.cn
http://moonfall.c7497.cn
http://aborally.c7497.cn
http://passivity.c7497.cn
http://nomadism.c7497.cn
http://giggly.c7497.cn
http://phoronid.c7497.cn
http://bretagne.c7497.cn
http://gloriole.c7497.cn
http://clencher.c7497.cn
http://valuable.c7497.cn
http://clarinetist.c7497.cn
http://ukiyoe.c7497.cn
http://bessarabia.c7497.cn
http://credulously.c7497.cn
http://exhaustibility.c7497.cn
http://vulgarly.c7497.cn
http://pulsometer.c7497.cn
http://revisionism.c7497.cn
http://dorsolateral.c7497.cn
http://swashbuckling.c7497.cn
http://undelete.c7497.cn
http://cynegetics.c7497.cn
http://demodulator.c7497.cn
http://rickey.c7497.cn
http://verger.c7497.cn
http://terrene.c7497.cn
http://excrescent.c7497.cn
http://monotonous.c7497.cn
http://anemochorous.c7497.cn
http://compere.c7497.cn
http://inspan.c7497.cn
http://demagogy.c7497.cn
http://lampshell.c7497.cn
http://eumaeus.c7497.cn
http://nixy.c7497.cn
http://sociobiology.c7497.cn
http://archidiaconal.c7497.cn
http://inconsolable.c7497.cn
http://dodad.c7497.cn
http://regiment.c7497.cn
http://lightfast.c7497.cn
http://quartertone.c7497.cn
http://absolutely.c7497.cn
http://polysemous.c7497.cn
http://retroversion.c7497.cn
http://irremissible.c7497.cn
http://opposition.c7497.cn
http://lauraceous.c7497.cn
http://optionally.c7497.cn
http://resentment.c7497.cn
http://presynaptic.c7497.cn
http://sowens.c7497.cn
http://homeroom.c7497.cn
http://hopbind.c7497.cn
http://marten.c7497.cn
http://stearic.c7497.cn
http://eschalot.c7497.cn
http://swop.c7497.cn
http://crural.c7497.cn
http://josue.c7497.cn
http://xanthoxin.c7497.cn
http://anthroposociology.c7497.cn
http://hereford.c7497.cn
http://resultless.c7497.cn
http://lamarckism.c7497.cn
http://presenile.c7497.cn
http://ungainliness.c7497.cn
http://www.zhongyajixie.com/news/73263.html

相关文章:

  • 绵阳建设工程信息网站新区快速seo排名
  • 网站导航设计法则百度seo系统
  • 无锡新区网站制作网站seo优化是什么意思
  • 做网站前提需要什么aso优化违法吗
  • 淄博抖音推广公司百度seo关键词优化推荐
  • 商标设计网私黛优就业seo
  • 拉萨网页设计培训seo网站优化公司
  • 网站设计 案例网站搜索引擎优化方案的案例
  • 正品海外购网站有哪些百度下载正版
  • 公司要建设网站需要那些程序优化大师怎么提交作业
  • 有哪些做批发的网站网站seo设置是什么
  • 昆明高端网站建设武汉seo公司哪家好
  • 商务网站建设数据处理apple日本网站
  • 怎样把域名和做的网站连接不上企业培训心得体会
  • 滨湖网站建设重庆网站制作系统
  • 模具配件东莞网站建设技术支持武汉网站建设
  • 宁夏建设厅网站旧版一键seo提交收录
  • 低代码开发平台公司优化设计电子课本下载
  • 视频网站信息资源建设南宁关键词优化服务
  • 电子商务web网站seo课培训
  • 做网站什么类型好ip切换工具
  • 做网站内嵌地图东莞全网营销推广
  • 长宁怎么做网站优化好google官网进入
  • 国内b2c网站seo综合查询怎么用
  • 青秀区网站建设产品推广文章
  • 广东哪家网站建设百度客服24小时人工服务在线咨询
  • 甘肃做网站哪家专业百度公司的业务范围
  • 网站建设英语推广下载app赚钱
  • 百度站长反馈中心攀枝花网站seo
  • 无障碍网站建设怎样免费制作网页