diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 947a973d5614..53a236a5abdd 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -456,6 +456,17 @@ jobs:
- name: Build nbms
run: ant $OPTS build-nbms
+ - name: Maven Install
+ run: |
+ # install all NBMs
+ ant maven-install -Dnbm.install.version=99-SNAPSHOT
+ # remove one
+ rm -r $HOME/.m2/repository/org/netbeans/api/org-openide-awt/99-SNAPSHOT/
+ # install a single NBM
+ ant -f platform/openide.awt maven-install -Dnbm.install.version=99-SNAPSHOT
+ # verify pom is installed
+ cat $HOME/.m2/repository/org/netbeans/api/org-openide-awt/99-SNAPSHOT/org-openide-awt-99-SNAPSHOT.pom
+
# runs only in PRs if requested; ~18 min
- name: Build all Tests
if: env.test_tests == 'true' && github.event_name == 'pull_request' && success()
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 7fe00ca5b472..414da5dacb57 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -407,14 +407,79 @@ metabuild.hash=${metabuild.hash}
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/nbbuild/default-properties.xml b/nbbuild/default-properties.xml
index 88ce933b8d3a..a072b9eab325 100644
--- a/nbbuild/default-properties.xml
+++ b/nbbuild/default-properties.xml
@@ -50,6 +50,16 @@
+
+
+
+
+
+
+
diff --git a/nbbuild/nbproject/project.xml b/nbbuild/nbproject/project.xml
index 976d1a4e0fe3..b8fe340604ef 100644
--- a/nbbuild/nbproject/project.xml
+++ b/nbbuild/nbproject/project.xml
@@ -188,6 +188,10 @@
build-nozip
+
+
+ maven-install
+
clean
@@ -196,10 +200,6 @@
commit-validation
-
-
- -Dname=apisupport rebuild-cluster
-
diff --git a/nbbuild/templates/projectized.xml b/nbbuild/templates/projectized.xml
index bdd324ce7478..fedd35136998 100644
--- a/nbbuild/templates/projectized.xml
+++ b/nbbuild/templates/projectized.xml
@@ -234,8 +234,7 @@
-
-
+
@@ -894,9 +893,8 @@
-
+
-
@@ -919,8 +917,9 @@
+
-
+
@@ -928,8 +927,11 @@
-
+
+
+
-
+
+