Closed briviere closed 9 years ago
I'm trying to include a yaml definition of my traits as follows:
traits: !include CommonTraits.yaml
The codegen keeps telling me it is an invalid raml
[ERROR] Failed to execute goal org.raml.plugins:raml-jaxrs-maven-plugin:1.0-SNAPSHOT:generate (default) on project raml-jaxrs-jersey-example: Error generating Java classes from: c:\users\rivieb2\raml-jaxrs-codegen\jersey-example\src\main\resources\raml\CommonTraits.yaml: Invalid RAML definition: [ERROR] -1 Invalid RAML
+1 I'm having the same issue. I tried using both directory and sourcePaths with the same results.
This repo is no longer being maintained -- check out the new version please.
I'm trying to include a yaml definition of my traits as follows:
traits: !include CommonTraits.yaml
The codegen keeps telling me it is an invalid raml
[ERROR] Failed to execute goal org.raml.plugins:raml-jaxrs-maven-plugin:1.0-SNAPSHOT:generate (default) on project raml-jaxrs-jersey-example: Error generating Java classes from: c:\users\rivieb2\raml-jaxrs-codegen\jersey-example\src\main\resources\raml\CommonTraits.yaml: Invalid RAML definition: [ERROR] -1 Invalid RAML