Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Improved Maven-runtime projects setup

Hello m2e-developers,
 
the Maven-runtime projects were improved and are now Eclipse plug-in projects (with embedded jars) in the development workspace and participate in the regular PDE/JDT workspace build directly.
 
For developers this has two major advantages:
- sources are available by default during development and debugging
- modifying the maven-runtime components and testing them is significantly simpler and modifications are (almost) instantly visible
 
The changes require to use the latest Eclipse 2021-12 milestone 1 for development, that is available from the 'latest' stream via Oomph as of today.
After you have updated to the current master a small Maven build has be executed to generate the OSGi-metadata and fetch the embedded jars for those projects.
To run this build you can either perform the Oomph setup tasks (manually or simply by restarting your Dev-Eclipse) or launch the preconfigured "m2e-maven-runtime--generate-OSGi-metadata" build.
This has to be repeated when the maven-runtime components have changed.
Therefore I recommend to use m2e's Oomph setup configuration. It specifies the required Eclipse version for development and performs the 'metadata'-build on every execution (for example on each start).
 
For further information see m2e's developer resources: https://github.com/eclipse-m2e/m2e-core/blob/master/CONTRIBUTING.md#-developer-resources
Those who are interested can find the details in m2e PR 276: https://github.com/eclipse-m2e/m2e-core/pull/276
 
 
Greetings
 
Hannes
 
 
 

Back to the top