@nxrocks/nx-spring-boot
Version:
Nx Plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
14 lines • 677 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeBootMavenPlugin = removeBootMavenPlugin;
const devkit_1 = require("@nx/devkit");
const common_jvm_1 = require("@nxrocks/common-jvm");
function removeBootMavenPlugin(tree, options) {
if (options.projectType === 'library' &&
options.buildSystem === 'maven-project') {
devkit_1.logger.debug(`Removing 'spring-boot' maven plugin on a library project...`);
return (0, common_jvm_1.removeMavenPlugin)(tree, options.projectRoot, 'org.springframework.boot', 'spring-boot-maven-plugin');
}
return false;
}
//# sourceMappingURL=remove-spring-boot-plugin.js.map