@jnxplus/nx-maven
Version:
[](https://badge.fury.io/js/@jnxplus%2Fnx-maven)
28 lines (27 loc) • 1.77 kB
TypeScript
import { NxMavenPluginOptions } from '@jnxplus/common';
import { PluginConfiguration, Tree } from '@nx/devkit';
import { XmlDocument } from 'xmldoc';
export declare function getExecutable(): string;
export declare function getMavenRootDirectory(plugin?: PluginConfiguration | undefined): 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 getSkipProjectWithoutProjectJsonOption(plugin: PluginConfiguration | undefined): boolean;
export declare function getAggregatorProjectRoot(tree: Tree, aggregatorProject: string | undefined, mavenRootDirectory: string): string;