raml plugin does not generate clients

Description

Seen with 33.0.0 pre1 and pre2.

For example, in mod-copycat.. Using generateClients true does not generate clients.

Directory target/generated-sources/raml-jaxrs/org/folio/rest/client is empty.

Note that the problem is not new. The clientGenerator in 32 does not generate clients either.. Only when depending on an artifact that has classes already generated. For this reason client code must be a separate artifact from the (server) classes. For example as is done in mod-configuration with two sub projects. mod-configuration-server and mod-configuration-client.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Adam Dickmeiss April 29, 2021 at 1:32 PM

Documentation clarified and an issue with ramlFiles and server generated classes fixed in the PR.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Core: Platform

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created April 26, 2021 at 9:23 AM
Updated April 29, 2021 at 1:32 PM
Resolved April 29, 2021 at 1:32 PM
TestRail: Cases
TestRail: Runs