org.jvnet.mjiip.v_2.XJC2Mojo Maven / Gradle / Ivy
The newest version!
package org.jvnet.mjiip.v_2;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.ResolutionScope;
import org.jvnet.mjiip.v_2_3.XJC23Mojo;
import com.sun.tools.xjc.Options;
/**
* JAXB 2.x Mojo.
*
* @author Aleksei Valikov ([email protected])
*/
@Mojo(name = "generate", defaultPhase = LifecyclePhase.GENERATE_SOURCES, requiresDependencyResolution = ResolutionScope.COMPILE, requiresDependencyCollection = ResolutionScope.COMPILE, threadSafe = true)
public class XJC2Mojo extends XJC23Mojo {
private final org.jvnet.jaxb2.maven2.IOptionsFactory optionsFactory = new OptionsFactory();
@Override
protected org.jvnet.jaxb2.maven2.IOptionsFactory getOptionsFactory() {
return optionsFactory;
}
}