Class WatchMojo

  • All Implemented Interfaces:
    ConfigHelper.Customizer, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

    @Mojo(name="watch")
    public class WatchMojo
    extends AbstractBuildSupportMojo
    Mojo for watching source code changes. This Mojo does essentially two things when it detects a image content change:
    • Rebuilding one or more images
    • Restarting restarting one or more containers
    Since:
    16/06/15
    Author:
    roland
    • Field Detail

      • autoCreateCustomNetworks

        @Parameter(property="docker.autoCreateCustomNetworks",
                   defaultValue="false")
        protected boolean autoCreateCustomNetworks
        Whether to create the customs networks (user-defined bridge networks) before starting automatically
    • Constructor Detail

      • WatchMojo

        public WatchMojo()