Eric created ATLAS-4993:
---------------------------

             Summary: 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


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)

Reply via email to