org.sonatype.maven.polyglot.groovy
Class GroovyModelWriter

java.lang.Object
  extended by org.sonatype.maven.polyglot.io.ModelWriterSupport
      extended by org.sonatype.maven.polyglot.groovy.GroovyModelWriter
All Implemented Interfaces:
org.apache.maven.model.io.ModelWriter

@Component(role=org.apache.maven.model.io.ModelWriter.class,
           hint="groovy")
public class GroovyModelWriter
extends ModelWriterSupport

Writes a Maven Model to a pom.groovy.

Since:
0.7
Author:
Jason Dillon

Field Summary
protected  org.codehaus.plexus.logging.Logger log
           
 
Constructor Summary
GroovyModelWriter()
           
 
Method Summary
 void write(java.io.Writer output, java.util.Map<java.lang.String,java.lang.Object> options, org.apache.maven.model.Model model)
           
 
Methods inherited from class org.sonatype.maven.polyglot.io.ModelWriterSupport
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Requirement
protected org.codehaus.plexus.logging.Logger log
Constructor Detail

GroovyModelWriter

public GroovyModelWriter()
Method Detail

write

public void write(java.io.Writer output,
                  java.util.Map<java.lang.String,java.lang.Object> options,
                  org.apache.maven.model.Model model)
           throws java.io.IOException
Throws:
java.io.IOException