This was generated using the pom.xml file
You can then immediately compile your project and use Ant.
3.
Maven Plugin for Eclipse
Eclipse IDE could be used either with Maven plugins or without any
plugin by using Eclipse just for its java editor.
3.1
Eclipse plugins:
- The
maven Integration for Eclipse is
the first and most mature of the projects aimed at integrating Maven
within the Eclipse IDE. It is released under the EPL 1.0 license.
- Eclipse IAM is a newer
Apache
Maven plugin for Eclipse with a fresh approach for
Maven integration with the Eclipse IDE and other Eclipse plugins (JDT,
WTP, Candy for Appfuse,...), also opening the doors for other Eclipse
plugin developers to access Maven features as easily as possible.
Developers are today a little
frustrated
with these two plugins which are not fully respecting maven spirit.
Current plugins try to use Eclipse and Maven as two separate
frameworks and join both of them within multiple advanced features.
We think that Maven should be the framework and Eclipse
should only be used for the java editor and modeling purposes.
We agree this is a serious limitation
for Eclipse, but if users decide to select maven as their first choice
they don't therefore need so many other features which break the tight
Eclipse Java editor and maven easy integration.
Omondo could therefore in the near
future develop an advanced Maven plugin inside Eclipse focused on the
Java Editor and sell this
plugin within EclipseUML suites of tools in the near future.
3.2
Java Editor:
- Create your project structure using Maven
- Import your Maven project inside Eclipse (see Xerces example)
If you decide to use Eclipse for its java editor and UML modeling then
Eclipse will only be used as an editor and not as a framework.
This is today our recommended solution.
4. How to use
EclipseUML with Maven in an incremental modeling life cycle
It is currently possible to use incremental modeling cycle with
Maven and EclipseUML.
Users can select two ways of working:
- use the Eclipse plugins and invoke Maven from Eclipse
- just use the Eclipse Java Editor, the EclipseUML plugin by
importing an existing maven project and don't invoke maven from Eclipse
(recommended solution)
Don't forget that you can use the following EclipseUML features with
Maven: