Skip to main content
Jump to: navigation, search

Difference between revisions of "M2E/Extension Development"

< M2E
m
Line 1: Line 1:
 +
== 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 ==
 +
 +
 +
----
 +
 
[[Category:M2E]]
 
[[Category:M2E]]
  

Revision as of 06:05, 17 June 2011

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