maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Niefer <>
Subject [m2] Building Eclipse plugins using Maven 2
Date Wed, 07 Sep 2005 20:58:41 GMT
 I have started looking at what would need to be done in order to build 
Eclipse plugins using Maven 2. 

The general idea is that POM files could be generated using information in 
the plugins', plugin.xml and files.  At first 
glance, the required information consists of the dependencies (out of the 
manifest or plugin.xml), the sources and resources (from

One of the first problems that arises is physical layout.  An eclipse 
workspace with a set of plugins that need to be considered at the same 
time, these plugins do not necessarily reside in the same location on 
We will want to treat these plugins as <modules/> under a common parent. 
The first question then is for each module, do we copy all the sources & 
resources into the normal maven layout, or do we create only the pom.xml 
and point to the original locations using the <sourceDirectory/> and 
<resource><directory/> tags.

Because an eclipse plugin can result in more than one jar file, we may 
then have nested modules for each additional jar.

There will also be dependencies on plugins that exist in a target eclipse 
installation instead of in the workspace.  Jars for these plugins would 
need to be placed into the local repository.  POM files would also need to 
be generated for these to specify their interdependencies.

The install phase would be different from the normal m2 install.  We would 
need to gather the jars and any additional resources into the standard 
eclipse features & plugins directories.  I have not yet looked into this.

I would welcome any comments people have,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message