You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/06/14 07:10:00 UTC
[jira] [Assigned] (SCB-630) Active the -Pdocker profile if detect
the docker installation
[ https://issues.apache.org/jira/browse/SCB-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned SCB-630:
--------------------------------
Assignee: Gao Xin
> 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
> Assignee: Gao Xin
> Priority: Major
> Labels: easyfix, newbie
> Fix For: saga-0.3.0
>
>
> 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)