mulesoft-labs / raml-jaxrs-codegen

Tools to enable RAML-first development in JAX-RS projects
Other
40 stars 44 forks source link

Traits include yaml file #38

Closed briviere closed 9 years ago

briviere commented 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

safaci2000 commented 9 years ago

+1 I'm having the same issue. I tried using both directory and sourcePaths with the same results.

usarid commented 9 years ago

This repo is no longer being maintained -- check out the new version please.