org.jvnet.jax_ws_commons.jaxws.MainWsGenMojo Maven / Gradle / Ivy
/*
* Copyright 2006 Guillaume Nodet.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jvnet.jax_ws_commons.jaxws;
import java.io.File;
/**
* Reads a JAX-WS service endpoint implementation class
* and generates all of the portable artifacts for a JAX-WS web service.
*
* @goal wsgen
* @phase process-classes
* @requiresDependencyResolution
* @description generate JAX-WS wrapper beans.
*/
public class MainWsGenMojo extends AbstractWsGenMojo {
/**
* Specify where to place output generated classes
* Set to "" to turn it off
* @parameter default-value="${project.build.outputDirectory}"
*/
protected File destDir;
/**
* Either ${build.outputDirectory} or ${build.testOutputDirectory}.
*/
protected File getDestDir() {
return destDir;
}
}