Madhan Neethiraj created ATLAS-4950:
---------------------------------------
Summary: 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
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)