org.technologybrewery.habushu.migration.RemoveMonorepoGroupMigration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of habushu-maven-plugin Show documentation
Show all versions of habushu-maven-plugin Show documentation
Leverages Poetry and Pyenv to provide an automated, predictable order of execution of build commands
that apply DevOps and configuration management best practices
The newest version!
package org.technologybrewery.habushu.migration;
import org.technologybrewery.habushu.util.TomlUtils;
/**
* Automatically migrates any monorepo dependencies (e.g., foo = {path = "../foo", develop = true}) in the
* [tool.poetry.group.monorepo.dependencies] group into the [tool.poetry.dependencies] group instead.
*/
public class RemoveMonorepoGroupMigration extends AbstractTomlGroupMigration {
@Override
protected String getLegacyGroupName() {
return TomlUtils.TOOL_POETRY_GROUP_MONOREPO_DEPENDENCIES;
}
@Override
protected String getNewGroupName() {
return TomlUtils.TOOL_POETRY_DEPENDENCIES;
}
}