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 extends AbstractModelloSourceGeneratorMojo { 13 protected String getGeneratorType() { 14 return "stax-reader"; 15 } 16 }