美文网首页
创建多模块项目

创建多模块项目

作者: 明天也是奋斗鸭 | 来源:发表于2019-04-17 23:43 被阅读0次

    1.首先创建一个空的项目

    image

    接下来是这个

    image

    点击加号new modules

    image

    新建一个空白标准maven project

    image

    写项目坐标

    image

    填写maven项目名并finish

    image

    之前的步骤再来一遍

    image

    写项目坐标(上面全部选为none)

    image

    改写自己的路径

    image

    结束

    配置xml

       <properties>
           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
           <maven.compiler.source>1.8</maven.compiler.source>
           <maven.compiler.target>1.8</maven.compiler.target>
           <spring.version>5.0.10.RELEASE</spring.version>
       </properties>
    
       <dependencies>
           <dependency>
               <groupId>junit</groupId>
               <artifactId>junit</artifactId>
               <version>4.12</version>
               <scope>test</scope>
           </dependency>
    
    

    相关文章

      网友评论

          本文标题:创建多模块项目

          本文链接:https://www.haomeiwen.com/subject/lhdawqtx.html