Package org.apache.maven.archetype.common.util

Examples of org.apache.maven.archetype.common.util.Format


     * @param document
     */
    public void write( Model project, Document document, OutputStreamWriter writer )
        throws java.io.IOException
    {
        Format format = Format.getRawFormat().setEncoding( writer.getEncoding() ).setLineSeparator( LS );
        write( project, document, writer, format );
    } // -- void write(Model, Document, OutputStreamWriter)
View Full Code Here


            MavenJDOMWriter writer = new MavenJDOMWriter();

            outputStreamWriter =
                new OutputStreamWriter( new FileOutputStream( pomFile ), fileEncoding );

            Format form = Format.getRawFormat().setEncoding( fileEncoding );
            writer.write( model, doc, outputStreamWriter, form );
        }
        catch ( JDOMException exc )
        {
            IOException ioe = new IOException( "Cannot parse the POM by JDOM while reading " + initialPomFile + ": "
View Full Code Here

TOP

Related Classes of org.apache.maven.archetype.common.util.Format

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.