您的位置:首页 > 其它

maven 依赖 继承 聚合的配置

2014-03-10 23:27 337 查看
pom的配置文件中

1.依赖

<dependencies>

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>${junit.version}</version>

</dependency>

</dependencies>

2.继承

<parent>

<groupId>com.xx.xx</groupId>

<artifactId>xx-parent</artifactId>

<version>1.0-SNAPSHOT</version>

</parent>

3.聚合

<modules>

<module>test</module>

</modules>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: