I am having miscro services project it has local repository dependency when i run self-hosted then only code will compile or else if am using microsoft hosted agent code is not compiling

Anonymous
2024-02-26T12:59:42+00:00

I am having miscro services project it has local repository dependency when i run self-histed then only code will compile or else if am using microsoft hosted agent code is not compiling. Its is throwing below error . If any solution for my cs-bom dependency ?

error:

[ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for com.cs:bank-configuration-service:1.0.0: Failure to find com.cs:cs-bom:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10@[ERROR] The build could not read 1 project -> [Help 1][ERROR][ERROR] The project com.cs:bank-configuration-service:1.0.0 (/home/sparrow/myagent/_work/5/s/pom.xml) has 1 error[ERROR] Non-resolvable parent POM for com.cs:bank-configuration-service:1.0.0: Failure to find com.cs:cs-bom:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Windows for business | Windows Server | Directory services | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-02-27T01:21:53+00:00

    Hello Manoj Kumar_130,

    Thank you for posting in Microsoft Community forum.

    It seems the problem is related to code.

    What programming language are you using on this project?

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou

    0 comments No comments