Skip to content

Cannonical way to install NBM to Maven Repository - #9773

Open
jtulach wants to merge 2 commits into
apache:masterfrom
jtulach:jtulach/AntMavenInstall
Open

jtulach wants to merge 2 commits into
apache:masterfrom
jtulach:jtulach/AntMavenInstall

Conversation

@jtulach

@jtulach jtulach commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Install NBM into Local Maven Repository

  • there is a simple way to install any module from NetBeans Git repository into local Maven repository
netbeans$ ant -f platform/openide.util.lookup/ maven-install
  • add -DmavenVersion=RELEASE31 to replace/overwrite any binary produced by NetBeans 31 release process
  • exposing the functionality via popup menu action
Maven Install

Explanation

  • I have been searching for a way to install NBM into Maven repository recently
  • however then I found out that I had searched for this in 2019 as well
    • and maybe even sooner, as the ant maven-install task is had been there already
  • clearly the task isn't simple/documented enough otherwise I wouldn't be searching again and again
  • I'd like to expose the functionality more

@jtulach jtulach added this to the NB33 milestone Nov 1, 2026
@jtulach
jtulach requested a review from ebarboni November 1, 2026 07:10
@jtulach jtulach self-assigned this Nov 1, 2026
@jtulach jtulach added Platform [ci] enable platform tests (platform/*) Ant [ci] enable "build tools" tests build labels Nov 1, 2026

@ebarboni ebarboni left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice to have it in the IDE for dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ant [ci] enable "build tools" tests build Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants