Skip to main content
Jump to: navigation, search

Difference between revisions of "M2E/Extension Development"

< M2E
(Replaced content with "[https://www.eclipse.org/m2e/documentation/m2e-extension-development.html This page is now here]")
 
(23 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== Prerequisites ==
+
[https://www.eclipse.org/m2e/documentation/m2e-extension-development.html This page is now here]
 
+
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]]
+
 
+
[[Submitting M2E marketplace entries]]
+
 
+
[[M2E extension development environment]]
+

Latest revision as of 07:27, 14 November 2014

This page is now here

Back to the top