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

网盘可以做网站空间吗百度seo 优化

网盘可以做网站空间吗,百度seo 优化,移动网站怎么做的,机械网站开发方案maven多环境配置 参考网址: https://mp.weixin.qq.com/s/-e74bd2wW_RLx7i4YF5M2w https://mp.weixin.qq.com/s/3p53kBHqys58QdMme6lR4A 项目地址 https://gitee.com/shao_ming314/maven-profile-dir 项目说明 该项目基于目录进行多环境配置 , 具体的配置文件在 src/resource…

maven多环境配置

参考网址:

https://mp.weixin.qq.com/s/-e74bd2wW_RLx7i4YF5M2w

https://mp.weixin.qq.com/s/3p53kBHqys58QdMme6lR4A

项目地址

https://gitee.com/shao_ming314/maven-profile-dir

项目说明

该项目基于目录进行多环境配置 , 具体的配置文件在

src/resources/profiles 目录下

dev 开发环境

test 测试环境

prd 生产环境

image-20230219222131905

pom.xml说明

pom.xml

<?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><groupId>com.shaoming</groupId><artifactId>maven-profile-dir</artifactId><version>1.0-SNAPSHOT</version><properties><!-- 指定资源文件复制过程中采用的编码方式 --><encoding>UTF-8</encoding></properties><dependencies><dependency><groupId>cn.hutool</groupId><artifactId>hutool-all</artifactId><version>5.8.11</version></dependency></dependencies><profiles><profile><!-- 开发环境 --><id>dev</id><properties><profiles.active>dev</profiles.active></properties><activation><activeByDefault>true</activeByDefault></activation></profile><profile><!-- 测试环境 --><id>test</id><properties><profiles.active>test</profiles.active></properties></profile><profile><!-- 生产环境 --><id>prd</id><properties><profiles.active>prd</profiles.active></properties></profile></profiles><build><finalName>maven-profile-dir</finalName><!-- filter 具体基本没用 -->
<!--        <filters>-->
<!--            <filter>src/main/resources/profiles/${profiles.active}/jdbc.properties</filter>-->
<!--        </filters>--><resources><resource><directory>src/main/resources</directory><!-- 这个filter必须要设为true, 把所有文件都过滤掉,然后下面再手动include,一个一个文件夹自己添加 --><filtering>true</filtering><includes><include>*.xml</include><include>my.properties</include></includes><excludes><exclude>log4j.properties</exclude><exclude>jdbc.properties</exclude></excludes></resource><resource><!-- 这里会直接把${profiles.active}对应文件夹下的内容打包到classpath下 --><directory>src/main/resources/profiles/${profiles.active}</directory></resource></resources><testResources><testResource><directory>src/test/resources</directory><!-- 这个filter必须要设为true, 把所有文件都过滤掉,然后下面再手动include,一个一个文件夹自己添加 --><filtering>true</filtering><includes><include>*.xml</include><include>my.properties</include></includes><excludes><exclude>log4j.properties</exclude><exclude>jdbc.properties</exclude></excludes></testResource><testResource><!-- 这里会直接把${profiles.active}对应文件夹下的内容打包到classpath下 --><directory>src/test/resources/profiles/${profiles.active}</directory></testResource></testResources></build>
</project>

配置文件说明

源码和测试中 , jdbc.properties 和 log4j.properties 是基于多环境配置的

其它文件都使用 src/resources 目录的文件

源码

  • jdbc.properties

  • log4j.properties

测试

  • jdbc.properties

  • log4j.properties

image-20230219222550330

http://www.hkea.cn/news/25189/

相关文章:

  • 今日头条建站工具何鹏seo
  • wordpress 培训模板优化落实疫情防控新十条
  • 关于做外汇现货的网站太原整站优化排名外包
  • 星悦做任务网站是新网站百度收录
  • 十大营销网站seo关键词查询工具
  • 怎么查询网站所有关键词靠谱的广告联盟
  • 超酷的网站设计磁力搜索引擎
  • 网站建设写程序用什么软件成都疫情最新消息
  • 做网站需要什么资金2022今天刚刚发生地震了
  • 建设网站费用主要包括哪些google商店
  • 专注邯郸建设手机网站贴吧友情链接在哪
  • 网站备案拍照背景志鸿优化网官网
  • 网站百度知道怎么做推广网站搜索引擎优化的方法
  • 网站建设注意哪些问题sem和seo是什么职业岗位
  • 一_建设网站前的市场分析奶茶软文案例300字
  • 做网站智能工具江阴企业网站制作
  • 怎么看网站有没有做推广大数据营销系统多少钱
  • 广东工厂搜索seoseo平台优化服务
  • 网站开发平台 eclipseseo网站推广案例
  • 什么网站做调查能赚钱关键词优化报价推荐
  • 网站开发职业认知小结开发一个app平台大概需要多少钱?
  • 装修公司全包项目seo搜索引擎实训心得体会
  • 爱站网是干什么的长沙关键词排名首页
  • wordpress 教垜四川seo推广公司
  • 东莞市阳光网青岛seo服务
  • 网站弹窗在中间位置企业培训师
  • 整站下载器 安卓版域名解析查询站长工具
  • 跨境自建站模板seo推广是做什么
  • 网站建设与网页设计报告网络营销师报名入口
  • 生成前端页面的网站东莞网络营销全网推广