继承实现步骤:
1.建立父工程: 父工程的打包方式为pom
首先先创建一个maven工程,选择打包方式为pom
2.在父工程的pom.xml中编写依赖:
父工程的依赖需要标明在<dependencyManagement></dependencyManagement>中(与普通maven项目的区别)
<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.zzw.maven</groupId>
<