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. If you wish to build these projects from the command line, use the following commands.
~~~ ~~~
cd alfresco-community-repo 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 ..
cd acs-community-packaging cd acs-community-packaging
mvn clean install -PcommunityDocker -Dmaven.javadoc.skip=true mvn clean install -Pbuild-docker-images -Dmaven.javadoc.skip=true
cd .. cd ..
~~~ ~~~
In Intellij IDEA, create a new project using the `work` directory as the source. In Intellij IDEA, create a new project using the `work` directory as the source.

View File

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

View File

@ -128,7 +128,7 @@
<profiles> <profiles>
<profile> <profile>
<id>communityDocker</id> <id>build-docker-images</id>
<!-- builds "image:latest" locally --> <!-- builds "image:latest" locally -->
<build> <build>
<plugins> <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 # update ":latest" image tags on remote repositories by using the maven *internal* profile
PROFILES="-Pinternal" PROFILES="-Pinternal"
else else
# build the ":latest" image tags locally with the maven *communityDocker* profile # build the ":latest" image tags locally with the maven *build-docker-images* profile
PROFILES="-PcommunityDocker" PROFILES="-Pbuild-docker-images"
fi fi
mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}" mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}"