Skip to content

Instantly share code, notes, and snippets.

@kommradHomer
Last active September 18, 2019 12:15
Show Gist options
  • Save kommradHomer/88a1be6cd603ac2540dae3c303eb7bb0 to your computer and use it in GitHub Desktop.
Save kommradHomer/88a1be6cd603ac2540dae3c303eb7bb0 to your computer and use it in GitHub Desktop.
additions necessary for using the plugin in your own project
...
<dependencies>
<!-- https://mvnrepository.com/artifact/com.sun.xml.rpc/jaxrpc-impl -->
<dependency>
<groupId>com.sun.xml.rpc</groupId>
<artifactId>jaxrpc-impl</artifactId>
<version>1.1.5</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>net.sf.jaxrpc-maven</groupId>
<artifactId>jaxrpc-maven-plugin</artifactId>
<version>0.3.1</version>
<executions>
<execution>
<id>jax-rpc-scoring-client</id>
<phase>process-resources</phase>
<goals>
<goal>wscompile</goal>
</goals>
</execution>
</executions>
<configuration>
<config>${project.basedir}/jaxrpc-config.xml</config>
<operation>gen:client</operation>
<mapping>${project.build.outputDirectory}/META-INF/jaxrpc-mapping.xml</mapping>
<nd>${project.build.outputDirectory}/META-INF/wsdl</nd>
<d>${project.build.directory}/generated-classes/jaxrpc</d>
<keep>true</keep>
<verbose>true</verbose>
</configuration>
</plugin>
</plugins>
</build>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment