@Override public void execute() throws MojoExecutionException, MojoFailureException {
  final Locale currentLocale=Locale.forLanguageTag(locale);
  final String localeReference=getLocalesAndSubTypesDocumentation(currentLocale);
  final File localeReferenceFile=new File(outputDirectory,"sec-locales-subtypes.xml");
  try {
    writeStringToFile(localeReference,localeReferenceFile);
  }
 catch (  IOException e) {
    throw new MojoExecutionException("Failed to write " + localeReferenceFile.getPath());
  }
}

@ Override public void execute ( ) throws MojoExecutionException , MojoFailureException { final Locale currentLocale = Locale . forLanguageTag ( locale ) ; final String localeReference = getLocalesAndSubTypesDocumentation ( currentLocale ) ; final File localeReferenceFile = new File ( outputDirectory , "sec-locales-subtypes.xml" ) ; try { writeStringToFile ( localeReference , localeReferenceFile ) ; } catch ( IOException e ) { throw new MojoExecutionException ( "Failed to write " + localeReferenceFile . getPath ( ) ) ; } }
writes schema reference documentation source files .
