美文网首页
子项目pom.xml文件

子项目pom.xml文件

作者: K也许K | 来源:发表于2017-10-22 00:51 被阅读0次
  • maven实现多模块化中子项目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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.xiaoyuantaobao</groupId>
        <artifactId>xiaoyuantaobao_parent</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </parent>
    <artifactId>xiaoyuantaobao_manager</artifactId>
    <packaging>pom</packaging>
    <modules>
        <module>xiaoyuantaobao_pojo</module>
        <module>xiaoyuantaobao_mapper</module>
       
    </modules>
    <build>
        <plugins>
            <!-- 配置Tomcat插件 -->
            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <configuration>
                    <port>8080</port>
                    <path>/</path>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

相关文章

网友评论

      本文标题:子项目pom.xml文件

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