Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
When we have a chain of libraries where 1st uses 2nd, 2nd uses 3rd and so on some data types can't be found. Data types that can't be found are imported in 'deeper' libraries.
Example:
main.raml:
#%RAML 1.0 Library
types:
Price:
properties:
basePrice: number
salePrice: number
Error:
[ERROR] Failed to execute goal com.phoenixnap.oss:springmvc-raml-plugin:2.0.4:generate-springmvc-endpoints (generate-springmvc-controllers) on project springmvc-test: Execution generate-springmvc-controllers of goal com.phoenixnap.oss:springmvc-raml-plugin:2.0.4:generate-springmvc-endpoints failed: Data type Price can't be found! -> [Help 1]
When we have a chain of libraries where 1st uses 2nd, 2nd uses 3rd and so on some data types can't be found. Data types that can't be found are imported in 'deeper' libraries. Example:
main.raml
:sales.raml
:productConfiguration.raml
:price.raml
:Error: