Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for maven plugins (extensions) #93

Closed
hohwille opened this issue Oct 16, 2023 · 0 comments · Fixed by #141
Closed

Support for maven plugins (extensions) #93

hohwille opened this issue Oct 16, 2023 · 0 comments · Fixed by #141
Assignees
Labels
configuration should be configurable or configuration change enhancement New feature or request mvn related to apache maven build tool plugins related to plugins (for Eclipse, Intellij, VSCode, etc.)

Comments

@hohwille
Copy link
Member

hohwille commented Oct 16, 2023

As a IDEasy user, I want to have the ability to define extensions that get installed automatically so that I can make use of advanced features in maven.

Examples for such plugins/extensions:

So just like our IDEs can be enhanced with plugins, we should implement the same for maven:

  • Honor *.properties files for maven plugins (see story Ability to define plugins in user config #94)
  • Add a post-installation to Mvn commandlet that downloads all active plugins and drops them into the $MAVEN_HOME/lib/ext folder.

Please note that I can not currently find a way to to add plugins to maven externally without manipulating the maven installation. However, for simplicity we will not consider these plugins as project driven but rather user-driven.
Therefore

Here an example for maven-notifier.properties:

groupId=fr.jcgay.maven
artifactId=maven-notifier
#version=2.1.2 #if omitted, use latest
#url=https://repo1.maven.org/maven2 #if omitted use maven-central
active=true #if omitted, use true

This story is related to #10 (and #94). It should be considered to create an abstract base class for plugin based commandlets:

  • PluginBasedToolCommandlet extends LocalToolCommandlet
    • Mvn extends PluginBasedToolCommandlet
    • IdeToolCommandlet extends PluginBasedToolCommandlet
      • Eclipse extends IdeToolCommandlet
      • ...

ATTENTION: This story is somehow blocked or conflicting with #94

@hohwille hohwille added enhancement New feature or request configuration should be configurable or configuration change mvn related to apache maven build tool plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) labels Oct 16, 2023
@hohwille hohwille added this to the release:2024.01.001 milestone Oct 16, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Oct 16, 2023
@alfeilex alfeilex self-assigned this Oct 25, 2023
@alfeilex alfeilex moved this from 🆕 New to 🏗 In progress in IDEasy board Oct 27, 2023
@tobka777 tobka777 moved this from 🏗 In progress to Team Review in IDEasy board Nov 17, 2023
@tobka777 tobka777 moved this from Team Review to 🏗 In progress in IDEasy board Nov 30, 2023
hohwille pushed a commit that referenced this issue Jan 22, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration should be configurable or configuration change enhancement New feature or request mvn related to apache maven build tool plugins related to plugins (for Eclipse, Intellij, VSCode, etc.)
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants