*/
protected void addConfiguration(final HttpClient client, final String targetURL, String dir, String path)
throws MojoExecutionException {
final String postUrl = targetURL + "/configMgr/" + FS_FACTORY;
final PostMethod post = new PostMethod(postUrl);
post.addParameter("apply", "true");
post.addParameter("factoryPid", FS_FACTORY);
post.addParameter("pid", "[Temporary PID replaced by real PID upon save]");
post.addParameter("provider.file", dir);
post.addParameter("provider.roots", path);
post.addParameter("propertylist", "provider.roots,provider.file");