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

网站怎样做的高大上有错误的wordpress

网站怎样做的高大上,有错误的wordpress,郑州低价网站制作,wordpress表单附件上传背景 不同环境的配置文件不一样#xff0c;打包方式也有差异 1. 准备配置文件 这里 local 为本地开发环境 可改为 dev 名称自定义 test 为测试环境 prod 为生产环境 根据项目业务自行定义 application.yml 配置#xff1a; spring:profiles:#对应pom中的配置active: spring.…背景 不同环境的配置文件不一样打包方式也有差异 1. 准备配置文件 这里 local 为本地开发环境 可改为 dev 名称自定义 test 为测试环境 prod 为生产环境 根据项目业务自行定义 application.yml 配置 spring:profiles:#对应pom中的配置active: spring.profiles.active2. 配置 pom.xml 根据自身业务需求配置 pom 文件 目前我的项目业务添加如下 propertiesproject.build.sourceEncodingUTF-8/project.build.sourceEncodingproject.reporting.outputEncodingUTF-8/project.reporting.outputEncodingjava.version1.8/java.version!-- 打包跳过单元测试 --skipTeststrue/skipTests/properties!-- maven多环境打包配置 --profiles!-- 本地开发环境 --profileidlocal/idpropertiesspring.profiles.activelocal/spring.profiles.active/properties!-- 设置为默认环境 --activationactiveByDefaulttrue/activeByDefault/activation/profile!-- 测试环境 --profileidtest/idpropertiesspring.profiles.activetest/spring.profiles.active/properties/profile!-- 生产环境 --profileidprod/idpropertiesspring.profiles.activeprod/spring.profiles.active/properties/profile!--jdk1.8--profileidjdk-1.8/idactivationactiveByDefaulttrue/activeByDefaultjdk1.8/jdk/activationpropertiesmaven.compiler.source1.8/maven.compiler.sourcemaven.compiler.target1.8/maven.compiler.targetmaven.compiler.compilerVersion1.8/maven.compiler.compilerVersion/properties/profile/profilesbuildfinalNameAHL/finalNameplugins!-- maven 打包插件 --plugingroupIdorg.springframework.boot/groupIdartifactIdspring-boot-maven-plugin/artifactIdconfigurationincludeSystemScopetrue/includeSystemScope/configuration/plugin!-- maven 打包时跳过测试 --plugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-surefire-plugin/artifactIdversion2.20/versionconfigurationskipTeststrue/skipTests/configuration/pluginplugingroupIdorg.mybatis.generator/groupIdartifactIdmybatis-generator-maven-plugin/artifactIdversion1.3.7/versionconfigurationoverwritetrue/overwriteverbosetrue/verbose/configurationdependenciesdependencygroupIdcn.dd/groupIdartifactIdmybatis-generator-comment/artifactIdversion1.0.2/versionscopesystem/scopesystemPath${pom.basedir}/src/main/webapp/WEB-INF/lib/mybatis-generator-comment.jar/systemPath/dependencydependencygroupIdmysql/groupIdartifactIdmysql-connector-java/artifactIdversion8.0.19/version/dependencydependencygroupIdorg.mybatis.generator/groupIdartifactIdmybatis-generator-maven-plugin/artifactIdversion1.3.7/version/dependency/dependencies/plugin/pluginsresourcesresourcedirectorysrc/main/resources/directory!--开启过滤用指定的参数替换directory下的文件中的参数--filteringtrue/filtering/resource/resources/build以下是可自定义修改 maven 插件配置文件包必须添加 propertiesmaven.build.timestamp.formatyyyyMMddHHmmss/maven.build.timestamp.format/propertiesbuild!-- 打包名格式项目名-环境-打包时间.jar --finalName${project.artifactId}-${spring.profiles.active}-${maven.build.timestamp}/finalNameplugins!-- maven 打包插件 --plugingroupIdorg.springframework.boot/groupIdartifactIdspring-boot-maven-plugin/artifactIdconfiguration!--打包时允许添加本地jar包--includeSystemScopetrue/includeSystemScope/configuration/plugin!-- maven 打包时跳过测试 --plugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-surefire-plugin/artifactIdversion2.20/versionconfigurationskipTeststrue/skipTests/configuration/plugin!-- 添加打包时间戳没有需求可以不加 --plugingroupIdorg.codehaus.mojo/groupIdartifactIdbuild-helper-maven-plugin/artifactIdversion3.2.0/versionexecutionsexecutionidtimestamp-property/idgoalsgoaltimestamp-property/goal/goalsconfigurationnamemodule.build.timestamp/namepattern${maven.build.timestamp.format}/patternlocalezh_CN/localetimeZoneAsia/Shanghai/timeZone/configuration/execution/executions/plugin/pluginsresourcesresourcedirectorysrc/main/resources/directory!--开启过滤用指定的参数替换directory下的文件中的参数--filteringtrue/filtering/resource/resources/build!-- maven多环境打包配置 --profiles!-- 开发环境 --profileiddev/idpropertiesspring.profiles.activedev/spring.profiles.active/properties!-- 设置为默认环境 --activationactiveByDefaulttrue/activeByDefault/activation/profile!-- 生产环境 --profileidprod/idpropertiesspring.profiles.activeprod/spring.profiles.active/properties/profile!-- 测试环境 --profileidtest/idpropertiesspring.profiles.activetest/spring.profiles.active/properties/profile/profiles配置完成后 IDEA 的 maven 会出现勾选框 3. 配置启动项 配置完成后运行对应环境的启动项打包对应环境的包 4. 异常 配置完以后运行或者 clean 后运行可能会出现 Do not use for indentation 异常尝试切换配置后点击 reload 按钮后再运行。
http://www.dnsts.com.cn/news/34861.html

相关文章:

  • 南京网站制作哪家专业外贸网站建设哪家有名
  • 六安城市网优选佛山网站关键词优化公司
  • 网站建设费钱吗wordpress怎么增加按钮
  • 免费画图网站平阴网站建设费用
  • 哈尔滨网站建设制作费用网页设计和网站制作
  • iis7发布网站教程做专题页的背景网站
  • 什么语言做网站快简诉网站建设的基本流程
  • 衡水高端网站建设动漫设计和动漫制作技术的区别
  • 如何提高网站收录量南昌公路建设有限公司网站
  • 长治一般建一个网站需要多少钱沈阳网站建设思路
  • 网站建设数据录入沈阳网站建站推广
  • 酒水食品做的好网站网站内容建设的原则是什么
  • 电子商务网站开发基础事件营销怎么做
  • 网站建设一年多少网站宽度设置
  • 傻瓜式网页制作网站做直播网站有哪些
  • 长治个人做网站开福区城乡建设局网站
  • 镇江手机网站制作上海网站建设企业
  • 贵阳网站建设王道下拉惠个人主页是指什么
  • 小型网站项目策划书广州网站建设高端
  • 余姚网站如何进行优化网站建设与维护理解
  • 外贸网站有必要吗网站建设服务兴田德润
  • 眉山住房和城乡建设局网站网络品牌营销策略
  • 广东省建设工程金匠奖公布网站中山百度关键词搜索
  • 自己电脑做的网站如何映射到公网济宁君天建设公司网站
  • python 网站开发怎么部署哈尔滨互联网公司
  • php网站怎么做302做虚假彩票网站判几年
  • 网站源码免费分享莱芜市
  • 网站的模板演示怎么做织梦cms下载
  • 网站规划主要内容深圳物流公司网站
  • 企业搭建网站多少钱医疗保健 网站 备案