ACS-1464 Rename the local docker build profiles into *build-docker-images*

(cherry picked from commit 878eb3750f43c185585b47928bc47a60b7893942)
This commit is contained in:
alandavis 2021-05-05 21:10:18 +01:00
parent 669e4db5a4
commit ad15447446
4 changed files with 6 additions and 6 deletions

View File

@ -121,11 +121,11 @@ git clone git@github.com:Alfresco/acs-community-packaging.git
If you wish to build these projects from the command line, use the following commands.
~~~
cd alfresco-community-repo
mvn clean install -PcommunityDocker -DskipTests=true -Dversion.edition=Community
mvn clean install -Pbuild-docker-images -DskipTests=true -Dversion.edition=Community
cd ..
cd acs-community-packaging
mvn clean install -PcommunityDocker -Dmaven.javadoc.skip=true
mvn clean install -Pbuild-docker-images -Dmaven.javadoc.skip=true
cd ..
~~~
In Intellij IDEA, create a new project using the `work` directory as the source.

View File

@ -618,7 +618,7 @@
<profile>
<!-- builds "image:latest" locally -->
<id>communityDocker</id>
<id>build-docker-images</id>
<build>
<plugins>
<plugin>

View File

@ -128,7 +128,7 @@
<profiles>
<profile>
<id>communityDocker</id>
<id>build-docker-images</id>
<!-- builds "image:latest" locally -->
<build>
<plugins>

View File

@ -10,8 +10,8 @@ if isBranchBuild && [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_BUILD_STAGE
# update ":latest" image tags on remote repositories by using the maven *internal* profile
PROFILES="-Pinternal"
else
# build the ":latest" image tags locally with the maven *communityDocker* profile
PROFILES="-PcommunityDocker"
# build the ":latest" image tags locally with the maven *build-docker-images* profile
PROFILES="-Pbuild-docker-images"
fi
mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}"