[
https://issues.apache.org/jira/browse/ATLAS-4993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929414#comment-17929414
]
ASF subversion and git services commented on ATLAS-4993:
--------------------------------------------------------
Commit 1a9192155cac5590e6b9bc14bab8209ba909b332 in atlas's branch
refs/heads/master from erdenebayrd
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=1a9192155 ]
ATLAS-4993: ensure ${HOME}/.m2 exists before building Atlas (#298)
> Ensure ${HOME}/.m2 directory exists before starting Atlas build
> ---------------------------------------------------------------
>
> Key: ATLAS-4993
> URL: https://issues.apache.org/jira/browse/ATLAS-4993
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-docker
> Affects Versions: 2.4.0
> Reporter: Eric
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, when running the Atlas build process using:
> docker-compose -f docker-compose.atlas-base.yml -f
> docker-compose.atlas-build.yml up
> some users encounter permission errors related to the {{.m2}} directory.
> To address this, we need to ensure that the {{${HOME}/.m2}} directory exists
> before starting the build. Instead of adding an extra setup step, this change
> updates Step *6.1* in the README to include:
> mkdir -p ${HOME}/.m2
> before the build command.
> This prevents permission issues without introducing long delays caused by
> recursive ownership changes.
> *Impact:*
> * Avoids build failures due to missing {{.m2}} directory.
> * Speeds up execution by eliminating the need for a full {{chown}} on
> {{{}.m2/repository{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)