Skip to content

kc7bfi/wsrpc-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsrpc-maven-plugin

WSRPC Maven Plugin to Generate Code

This maven plugin will generated the needed source files as determined by a WebSocket RPC (wsrpc) specification file. The specification file is a JSON file that defines the wsrpc interface that is to be generated.

For more documentation on wsrpc, see the main project.

Usage

To use this plugin, add it to your maven project descriptor pom.xml. The following example shows how to generate a interfaces defined in the "wsrpc" subdirectory.

<plugin>
	<groupId>net.psgglobal.wsrpc</groupId>
	<artifactId>wsrpc-maven-plugin</artifactId>
	<version>1.0-SNAPSHOT</version>
	<configuration>
		<inputDir>${project.sourceDirectory}/main/resources/wsrpc</inputDir>
	</configuration>
	<executions>
		<execution>
			<phase>generate-sources</phase>
			<goals>
				<goal>generate</goal>
			</goals>
		</execution>
	</executions>
</plugin>

All files ending in .json will be processed.

About

WSRPC Maven Plugin to Generate Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published