[
https://issues.apache.org/jira/browse/ATLAS-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907274#comment-17907274
]
ASF subversion and git services commented on ATLAS-4950:
--------------------------------------------------------
Commit 4787b753271718d0b06cf6545f331f9a12ce1f63 in atlas's branch
refs/heads/branch-2.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=4787b7532 ]
ATLAS-4950: updated pom.xml to declare module dependencies
Signed-off-by: Pinal Shah <[email protected]>
(cherry picked from commit 17a7249ddeb81027c7696d3b3806eea8c49f8bde)
> Build failure due to incorrect ordering of modules
> --------------------------------------------------
>
> Key: ATLAS-4950
> URL: https://issues.apache.org/jira/browse/ATLAS-4950
> Project: Atlas
> Issue Type: Bug
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
> Attachments: ATLAS-4950.patch
>
>
> After recent addition of sortpom maven plugin, and sorting of pom.xml file
> contents, build with clean .m2/repository fails due to incorrect build order
> of modules. For example, build in hive-bridge fails with the following error,
> since hive-bridge-shim wasn't built yet:
> {noformat}
> atlas-build | [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:3.1.0:copy (copy-hook-shim)
> on project hive-bridge: Unable to find/resolve artifact.: Failure to find
> org.apache.atlas:hive-bridge-shim:jar:2.4.0 in https://repo1.maven.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 -> [Help 1]
> {noformat}
> pom.xml files should be updated to declare dependent modules to avoid this
> failure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)