This class is immutable; all of its non-getter methods return new instances.
This class also contains static factory methods for all supported change types.
407408409410411412413414415416417
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, featureSuffixedVersions)) .with(projectReleaseVersionChange(featureSuffixedVersions)) .with(artifactReleaseVersionChange(originalVersions, featureSuffixedVersions, ctx.isUpdateDependencies())); try {
919293949596979899100101
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, releaseVersions)) .with(projectReleaseVersionChange(releaseVersions)) .with(artifactReleaseVersionChange(originalVersions, releaseVersions, ctx.isUpdateDependencies())) .with(scmDefaultTagChange(releaseVersions)); try
140141142143144145146147148149150
188189190191192193194195196197198
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, releaseSnapshotVersions)) .with(projectReleaseVersionChange(releaseSnapshotVersions)) .with(artifactReleaseVersionChange(originalVersions, releaseSnapshotVersions, ctx.isUpdateDependencies())) .with(scmDefaultHeadTagChange(releaseSnapshotVersions)); try
235236237238239240241242243244245
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, featureSuffixedVersions)) .with(projectReleaseVersionChange(featureSuffixedVersions)) .with(artifactReleaseVersionChange(originalVersions, featureSuffixedVersions, ctx.isUpdateDependencies())) .with(scmDefaultHeadTagChange(featureSuffixedVersions)); try
284285286287288289290291292293294
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, featureVersions)) .with(projectReleaseVersionChange(featureVersions)) .with(artifactReleaseVersionChange(originalVersions, featureVersions, ctx.isUpdateDependencies())) .with(scmDefaultTagChange(featureVersions)); try
316317318319320321322323324325326
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : projectsToUpdate) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, releaseVersions)) .with(projectReleaseVersionChange(releaseVersions)) .with(artifactReleaseVersionChange(originalVersions, releaseVersions, ctx.isUpdateDependencies())) .with(scmDefaultTagChange(releaseVersions)); try
356357358359360361362363364365366
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, preHotfixVersions)) .with(projectReleaseVersionChange(preHotfixVersions)) .with(artifactReleaseVersionChange(originalVersions, preHotfixVersions, ctx.isUpdateDependencies())) .with(scmDefaultTagChange(preHotfixVersions)); try
388389390391392393394395396397398
{ getLogger().info("turn on debug logging with -X to see exact changes"); } for (MavenProject project : reactorProjects) { ProjectChangeset changes = new ProjectChangeset() .with(parentReleaseVersionChange(originalVersions, hotfixVersions)) .with(projectReleaseVersionChange(hotfixVersions)) .with(artifactReleaseVersionChange(originalVersions, hotfixVersions, ctx.isUpdateDependencies())) .with(scmDefaultTagChange(hotfixVersions)); try
435436437438439440441442443444445