Onboard Maven restores to CFS - #57
Conversation
Overall AssessmentCFS Maven onboarding for the additions repo — 15 files, 6 POMs (root + 5 modules), 2 CI templates, credential-provider scripts, and docs. Consistent with the companion PRs in Issues1. [Worth confirming] Root
|
| Area | Finding | Severity |
|---|---|---|
Root pom.xml |
Missing sonatype-nexus-snapshots plugin override present in all 5 modules |
Worth confirming |
6 POMs + settings.xml |
CFS URL duplicated in many places — consider centralizing | Nit |
Install-MavenCredentialProvider.ps1 |
Here-string indentation leaks into generated XML | Minor |
build.ps1 |
Silent ordering dependency on CI settings copy — add comment | Low |
All central repos |
Snapshots enabled — confirm all snapshots cached in feed | Worth confirming |
install-maven-credprovider.sh |
Version regex correct but could use a comment | Nit |
The PR is approvable. The most useful pre-merge checks are #1 (root vs module plugin-repo consistency) and #5 (snapshot coverage in the feed).
Swapnil Nagar (swapnil-nagar)
left a comment
There was a problem hiding this comment.
Review the comment by agent
|
Confirmed on the current head:
No further code change is needed for these findings. |
The 1ES network isolation CFSClean2 policy still recorded oss.sonatype.org connections. build.ps1 clones and builds azure-maven-plugins, and its azure-functions-maven-plugin pom declares a download repository under the id maven.snapshots. The mirror was scoped to central, so that id was never redirected and Maven reached Sonatype directly. Scope the mirror to external:* so every remote repository resolves through the feed regardless of the id its pom uses.
|
Correction to my last comment. I said no further code change was needed and that was wrong. The 1ES network isolation task in this PR's build reports CFSClean2 as NOT COMPLIANT with 10 connections to The cause is
For context on where this stands, |
|
CI confirms it. Build 296478 is green and the network isolation task now reports every CFS policy compliant.
There are no connections to |
Summary
upstream-publicCFS feed in every module.This follows the Maven onboarding pattern from Azure/azure-functions-openai-extension#218.
Validation