[ https://issues.apache.org/jira/browse/SCB-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated SCB-630: ----------------------------- Labels: easyfix newbie (was: easyfix) > Active the -Pdocker profile if detect the docker installation > -------------------------------------------------------------- > > Key: SCB-630 > URL: https://issues.apache.org/jira/browse/SCB-630 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga > Reporter: Willem Jiang > Priority: Major > Labels: easyfix, newbie > > Currently we use the -Pdocker to use the docker enabled feature to avoid the > build failure if there is no docker installation. > Now we can use the maven [profile with > activation|https://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html] > to enable the docker profile automatically. > {code} > <activation> > <file> > <exists>/var/run/docker.sock</exists> > </file> > <property> > <name>env.DOCKER_HOST</name> > </property> > </activation> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)