UNPKG

@jnxplus/nx-maven

Version:

[![npm version](https://badge.fury.io/js/@jnxplus%2Fnx-maven.svg)](https://badge.fury.io/js/@jnxplus%2Fnx-maven)

80 lines (79 loc) 2.3 kB
{ "$schema": "http://json-schema.org/schema", "$id": "NxMavenInit", "title": "Init", "type": "object", "properties": { "aggregatorProjectGroupId": { "type": "string", "default": "com.example", "description": "GroupId of root aggregator project", "x-prompt": "What groupId would you like to use for root aggregator project?" }, "aggregatorProjectName": { "type": "string", "default": "root-aggregator-project", "description": "Name of root aggregator project", "x-prompt": "What name would you like to use for root aggregator project?", "pattern": "^[a-zA-Z].*$" }, "aggregatorProjectVersion": { "type": "string", "default": "0.0.1-SNAPSHOT", "description": "Version of root aggregator project", "alias": "v", "x-prompt": "What version would you like to use for root aggregator project?" }, "mavenRootDirectory": { "type": "string", "default": "", "description": "Where Maven Wrapper (if not skipped), config files and projects are placed" }, "skipWrapper": { "description": "Don't generate Maven Wrapper", "type": "boolean", "default": false }, "localRepoRelativePath": { "type": "string", "description": "Maven local repository relative path to {workspaceRoot}/{mavenRootDirectory}", "default": ".m2/repository" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false }, "formatter": { "description": "The tool to use for code formatting.", "type": "string", "enum": ["none", "prettier"], "default": "prettier", "x-prompt": { "message": "Would you like to use Prettier for code formatting?", "type": "list", "items": [ { "value": "prettier", "label": "Yes" }, { "value": "none", "label": "No" } ] } }, "buildTargetName": { "type": "string", "description": "Build target name", "default": "build" } }, "required": [ "aggregatorProjectGroupId", "aggregatorProjectName", "aggregatorProjectVersion", "localRepoRelativePath" ] }