public class GenerateReleasePomsPhaseTest extends AbstractRewritingReleasePhaseTestCase
localRepository, phase, projectBuilder
Constructor and Description |
---|
GenerateReleasePomsPhaseTest(String modelETL) |
createDefaultConfiguration, createDescriptorFromBasicPom, createMappedConfiguration, createReactorProjects, createUnmappedConfiguration, data, testCleanNoProjects, testRewriteAddSchema, testRewriteBasicPom, testRewriteBasicPomEntities, testRewriteBasicPomNamespace, testRewriteBasicPomWithEncoding, testRewriteBasicPomWithNoSuchProviderException, testRewriteBasicPomWithScmRepoException, testRewriteCDataAroundValues, testRewriteCommentsAroundValues, testRewriteManagedPomDependencies, testRewriteManagedPomPlugins, testRewriteManagedPomUnmappedDependencies, testRewriteManagedPomUnmappedPlugins, testRewritePomDependencies, testRewritePomDependenciesDifferentVersion, testRewritePomDependenciesWithNamespace, testRewritePomExtension, testRewritePomExtensionDifferentVersion, testRewritePomExtensionUndefinedVersion, testRewritePomPlugins, testRewritePomPluginsDifferentVersion, testRewritePomReportPlugins, testRewritePomReportPluginsDifferentVersion, testRewritePomUnmappedDependencies, testRewritePomUnmappedExtension, testRewritePomUnmappedPlugins, testRewritePomUnmappedReportPlugins, testRewritePomWithChangedInheritedVersion, testRewritePomWithInheritedVersion, testRewritePomWithParent, testRewritePomWithReleasedParent, testRewritePomWithUnmappedParent, testRewriteUnmappedPom, testRewriteWhitespaceAroundValues, testSimulateRewriteEditModeSkipped
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, createReleaseDescriptorBuilder, getPath, getProjectsAsMap, getWorkingDirectory
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
public GenerateReleasePomsPhaseTest(String modelETL)
public void setUp() throws Exception
setUp
in class AbstractRewritingReleasePhaseTestCase
Exception
protected String getRoleHint()
getRoleHint
in class AbstractRewritingReleasePhaseTestCase
public void testRewriteExternalRangeDependency() throws Exception
Exception
public void testSuppressCommitBeforeTagOrBranch() throws Exception
Exception
public void testSuppressCommitBeforeTagOrBranchAndReomoteTagging() throws Exception
Exception
protected ReleaseDescriptorBuilder createDescriptorFromProjects(List<MavenProject> reactorProjects, String workingDirectory)
createDescriptorFromProjects
in class AbstractRewritingReleasePhaseTestCase
protected List<MavenProject> prepareReactorProjects(String path) throws Exception
prepareReactorProjects
in class AbstractRewritingReleasePhaseTestCase
Exception
protected void verifyReactorProjects(String path, boolean copyFiles) throws Exception
verifyReactorProjects
in class AbstractRewritingReleasePhaseTestCase
Exception
protected void mapNextVersion(ReleaseDescriptorBuilder config, String projectId)
mapNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected void mapAlternateNextVersion(ReleaseDescriptorBuilder config, String projectId)
mapAlternateNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected void unmapNextVersion(ReleaseDescriptorBuilder config, String projectId)
unmapNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected ReleaseDescriptorBuilder createConfigurationForPomWithParentAlternateNextVersion(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
createConfigurationForPomWithParentAlternateNextVersion
in class AbstractRewritingReleasePhaseTestCase
Exception
protected ReleaseDescriptorBuilder createConfigurationForWithParentNextVersion(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
createConfigurationForWithParentNextVersion
in class AbstractRewritingReleasePhaseTestCase
Exception
protected String readTestProjectFile(String fileName) throws IOException
readTestProjectFile
in class AbstractRewritingReleasePhaseTestCase
IOException
protected void comparePomFiles(MavenProject project, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
comparePomFiles
in class AbstractReleaseTestCase
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.