Generates Spring code from RAML.
<plugin>
<groupId>com.github.raml2spring</groupId>
<artifactId>raml2spring-maven-plugin</artifactId>
<version>x.x.x</version>
<configuration>
<ramlPath>src/main/resources/api.raml</ramlPath>
<basePackage>com.example</basePackage>
<outputPath>./target/generated-sources/</outputPath>
</configuration>
<executions>
<execution>
<id>generate-spring-endpoints</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>