Skip to content

Conversation

@prasanthkv
Copy link
Collaborator

@prasanthkv prasanthkv commented Dec 5, 2024

Motivation

Post introduction of parameterized tests we were getting unresolved parent pom error.

[ERROR] The project com.*.*.*.*:*-*:3.3.0-SNAPSHOT 
    (/Volumes/WorkSpace/*/*/*/*/pom.xml) has 1 error [ERROR] 
    Non-resolvable parent POM for com.ebay.ejmask:ejmask-bom:${revision}${changelist}: T
    he following artifacts could not be resolved: com.ebay.ejmask:ejmask-parent:pom:${revision}${changelist} 
    (absent): Could not transfer artifact com.ebay.ejmask:ejmask-parent:pom:${revision}${changelist} from/to * (https://*.*.*.com/content/repositories/v3debt/):
     status code: 401, reason phrase: Unauthorized (401) @ com.ebay.ejmask:ejmask-bom:${revision}${changelist},
      /Volumes/WorkSpace/*/maven/m2/*/com/ebay/ejmask/ejmask-bom/1.2.0/ejmask-bom-1.2.0.pom, line 4, column 13 -> [Help 2] [ERROR]

Proposed Changes

To avoid issues caused by variables in parent pom we introduced maven pom flattener

Test Plan

build with new version

@prasanthkv prasanthkv enabled auto-merge (squash) December 5, 2024 22:00
@prasanthkv prasanthkv disabled auto-merge December 5, 2024 22:01
RandySun228
RandySun228 previously approved these changes Dec 5, 2024
@prasanthkv prasanthkv merged commit d69e758 into eBay:master Dec 5, 2024
1 check passed
@prasanthkv prasanthkv deleted the fix/bom-issue branch December 5, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants