mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
ACS-1464 Rename the local docker build profiles into *build-docker-images*
(cherry picked from commit 878eb3750f43c185585b47928bc47a60b7893942)
This commit is contained in:
parent
669e4db5a4
commit
ad15447446
@ -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.
|
||||
|
@ -618,7 +618,7 @@
|
||||
|
||||
<profile>
|
||||
<!-- builds "image:latest" locally -->
|
||||
<id>communityDocker</id>
|
||||
<id>build-docker-images</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -128,7 +128,7 @@
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>communityDocker</id>
|
||||
<id>build-docker-images</id>
|
||||
<!-- builds "image:latest" locally -->
|
||||
<build>
|
||||
<plugins>
|
||||
|
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user