[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

2026-10-02 Thread AsterixDB Code Review
>From Michael Blow :

Michael Blow has posted comments on this change by Michael Blow. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email )

Change subject: [NO ISSUE][MISC] Keep maven-core out of the build plugins' 
realms
..


Patch Set 3: Code-Review+2 Verified+1


--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Gerrit-Change-Number: 21972
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Blow 
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins 
Gerrit-Reviewer: Michael Blow 
Gerrit-Comment-Date: Fri, 02 Oct 2026 14:44:23 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes


[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

2026-10-02 Thread AsterixDB Code Review
Anon. E. Moose #1000171 has posted comments on this change by Michael Blow. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email )

Change subject: [NO ISSUE][MISC] Keep maven-core out of the build plugins' 
realms
..


Patch Set 3:

Analytics Compatibility Compilation Successful
https://cbjenkins.page.link/nPYgZc9oZ7XEKs33A : SUCCESS


--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Gerrit-Change-Number: 21972
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Blow 
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins 
Gerrit-Reviewer: Michael Blow 
Gerrit-Comment-Date: Fri, 02 Oct 2026 14:45:34 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No


[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

2026-10-02 Thread AsterixDB Code Review
>From Michael Blow :

Michael Blow has submitted this change. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email )

Change subject: [NO ISSUE][MISC] Keep maven-core out of the build plugins' 
realms
..

[NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

- user model changes: no
- storage format changes: no
- interface changes: no

Details: Since the advance to 3.10.0, maven-core and maven-compat bring
maven-resolver-provider 3.10.0 and with it maven-resolver-transport-file
and -transport-apache 2.0.24. license-automation-plugin and
asterix-grammar-extension-maven-plugin declared both at compile scope,
so those jars entered the plugin realm. Their Sisu components are
discovered into the shared container, and the next artifact download
anywhere in the reactor picks up FileTransporterFactory 2.0.24. On a
Maven 3.8.x runtime that class binds to the core's resolver 1.6.3 API
and fails with NoClassDefFoundError:
org/eclipse/aether/repository/RepositoryUriUtils.

The Maven runtime supplies both artifacts to every plugin, so declare
them provided. maven-remote-resources-plugin 1.7.0 also depends on
maven-core at compile scope, managed here to 3.10.0, which brings the
same jars back into license-automation-plugin's realm; exclude it there.

Ext-ref: MB-73268
Generated-by: Claude Opus 5.5 
Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972
Reviewed-by: Michael Blow 
Tested-by: Michael Blow 
---
M asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
M 
hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Michael Blow: Looks good to me, approved; Verified




diff --git 
a/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
 
b/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
index e4cf873..ddac512 100644
--- 
a/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
+++ 
b/asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
@@ -36,10 +36,12 @@
 
   org.apache.maven
   maven-core
+  provided
 
 
   org.apache.maven
   maven-compat
+  provided
 
 
 
diff --git 
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
 
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
index 4fa9be8..04b1f31 100644
--- 
a/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
+++ 
b/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
@@ -41,10 +41,17 @@
 
   org.apache.maven
   maven-core
+  provided
 
 
   org.apache.maven.plugins
   maven-remote-resources-plugin
+  
+
+  org.apache.maven
+  maven-core
+
+  
 
 
   com.fasterxml.jackson.core
@@ -87,6 +94,7 @@
 
   org.apache.maven
   maven-compat
+  provided
 
 
   org.apache.hyracks

--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Gerrit-Change-Number: 21972
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Blow 
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins 
Gerrit-Reviewer: Michael Blow 


[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

2026-10-02 Thread AsterixDB Code Review
>From Michael Blow :

Attention is currently required from: Michael Blow.

Hello Anon. E. Moose #1000171, Jenkins,

I'd like you to reexamine a change. Please visit

https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email

to look at the new patch set (#3).

The following approvals got outdated and were removed:
Integration-Tests-1 by Jenkins


Change subject: [NO ISSUE][MISC] Keep maven-core out of the build plugins' 
realms
..

[NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

- user model changes: no
- storage format changes: no
- interface changes: no

Details: Since the advance to 3.10.0, maven-core and maven-compat bring
maven-resolver-provider 3.10.0 and with it maven-resolver-transport-file
and -transport-apache 2.0.24. license-automation-plugin and
asterix-grammar-extension-maven-plugin declared both at compile scope,
so those jars entered the plugin realm. Their Sisu components are
discovered into the shared container, and the next artifact download
anywhere in the reactor picks up FileTransporterFactory 2.0.24. On a
Maven 3.8.x runtime that class binds to the core's resolver 1.6.3 API
and fails with NoClassDefFoundError:
org/eclipse/aether/repository/RepositoryUriUtils.

The Maven runtime supplies both artifacts to every plugin, so declare
them provided. maven-remote-resources-plugin 1.7.0 also depends on
maven-core at compile scope, managed here to 3.10.0, which brings the
same jars back into license-automation-plugin's realm; exclude it there.

Ext-ref: MB-73268
Generated-by: Claude Opus 5.5 
Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
---
M asterixdb/asterix-maven-plugins/asterix-grammar-extension-maven-plugin/pom.xml
M 
hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/pom.xml
2 files changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/72/21972/3
--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Gerrit-Change-Number: 21972
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Blow 
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins 
Gerrit-Attention: Michael Blow 


[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Keep maven-core out of the build plugins' realms

2026-10-02 Thread AsterixDB Code Review
Attention is currently required from: Michael Blow.

Anon. E. Moose #1000171 has posted comments on this change by Michael Blow. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email )

Change subject: [NO ISSUE][MISC] Keep maven-core out of the build plugins' 
realms
..


Patch Set 3:

https://server.jenkins.couchbase.com/job/asterixdb-restricted-branch-check/7343/artifact/restriction/restricted.html
 : CHANGE APPROVED for submitting to restricted branch


--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21972?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I336c115eef1eea6fe899b863e23bc368f2672647
Gerrit-Change-Number: 21972
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Blow 
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins 
Gerrit-Attention: Michael Blow 
Gerrit-Comment-Date: Fri, 02 Oct 2026 14:37:43 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No