common 子工程的 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"><parent><artifactId>fmmall</artifactId><groupId>com.luis</groupId><version>2.0.1</version></parent><modelVersion>4.0.0</modelVersion><artifactId>common</artifactId><!-- 不指定默认也是 jar --><packaging>jar</packaging></project>
beans 子工程的 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"><parent><artifactId>fmmall</artifactId><groupId>com.luis</groupId><version>2.0.1</version></parent><modelVersion>4.0.0</modelVersion><artifactId>beans</artifactId><!-- 不指定默认也是 jar --><packaging>jar</packaging></project>
mapper 子工程的 pom<?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>fmmall</artifactId><groupId>com.luis</groupId><version>2.0.1</version></parent><modelVersion>4.0.0</modelVersion><artifactId>mapper</artifactId><!-- 不指定默认也是 jar --><!--<packaging>jar</packaging>--><dependencies><!-- beans --><dependency><groupId>com.luis</groupId><artifactId>beans</artifactId><version>2.0.1</version></dependency><!-- mysql --><dependency><groupId>mysql</groupId><artifactId>mysql-connector-java</artifactId><version>5.1.47</version></dependency><!-- mybatis--><dependency><groupId>org.mybatis.spring.boot</groupId><artifactId>mybatis-spring-boot-starter</artifactId><version>2.1.4</version></dependency><!-- spring-boot-starter --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter</artifactId><version>2.4.4</version></dependency><!-- druid --><dependency><groupId>com.alibaba</groupId><artifactId>druid-spring-boot-starter</artifactId><version>1.2.9</version></dependency><!-- test --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><version>2.4.4</version></dependency><!-- junit 单元测试--><dependency><groupId>junit</groupId><artifactId>junit</artifactId><scope>test</scope></dependency></dependencies></project>
service 子工程的 pom<?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>fmmall</artifactId><groupId>com.luis</groupId><version>2.0.1</version></parent><modelVersion>4.0.0</modelVersion><artifactId>service</artifactId><!-- 不指定默认也是 jar --><!--<packaging>jar</packaging>--><dependencies><!-- mapper --><dependency><groupId>com.luis</groupId><artifactId>mapper</artifactId><version>2.0.1</version></dependency><!-- common 需要用到 vo,utils,封装数据传参到前端以及工具类 --><dependency><groupId>com.luis</groupId><artifactId>common</artifactId><version>2.0.1</version></dependency></dependencies></project>
经验总结扩展阅读
- 建筑公司取名字大全集免费 建筑工程公司起名字大全
- 工程造价专业主要学什么 要学哪些课程
- 2023电气工程专业学什么 就业前景怎么样
- 女生学软件工程好就业吗 找什么工作
- springboot项目整合-注册功能模块开发
- 食品科学与工程专业毕业后干什么工作
- 高分子材料与工程专业毕业后干什么工作
- 高分子材料工程技术专业毕业后干什么工作
- 高速铁道工程技术专业毕业后干什么工作
- 女生学软件工程很难吗 发展前景好吗