UNPKG

@jnxplus/nx-maven

Version:

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

27 lines (26 loc) 1.62 kB
import { NxMavenPluginOptions } from '@jnxplus/common'; import { PluginConfiguration, Tree } from '@nx/devkit'; import { XmlDocument } from 'xmldoc'; export declare function getExecutable(): string; export declare function getMavenRootDirectory(): string; export declare function getPlugin(): PluginConfiguration | undefined; export declare function getExpressionValue(expression: string, mavenRootDirAbsolutePath: string, projectName?: string): string; export declare function addProjectToAggregator(tree: Tree, options: { projectRoot: string; aggregatorProjectRoot: string; mavenRootDirectory: string; }): void; export declare function addLibraryToProjects(tree: Tree, options: { parsedProjects: string[]; groupId: string; projectName: string; projectVersion: string; mavenRootDirectory: string; }): void; export declare function getLocalRepositoryPath(opts: NxMavenPluginOptions | undefined, mavenRootDirAbsolutePath: string): string; export declare function getArtifactId(pomXmlContent: XmlDocument): string; export declare function getGroupId(artifactId: string, pomXmlContent: XmlDocument): string; export declare function getVersion(artifactId: string, pomXmlContent: XmlDocument): string; export declare function getParentProjectValues(tree: Tree, mavenRootDirectory: string, projectRoot: string, parentProject: string): string[]; export declare function getSkipAggregatorProjectLinkingOption(plugin: PluginConfiguration | undefined): boolean; export declare function getAggregatorProjectRoot(tree: Tree, aggregatorProject: string | undefined, mavenRootDirectory: string): string;