By default, RepreZen Projects will have three dependencies, like the ones shown here:
<dependencies> <dependency> <groupId>com.reprezen.genflow</groupId> <artifactId>standard-gentemplates</artifactId> <version>[1.4.2,2.0-alpha)</version> <type>pom</type> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-codegen</artifactId> <version>[2.4.4,3.0-alpha)</version> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>openapi-generator</artifactId> <version>[3.3.4,4.0-alpha)</version> </dependency> </dependencies>
Specifying a Codegen Library Version
<dependency> <groupId>io.swagger</groupId> <artifactId>swagger-codegen</artifactId> <version>[2.4.12,3.0-alpha)</version> </dependency>
Optimizing GenFlow Dependencies
The genflow/standard-gentemplates dependency includes all of GenFlow's supported codegen libraries, and all of their dependencies. Maven will cache these dependencies in your local repository, so each dependency normally has to be retrieved from Maven Central (or your internal Maven server) one time.
However, in some environments, such as a CI/CD build server without a persistent Maven cache, the overhead of retrieving the full dependency graph can be problematic. In these scenarios, you can limit GenFlow dependencies to include only the GenTemplates you need for your project.
The following GenFlow dependencies are available:
Maven Artifact ID | Included GenTemplates |
---|---|
| All available GenTemplates. |
| All GenTemplates that take OpenAPI 2.0 (Swagger) or 3.0 as input. |
| GenTemplates from the OpenAPI Generator library. |
| GenTemplates from the Swagger Codegen library |
| GenTemplates from RepreZen that take OpenAPI 2.0 or 3.0 as input. You can specify the artifactID as reprezen-openapi-gentemplates to include all dependencies for all of these GenTemplates; or use the individual GenTemplate artifactID values to further limit dependencies. |
| GenTemplates from RepreZen that take RAPID‑ML as input. You can specify the artifactID as reprezen-rapidml-gentemplates to include all dependencies for all of these GenTemplates; or use the individual GenTemplate artifactID values to further limit dependencies. |