Skip to content

albertus82/eclipse-custom-maven-presets-plugin

Repository files navigation

Eclipse Custom Maven Presets Plugin

Build Known Vulnerabilities

Add Maven presets in Eclipse "Run As" menu.

Usage

  1. Clone or download this repository (you can also fork it if you want to commit your customizations later);
  2. Edit plugin.properties and configure the presets you need (up to 9), e.g.:
    1.enabled=1
    1.class=org.eclipse.m2e.actions.ExecutePomAction:clean package
    1.label=Maven clean package
  3. Launch ./mvnw clean verify
  4. Close Eclipse and copy target/*.jar to the Eclipse plugins directory;
  5. Restart Eclipse with -clean option;
  6. Select a Maven project or a pom.xml file and check what's new in the "Run As" menu.

Before:

before

After:

after

About

Add Maven presets in Eclipse "Run As" menu.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published