RAML code generation - Ricston Ltd
The code generator used is this one; https://github.com/mulesoft/raml-jaxrs-codegen. Note that this artifact is not hosted on Maven central. However it is hosted here; http://nexus.openanalytics.eu/nexus/content/groups/public (thanks to David Dossot for pointing this out – this is actually a forked version of the project: https://github.com/openanalytics/raml-jaxrs-codegen).
So you have two options; either build and install the jars in your local maven repo or add the Open Analytics remote repository to the project (I have edited the repo for this example to use the latter approach).
If you're taking the former approach and run into the following when building:
Failed to execute goal com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:check (default) on project raml-jaxrs-codegen-parent: Some files do not have the expected license header
then you need to run mvn license:format which generates the license headers in the files which will keep the license plugin happy.
Read full article from RAML code generation - Ricston Ltd
No comments:
Post a Comment