Plugin properties

Property Default Optional? Description
maven.axis.dir ${maven.build.dir}/axis Yes Specifies the root directory for axis output files.
maven.axis.generated.dir ${maven.axis.dir}/src Yes Specifies the source directory for the generated .java files.
maven.axis.build.dir ${maven.axis.dir}/build Yes Specifies the build directory for the generated .java files. The reason why it differs from maven.axis.generated.dir is the fact that implementation classes can be excluded.
maven.axis.excludes empty Yes Specifies a ";" separated exclude list of generated files which should not appear in the build process. (e.g. */**/*SoapBindingImpl.java).
maven.axis.test.dir ${maven.axis.dir}/test Yes Specifies the test directory for the generated test classes.

java2wsdl properties

Property Default Optional? Description
maven.axis.classnames No Specifies a comma-separated list of classes names to import, eg. org.example.Foo. Required. It's required too to define the namespace and location for these classes like this :

classname=location,namespace

example:

maven.axis.classnames=foo.bar.class1,foo.bar.class2

foo.bar.class1=http://localhost/services/service1,Namespace1

foo.bar.class2=http://localhost/services/service2,Namespace2
maven.axis.java2wsdl.exclude Yes Specifies comma separated list of methods to exclude from the wsdl file.
maven.axis.output ${maven.src.dir}/wsdl Yes Specifies the directory which contains all .wsdl files.
maven.axis.typemappingversion 1.1 Yes
maven.axis.useinheritedmethods false Yes Specified if wsdl should inherited methods be exported too.

wsdl2java properties

Property Default Optional? Description
maven.axis.url ${maven.src.dir}/wsdl Yes Specifies the URL to a single .wsdl definition. The default value points to a local directory which contains all .wsdl files.
maven.axis.all true Yes Specifies flag to generate code for all elements, even unreferenced ones.
maven.axis.deployscope session Yes The session for deployment.
maven.axis.serverside true Yes
maven.axis.skeletondeploy true Yes
maven.axis.noimports no Yes
maven.axis.verbose yes Yes
maven.axis.typemappingversion 1.1 Yes
maven.axis.testcase no Yes Specifies whether testcases should be generated or not.
maven.wsdl2java.namespaceMappings empty Yes Specifies a comma-separated list of namespace to package name mappings. The format is maven.wsdl2java.namespaceMappings=X=com.X,Y=com.Y, where X and Y map to com.X and com.Y respectively. Default is empty.
maven.axis.debug false Yes Specifies if output is in debug mode.
maven.axis.factory org.apache.axis.wsdl.toJava.JavaGeneratorFactory Yes Specifies the name of the Java2WSDLFactory class for extending WSDL generation functions.
maven.axis.helpergen false Yes Turn on/off Helper class generation.
maven.axis.timeout false Yes Specifies the timeout in milliseconds for URL retrieval; default is 45 seconds. Set this to -1 to disable timeouts altogether: other negative values are not allowed.

deploy properties

Property Default Optional? Description
maven.axis.home No (if maven.axis.copy.deploy is set to true) The axis webapps directory. This property is used to copy all classes and dependencies into ${maven.axis.home}/WEB-INF/lib directory.
maven.axis.copy.deploy false Yes If this property is set to true, copy all classes and dependencies into the ${maven.axis.home}/WEB-INF/lib directory.
maven.axis.wsdd.deploy yes Path to the deploy.wsdd file.
maven.axis.wsdd.undeploy yes Path to the undeploy.wsdd file.
maven.axis.admin.url http://localhost:8080/axis/services/AdminService?wsdl yes URL to the admin service of axis.