View Javadoc
1   package org.codehaus.modello.maven;
2   
3   import org.apache.maven.plugins.annotations.LifecyclePhase;
4   import org.apache.maven.plugins.annotations.Mojo;
5   
6   /**
7    * Creates an StAX writer from the model.
8    *
9    * @author <a href="mailto:brett@apache.org">Brett Porter</a>
10   */
11  @Mojo(name = "stax-writer", defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true)
12  public class ModelloStaxWriterMojo extends AbstractModelloSourceGeneratorMojo {
13      protected String getGeneratorType() {
14          return "stax-writer";
15      }
16  }