java - Creating jar files using wscompile of JAXRPC in Maven -
i have ant's build.xml configured create jar wsdl. below snippet it.
<target name="genclientwsbb"> <java classpath="c:\program files (x86)\java\jdk1.6.0_25\lib\tools.jar" classname="com.sun.xml.rpc.tools.wscompile.main" fork="true" maxmemory="128m" failonerror="true"> <arg value="-gen:client" /> <arg value="-f:documentliteral,wsi" /> <arg line="-d generated/classes" /> <arg line="-nd generated/xml" /> <arg line="-s generated/java" /> <arg line="-mapping generated/xml/jaxrpc-mapping.xml" /> <arg value="-keep" /> <arg value="-verbose" /> <arg value="-xprintstacktrace" /> <arg value="config/config.xml" /> <classpath refid="project.classpath" /> <!-- http proxy setup --> <arg value="-httpproxy:proxy.example.com:8080" /> <sysproperty key="javax.net.ssl.keystore" value="config/example.p12" /> <sysproperty key="javax.net.ssl.keystorepassword" value="keystorepwd" /> <sysproperty key="javax.net.ssl.keystoretype" value="keystoretype" /> </java> </target>
i have little knowledge of both ant , maven. understand above commandline arguments passed main class of wscompile using ant.
my question how same translate maven ?
Comments
Post a Comment