Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

M2E/Extension Development

Prerequisites

Some OSGi bundle development and PDE knowledge is assumed.

TODO link to some PDE tutorial and


Project directory structure overview

 org.somecatchyname/                   <= project basedir, all project files are under this directory
   org.somecatchyname.m2e/             <= main bundle project
     src/
     pom.xml
   org.somecatchyname.m2e.tests/       <= automated tests (optional, but highly recommended)
     src/
     pom.xml
   org.somecatchyname.m2e.feature/     <= eclipse feature project
     feature.xml
     pom.xml
   pom.xml                             <= aggregator pom.xml
 

This wiki assumes project basedir is /var/tmp/somecatchyname, but this can obviously be any other directory.


Create test bundle project

 org.somecatchyname.m2e.tests/
   src/
   projects/
     basic/                     <= test maven project used to verify m2e extension behaviour 
       pom.xml
   pom.xml

Use Plug-In Project new project wizard to create main bundle project. This is regular PDE stuff.


Create main bundle project


Submitting M2E marketplace entries

M2E extension development environment

Back to the top