---
title: "Maven+myeclipse 创建聚合项目 "
author: "cuiyaoonan2000"
date: "2014-10-20T16:30:26Z"
tags: ["maven"]
categories: ["开源软件"]
slug: "maven-myeclipse"
draft: false
lastmod: "2014-10-20T16:35:41Z"
id: 2145616
url: "https://cuiyaoonan2000.iteye.com/blog/2145616"
---

首先:在myeclipse中 file--&gt;new--&gt;other,在上输入maven,点击如图中的选项

![](http://dl2.iteye.com/upload/attachment/0102/2097/a1c373e7-1c70-33f4-afe9-b292e1c78b26.png)  
 

 然后next显示如下

![](http://dl2.iteye.com/upload/attachment/0102/2099/13755020-38f3-3eed-8613-41879aa2baa5.png)  
 点击next如下所示

![](http://dl2.iteye.com/upload/attachment/0102/2107/d4c051e3-dc35-3d1a-b662-a8e06ca22aea.png)  
   
 点击next 输入如下所示

![](http://dl2.iteye.com/upload/attachment/0102/2101/9fd21bfa-6dc7-344e-8575-512bb5f15bad.png)  
 

 如此 聚合项目创建成功显示如下:  
![](http://dl2.iteye.com/upload/attachment/0102/2103/403160c6-ad47-3866-ab84-dc3bd43f3f5e.png)  
 如上的就是聚合项目了,相当于父项目.该父项目没有任何代码,它相当于一个容器,里面可以包含很多其他的maven项目,并且maven的项目可是web工程,也可以是其它的工程.

 

就不截图了,首先在testAggregator上右击--&gt;new--&gt;other--&gt;maven model 后面的操作就跟大家平时操作一样了