code: protected void clearDependencyCaches(String url) {
          // Create the Clear Cache URL for the Alfresco Tomcat server
          URL alfrescoTomcatUrl = buildFinalUrl(url);
          if (alfrescoTomcatUrl == null) {
              getLog().error("Could not build clear dependency caches URL for " +
                      refreshWebappName + ", " + getAbortedMsg());
          }
  
          // Do the refresh
          makePostCall(alfrescoTomcatUrl, null, "Clear Dependency Caches");
      }
docs: Perform a Clear Dependency Caches call on Share webapp.
  Called by specific refresh mojo implementation, currently only applicable to Share webapp.
  
  @param url the relative path to clear cache