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 reader from the model.
8    *
9    * @author <a href="mailto:brett@apache.org">Brett Porter</a>
10   */
11  @Mojo( name = "stax-reader", defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true )
12  public class ModelloStaxReaderMojo
13      extends AbstractModelloSourceGeneratorMojo
14  {
15      protected String getGeneratorType()
16      {
17          return "stax-reader";
18      }
19  }