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

晓风彩票网站建设源代码授权品牌推广计划书怎么写

晓风彩票网站建设源代码授权,品牌推广计划书怎么写,自己想做个网站怎么做的,越秀电子商务网站建设项目环境 jdk 1.8spring 2.7.xmaven 3.6 项目结构 模块功能 client – 对外service common – 共用工具切面等 main – 启动类 goods – 子模块具体实现 模块间依赖关系 client – 无依赖 common – 无依赖 main – client、common、goods goods – client、common 具体P…

项目环境

  1. jdk 1.8
  2. spring 2.7.x
  3. maven 3.6

项目结构

在这里插入图片描述

模块功能

client – 对外service
common – 共用工具切面等
main – 启动类
goods – 子模块具体实现

模块间依赖关系

client – 无依赖
common – 无依赖
main – client、common、goods
goods – client、common

具体POM配置

顶级pom

引入需要被使用的所有项目子模块,并统一制定版本号

    <groupId>org.ct</groupId><artifactId>gp-data-analysis</artifactId><packaging>pom</packaging><version>${gp-data.version}</version><modules><module>gp-data-client</module><module>gp-data-common</module><module>gp-futrue-goods</module><module>gp-data-main</module></modules><properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target><gp-data.version>1.0.0</gp-data.version></properties><dependencyManagement><dependencies><dependency><groupId>org.ct</groupId><artifactId>gp-data-analysis</artifactId><version>${gp-data.version}</version></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-main</artifactId><version>${gp-data.version}</version></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-common</artifactId><version>${gp-data.version}</version></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-client</artifactId><version>${gp-data.version}</version></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-futrue</artifactId><version>${gp-data.version}</version></dependency></dependencies></dependencyManagement><build><!-- 引入maven打包工具 --><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.1</version><configuration><source>1.8</source><target>1.8</target></configuration></plugin><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><skip>true</skip></configuration></plugin></plugins></build>

client、common、goods类似

	<!-- 指定父pom版本 --><parent><artifactId>gp-data-analysis</artifactId><groupId>org.ct</groupId><version>${gp-data.version}</version></parent>

main 设置打包入口,扫描的xml配置项等
    main 中dependency中引入顺序需要注意,需要保证,未被依赖的在前,被依赖的子模块在后。因为此处的顺序决定了maven install的顺序

    <parent><artifactId>gp-data-analysis</artifactId><groupId>org.ct</groupId><version>${gp-data.version}</version></parent><dependencies><dependency><groupId>org.ct</groupId><artifactId>gp-data-common</artifactId></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-client</artifactId></dependency><dependency><groupId>org.ct</groupId><artifactId>gp-data-futrue</artifactId></dependency></dependencies><build><plugins><!--打包插件--><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><version>2.4.3</version><executions><execution><goals><!-- 整合打jar包 --><goal>repackage</goal></goals></execution></executions><configuration><!--支持静态文件热部署--><addResources>true</addResources><!-- 指定该Main Class为全局的唯一入口 --><mainClass>org.ct.gp.GpDataBootApplication</mainClass></configuration></plugin></plugins><!--打包规则,打包时将resources文件夹打包进去--><resources><resource><directory>src/main/resources</directory><filtering>false</filtering></resource><!--保证mapper文件夹中的.xml文件可以被编译--><resource><directory>src/main/java</directory><includes><include>**/*.xml</include></includes><filtering>false</filtering></resource></resources></build>

使用maven打包root目录
在这里插入图片描述
生成的main jar,及包含了所有模块
在这里插入图片描述

http://www.ds6.com.cn/news/88720.html

相关文章:

  • 电话卡代理平台国内seo服务商
  • 巢湖网站制作关键词大全
  • 专业app网站建设哪家好免费私人网站建设软件
  • 科技网站建设百度广告太多
  • 网站用不用备案网站如何在百度刷排名
  • 自助建站设计工作主要包括品牌营销成功案例
  • 做暧暧视频网站w今天国际新闻最新消息
  • 红色大气企业源码公司网站模板asp带后台完整生成静态html企业站简单的个人网页制作html
  • 纺织网站模板徐州网站关键词排名
  • 美女做羞羞事全过程网站西安seo培训
  • 关于公司建网站微信营销
  • 国土网站建设自查报告企业网站建设多少钱
  • 青岛专业制作网站武汉百度推广seo
  • 中核二二建设有限公司运营推广seo招聘
  • 个人网站写什么好网站seo整站优化
  • 域名停靠网站百度一下百度一下你就知道
  • 做音乐网站要求中央新闻
  • 河北建筑工程学院招生网昆明长尾词seo怎么优化
  • 石大网页设计与网站建设搜索引擎优化排名培训
  • 做网站难吗?百度天眼查
  • 找公司做网站怎么图片都要自己找如何对产品进行推广
  • dedecms网站后台模板网络营销的工具和方法有哪些
  • 德州做网站最好的公司东莞网站提升排名
  • 二建证从住房建设厅网站调出流程自己怎么优化网站排名
  • 泉州网站建设维护seo系统培训课程
  • 网站 所有权平台软件定制开发
  • 安徽网站定制软文广告500字
  • 网站html地图怎么做的推广平台网站热狗网
  • 教你用模板做网站seo人工智能
  • 流行网站类型5118关键词挖掘工具