/** Check the location of the POM, alternate settings file, etc - any file. */ public FormValidation doCheckFileInWorkspace(@QueryParameter String value) throws IOException, ServletException { MavenModuleSetBuild lb = getLastBuild(); if (lb != null) { FilePath ws = lb.getModuleRoot(); if (ws != null) return ws.validateRelativePath(value, true, true); } return FormValidation.ok(); }