phoenixnap / springmvc-raml-plugin

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.
Apache License 2.0
136 stars 84 forks source link

Can support the source directory can be configured? #219

Open lanmolsz opened 6 years ago

lanmolsz commented 6 years ago

Maven project only supports one source directory, sometimes may need more than one source directory, such as maven-compiler-plugin generatedSourcesDirectory, can support it? Configure them by adding a parameter?

The current version only supports configuring additional packages via the dependencyPackagesList parameter, hoping to add this configuration in the next release.

stojsavljevic commented 6 years ago

I've never tried this myself but I see that context class loader is used and I expect it to work with multiple source directories. Anyway, RAML generation is not top priority atm so please consider a PR.