private SkaffoldConfiguration.Watch collectWatchParameters(MavenProject project) {
    // Try getting extra directory from project pom
    SkaffoldConfiguration.Watch watchConfig = new SkaffoldConfiguration.Watch();
    Plugin jibMavenPlugin = project.getPlugin(MavenProjectProperties.PLUGIN_KEY);
    if (jibMavenPlugin != null) {
      Xpp3Dom pluginConfiguration = (Xpp3Dom) jibMavenPlugin.getConfiguration();
      if (pluginConfiguration != null) {
        Xpp3Dom skaffold = pluginConfiguration.getChild("skaffold");
        if (skaffold != null) {
          Xpp3Dom watch = skaffold.getChild("watch");
          if (watch != null) {
            Xpp3Dom buildIncludes = watch.getChild("buildIncludes");
            if (buildIncludes != null) {
              watchConfig.buildIncludes = xpp3ToList(buildIncludes, File::new);
            }
            Xpp3Dom includes = watch.getChild("includes");
            if (includes != null) {
              watchConfig.includes = xpp3ToList(includes, File::new);
            }
            Xpp3Dom excludes = watch.getChild("excludes");
            if (excludes != null) {
              watchConfig.excludes = xpp3ToList(excludes, File::new);
            }
          }
        }
      }
    }
    return watchConfig;
  }
Print out changing source dependencies on a module. In multimodule applications it should be run
by activating a single module and its dependent modules. Dependency collection will ignore
project level snapshots (sub-modules) unless the user has explicitly installed them (by only
requiring dependencyCollection). For use only within skaffold.

<p>Expected use: "./mvnw jib:_skaffold-files-v2 -q" or "./mvnw jib:_skaffold-files-v2 -pl module
-am -q"
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java