├── .git-blame-ignore-revs ├── .github ├── dependabot.yml ├── release-drafter.yml └── workflows │ ├── maven.yml │ ├── pr-automation.yml │ ├── release-drafter.yml │ └── stale.yml ├── .gitignore ├── .mvn └── README.txt ├── LICENSE.txt ├── README.md ├── ReleaseNotes.md ├── pom.xml ├── rules.xml ├── src └── site │ ├── site.xml │ └── xdoc │ └── 404.xml.vm ├── versions-api ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── codehaus │ │ └── mojo │ │ └── versions │ │ └── api │ │ ├── change │ │ ├── DependencyVersionChange.java │ │ ├── PropertyVersionChange.java │ │ └── VersionChange.java │ │ └── recording │ │ ├── ChangeRecord.java │ │ ├── ChangeRecorder.java │ │ ├── DependencyChangeRecord.java │ │ └── PropertyChangeRecord.java │ └── site │ ├── markdown │ ├── change-recorder.md.vm │ └── index.md.vm │ └── site.xml ├── versions-common ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── codehaus │ │ │ └── mojo │ │ │ └── versions │ │ │ ├── api │ │ │ ├── AbstractVersionDetails.java │ │ │ ├── ArtifactAssociation.java │ │ │ ├── ArtifactVersions.java │ │ │ ├── ArtifactVersionsCache.java │ │ │ ├── DefaultArtifactAssociation.java │ │ │ ├── DefaultVersionsHelper.java │ │ │ ├── IgnoreVersionHelper.java │ │ │ ├── PluginUpdatesDetails.java │ │ │ ├── PomHelper.java │ │ │ ├── Property.java │ │ │ ├── PropertyVersions.java │ │ │ ├── PropertyVersionsBuilder.java │ │ │ ├── Segment.java │ │ │ ├── VersionDetails.java │ │ │ ├── VersionRetrievalException.java │ │ │ └── VersionsHelper.java │ │ │ ├── change │ │ │ ├── AbstractVersionChanger.java │ │ │ ├── CompositeVersionChanger.java │ │ │ ├── DefaultDependencyVersionChange.java │ │ │ ├── DefaultPropertyVersionChange.java │ │ │ ├── DependencyVersionChanger.java │ │ │ ├── ParentVersionChanger.java │ │ │ ├── PluginVersionChanger.java │ │ │ ├── ProjectVersionChanger.java │ │ │ ├── VersionChanger.java │ │ │ └── VersionChangerFactory.java │ │ │ ├── filtering │ │ │ ├── DependencyFilter.java │ │ │ ├── NullAwareWildcardMatcher.java │ │ │ ├── TokenizedMatcher.java │ │ │ └── WildcardMatcher.java │ │ │ ├── ordering │ │ │ ├── BoundArtifactVersion.java │ │ │ ├── DefaultSegmentCounter.java │ │ │ ├── InvalidSegmentException.java │ │ │ ├── ReactorDepthComparator.java │ │ │ └── SegmentCounter.java │ │ │ ├── recording │ │ │ ├── ChangeRecorderNull.java │ │ │ ├── ChangeRecorderXML.java │ │ │ ├── DefaultDependencyChangeRecord.java │ │ │ └── DefaultPropertyChangeRecord.java │ │ │ ├── rewriting │ │ │ └── MutableXMLStreamReader.java │ │ │ ├── rule │ │ │ ├── RuleService.java │ │ │ └── RulesServiceBuilder.java │ │ │ └── utils │ │ │ ├── ArtifactFactory.java │ │ │ ├── ArtifactVersionService.java │ │ │ ├── ContextualLog.java │ │ │ ├── DelegatingContextualLog.java │ │ │ ├── DependencyBuilder.java │ │ │ ├── DependencyComparator.java │ │ │ ├── ExtensionBuilder.java │ │ │ ├── ExtensionUtils.java │ │ │ ├── MavenProjectUtils.java │ │ │ ├── MiscUtils.java │ │ │ ├── ModelNode.java │ │ │ ├── PluginComparator.java │ │ │ ├── PropertiesVersionsFileReader.java │ │ │ ├── PropertyComparator.java │ │ │ ├── RegexUtils.java │ │ │ ├── SegmentUtils.java │ │ │ └── VersionsExpressionEvaluator.java │ └── mdo │ │ └── core-extensions.mdo │ └── test │ ├── java │ └── org │ │ └── codehaus │ │ └── mojo │ │ └── versions │ │ ├── api │ │ ├── AbstractVersionDetailsTest.java │ │ ├── ArtifactVersionsTest.java │ │ ├── DefaultVersionsHelperTest.java │ │ ├── IgnoreVersionHelperTest.java │ │ ├── PomHelperTest.java │ │ └── PropertyVersionsBuilderTest.java │ │ ├── filtering │ │ ├── DependencyFilterTest.java │ │ ├── HasGAVMatcher.java │ │ ├── TokenizedMatcherTest.java │ │ └── WildcardMatcherTest.java │ │ ├── ordering │ │ ├── BoundArtifactVersionTest.java │ │ └── DefaultSegmentCounterTest.java │ │ ├── recording │ │ └── ChangeRecorderXMLTest.java │ │ ├── rewriting │ │ └── MutableXMLStreamReaderTest.java │ │ ├── rule │ │ └── RuleServiceTest.java │ │ └── utils │ │ ├── ArtifactFactoryTest.java │ │ ├── ArtifactVersionUtils.java │ │ ├── ExtensionUtilsTest.java │ │ ├── MavenProjectUtilsTest.java │ │ ├── PropertiesVersionsFileReaderTest.java │ │ └── SegmentUtilsTest.java │ └── resources │ └── org │ └── codehaus │ └── mojo │ └── versions │ ├── api │ ├── PomHelperTest.implicitProperties.pom.xml │ ├── PomHelperTest.noGroupIdOnChild.pom.xml │ ├── PomHelperTest.profiles.pom.xml │ ├── PomHelperTest.testLongProperties.pom.xml │ ├── PomHelperTest.utf16.xml │ ├── findProperty │ │ ├── childA │ │ │ ├── grandchild │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── childB │ │ │ └── pom.xml │ │ └── pom.xml │ ├── getRawModelTree │ │ ├── childA │ │ │ ├── grandchild │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── childB │ │ │ └── pom.xml │ │ └── pom.xml │ ├── issue-505 │ │ ├── moduleA │ │ │ ├── moduleA.xml │ │ │ └── moduleB │ │ │ │ └── pom.xml │ │ └── pom.xml │ └── rules.xml │ ├── recording │ └── expectedFile.xml │ ├── rewriting │ ├── iso-8859-2.xml │ ├── utf-16.xml │ └── utf-8.xml │ ├── rule │ └── rules.xml │ └── utils │ ├── core-extensions │ └── .mvn │ │ └── extensions.xml │ └── testPropertiesVersionsFile.properties ├── versions-enforcer ├── pom.xml └── src │ ├── it-repo │ ├── dummy-api-1.0.pom │ ├── dummy-api-2.0.pom │ ├── dummy-api-2.1.pom │ └── dummy-api-2.2-SNAPSHOT.pom │ ├── it │ ├── it-max-dependency-updates-001 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-max-dependency-updates-002 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-max-dependency-updates-003 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-max-dependency-updates-004 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-max-dependency-updates-005 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-max-dependency-updates-006 │ │ ├── invoker.properties │ │ └── pom.xml │ └── settings.xml │ ├── main │ └── java │ │ └── org │ │ └── codehaus │ │ └── mojo │ │ └── versions │ │ └── enforcer │ │ ├── MaxDependencyUpdates.java │ │ └── PluginLogWrapper.java │ ├── site │ ├── markdown │ │ └── index.md.vm │ └── site.xml │ └── test │ └── java │ └── org │ └── codehaus │ └── mojo │ └── versions │ └── enforcer │ └── MaxDependencyUpdatesTest.java ├── versions-maven-plugin ├── pom.xml └── src │ ├── it-repo │ ├── dummy-aggregate-child-1.0.1-SNAPSHOT.pom │ ├── dummy-aggregate-child-1.0.1.pom │ ├── dummy-aggregate-parent-1.0.1-SNAPSHOT.pom │ ├── dummy-aggregate-parent-1.0.1.pom │ ├── dummy-api-1.0.1.pom │ ├── dummy-api-1.0.pom │ ├── dummy-api-1.1-SNAPSHOT.pom │ ├── dummy-api-1.1.0-2.pom │ ├── dummy-api-1.1.1-2.pom │ ├── dummy-api-1.1.1.pom │ ├── dummy-api-1.1.2-SNAPSHOT.pom │ ├── dummy-api-1.1.2.pom │ ├── dummy-api-1.1.3.pom │ ├── dummy-api-1.1.pom │ ├── dummy-api-1.2.1.pom │ ├── dummy-api-1.2.2.pom │ ├── dummy-api-1.2.pom │ ├── dummy-api-1.3.pom │ ├── dummy-api-1.9.1-SNAPSHOT.pom │ ├── dummy-api-2.0.pom │ ├── dummy-api-2.1.1-SNAPSHOT.pom │ ├── dummy-api-2.1.pom │ ├── dummy-api-3.0.pom │ ├── dummy-api-3.1.1-SNAPSHOT.pom │ ├── dummy-api-3.1.5-SNAPSHOT.pom │ ├── dummy-api-3.4.0-20090311.051742-1.pom │ ├── dummy-api-3.4.0-SNAPSHOT.pom │ ├── dummy-api-impl-bom-pom-1.0.pom │ ├── dummy-api-impl-bom-pom-2.0.pom │ ├── dummy-bom-maven-mismatch-1.0.pom │ ├── dummy-bom-pom-1.0.pom │ ├── dummy-bom-pom-2.0.pom │ ├── dummy-bom2-1.0.0-SNAPSHOT.pom │ ├── dummy-bom2-1.0.0.pom │ ├── dummy-bom2-1.1.0.pom │ ├── dummy-bom2-2.0.0.pom │ ├── dummy-bom2-3.0.0-SNAPSHOT.pom │ ├── dummy-impl-1.0.pom │ ├── dummy-impl-1.1.pom │ ├── dummy-impl-1.2.pom │ ├── dummy-impl-1.3.pom │ ├── dummy-impl-1.4.pom │ ├── dummy-impl-2.0.pom │ ├── dummy-impl-2.1.pom │ ├── dummy-impl-2.2.pom │ ├── dummy-maven-plugin-1.0.pom │ ├── dummy-maven-plugin-2.0.pom │ ├── dummy-maven-plugin-2.1.pom │ ├── dummy-maven-plugin-3.0.pom │ ├── dummy-maven-plugin-3.1.pom │ ├── dummy-parent-1.0.pom │ ├── dummy-parent-2.0.pom │ ├── dummy-parent-3.0.pom │ ├── dummy-parent-issue-582-1.0.pom │ ├── dummy-parent2-1.0.pom │ ├── dummy-parent2-2.0.pom │ ├── dummy-parent2-3.0-SNAPSHOT.pom │ ├── dummy-parent2-3.0-alpha-1.pom │ ├── dummy-parent2-3.0-beta-1.pom │ ├── dummy-parent2-3.0-rc-1.pom │ ├── dummy-parent2-3.0.pom │ ├── dummy-parent2-3.1.pom │ ├── dummy-parent3-1.0.0-SNAPSHOT.pom │ ├── dummy-parent3-1.0.0.pom │ ├── dummy-parent4-70.pom │ ├── dummy-parent4-71-SNAPSHOT.pom │ ├── dummy-parent5-1.0.0.pom │ ├── dummy-parent5-2.0.0-rc1.pom │ ├── dummy-with-parent.pom │ ├── issue-114-artifact-1.0.jar │ ├── issue-114-artifact-1.0.pom │ ├── issue-114-artifact-1.1.jar │ ├── issue-114-artifact-1.1.pom │ ├── issue-114-depmgmt-1.0.pom │ ├── it-resolve-ranges-issue-1121-parent.pom │ ├── latest-versions-api-2.0.11.pom │ ├── latest-versions-api-2.0.8.pom │ ├── latest-versions-api-2.1.0-M1.pom │ ├── latest-versions-api-2.2.1.pom │ ├── latest-versions-api-3.0-beta-3.pom │ ├── latest-versions-api-3.0.pom │ ├── latest-versions-api-3.1.0.pom │ ├── latest-versions-api-3.3.0.pom │ ├── module-a1-1.0.pom │ ├── test │ │ ├── bigversion │ │ │ ├── dummy-lib-1.1.1.1.jar │ │ │ ├── dummy-lib-1.1.1.1.pom │ │ │ ├── dummy-lib-2.0.0.0.jar │ │ │ ├── dummy-lib-2.0.0.0.pom │ │ │ ├── dummy-lib-2.0.10.0.jar │ │ │ ├── dummy-lib-2.0.10.0.pom │ │ │ ├── dummy-lib-2.12.0.0.jar │ │ │ ├── dummy-lib-2.12.0.0.pom │ │ │ ├── dummy-lib-3.0.0.0-SNAPSHOT.jar │ │ │ └── dummy-lib-3.0.0.0-SNAPSHOT.pom │ │ └── package │ │ │ ├── module-0.0.2.19.jar │ │ │ ├── module-0.0.2.19.pom │ │ │ ├── module-1.2.3-SNAPSHOT.jar │ │ │ ├── module-1.2.3-SNAPSHOT.pom │ │ │ ├── moduleTest-0.0.2.18.jar │ │ │ ├── moduleTest-0.0.2.18.pom │ │ │ ├── moduleTest-0.0.2.19.jar │ │ │ ├── moduleTest-0.0.2.19.pom │ │ │ ├── moduleTest-0.0.2.20.jar │ │ │ ├── moduleTest-0.0.2.20.pom │ │ │ ├── moduleTest-1.2.3-SNAPSHOT.jar │ │ │ └── moduleTest-1.2.3-SNAPSHOT.pom │ ├── the-grandparent-1.0.pom │ ├── the-parent-1.0.pom │ ├── update-api-1.9.5.pom │ ├── update-api-2.0.0-beta.pom │ ├── versions-rules-3.0.1-1.1.pom │ ├── versions-rules-3.0.1-1.pom │ └── versions-rules-3.0.1.pom │ ├── it │ ├── it-823-ranges-update-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-823-ranges-update-report-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-abstract-versions-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-aggregate-plugn-multiple-versions-same-plugin │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── module-a3 │ │ │ └── pom.xml │ │ ├── module-a4 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-update-parent-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-update-properties-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-use-latest-releases-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-use-latest-snapshots-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-use-latest-versions-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-changerecord-use-next-versions-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-compare-dependencies-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.bsh │ ├── it-compare-dependencies-issue-289 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-aggregate-report-issue-333 │ │ ├── child-one │ │ │ └── pom.xml │ │ ├── child-two │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-dependency-updates-report-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-dependency-updates-report-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-dependency-updates-report-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-dependency-updates-report-issue-1140 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-report-issue-1191 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-report-issue-684-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-report-issue-755 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-dependency-updates-report-issue-951 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-display-dependency-updates-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-007-outputFile │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-dependency-updates-008 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-009-processDependencyManagementTransitive-true │ │ └── verify.groovy │ ├── it-display-dependency-updates-009 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-1001-groupid │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-258-dependencyIncludesAndExcludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyExcludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyIncludes-multi │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyIncludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyIncludesAndExcludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyManagementExcludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-318-dependencyManagementIncludes │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── test.properties │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-34-1 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-34-2 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-34-3 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-34-4 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-34-5 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-684-pom-based-rules │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-dependency-updates-issue-973-versionless │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-extension-updates-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-extension-updates-002 │ │ ├── .mvn │ │ │ └── extensions.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-extension-updates-003 │ │ ├── .mvn │ │ │ └── extensions.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-extension-updates-004 │ │ ├── child │ │ │ ├── .mvn │ │ │ │ └── extensions.xml │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-parent-updates-no-updates │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-parent-updates-simple-update │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-parent-updates-snapshots │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-007 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-008 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-009-issue-422 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-010-issue-526 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-011-ignore-plugin-defined-in-parent │ │ ├── invoker.properties │ │ ├── parent │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-plugin-updates-012-outputLineWidth │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-issue-1184-01 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-issue-1184 │ │ ├── .mvn │ │ │ └── extensions.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-issue-533 │ │ ├── invoker.properties │ │ ├── parent.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-plugin-updates-issue-684-pom-based-rules │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-property-updates-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-display-property-updates-002-outputLineWidth │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-display-property-updates-issue-684-pom-based-rules │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-encoding-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-force-releases-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-lock-snapshots-junit │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-parent-updates-report-001 │ │ ├── invoker.properties │ │ ├── module │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-plugin-updates-aggregate-report-issue-333 │ │ ├── child-one │ │ │ └── pom.xml │ │ ├── child-two │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-plugin-updates-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-plugin-updates-report-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-plugin-updates-report-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-plugin-updates-report-issue-684-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-plugin-updates-report-issue-755 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-property-updates-aggregate-report-issue-333 │ │ ├── child-one │ │ │ └── pom.xml │ │ ├── child-two │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-property-updates-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-property-updates-report-002-slow │ │ ├── invoker.properties │ │ ├── maven-version-rules.xml │ │ └── pom.xml │ ├── it-property-updates-report-issue-684-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-resolve-ranges-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-003 │ │ ├── child │ │ │ └── pom.xml │ │ ├── child2 │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-004 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-issue-1121 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-resolve-ranges-issue-442 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-resolve-ranges-issue-454 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-revert-isssue-265 │ │ ├── aggregate │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── module-a │ │ │ └── pom.xml │ │ ├── module-b │ │ │ └── pom.xml │ │ └── verify.groovy │ ├── it-rules-via-classpath-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-rules-via-classpath-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-rules-via-classpath-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-set-001-issue-76 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-002 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-003 │ │ ├── child │ │ │ └── pom.xml │ │ ├── child2 │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-005-properties │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-005 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-006 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── module-a3 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-007 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-set-008 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ ├── module-b1 │ │ │ │ └── pom.xml │ │ │ ├── module-b2 │ │ │ │ └── pom.xml │ │ │ ├── module-b3 │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-009 │ │ ├── alternative-pom.xml │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ └── verify.groovy │ ├── it-set-010-issue-198 │ │ ├── fake-api │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── eclipse │ │ │ │ │ └── jetty │ │ │ │ │ └── App.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── eclipse │ │ │ │ └── jetty │ │ │ │ └── AppTest.java │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── the-bom │ │ │ └── pom.xml │ │ └── verify.groovy │ ├── it-set-010 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-011 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-014 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-016 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-017-issue-321 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.invalid │ │ ├── pom.xml │ │ ├── setup.groovy │ │ └── verify.groovy │ ├── it-set-018-issue-82 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ ├── module-b1 │ │ │ │ └── pom.xml │ │ │ ├── module-b2 │ │ │ │ └── pom.xml │ │ │ ├── module-b3 │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-019-issue-426 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ ├── module-b1 │ │ │ │ └── pom.xml │ │ │ ├── module-b2 │ │ │ │ └── pom.xml │ │ │ ├── module-b3 │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-019-outputTimestamp │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-020-outputTimestamp-disabled │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-021-outputTimestampPolicy-always │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-022-outputTimestampPolicy-onchange │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-023-outputTimestampPolicy-never │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-024-versionless-dependency │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-set-issue-1103 │ │ ├── invoker.properties │ │ ├── parent │ │ │ ├── child │ │ │ │ ├── grandchild │ │ │ │ │ └── pom.xml │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-issue-848 │ │ ├── docs │ │ │ └── moduleC │ │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── moduleA │ │ │ ├── moduleA1.xml │ │ │ └── moduleA2.xml │ │ ├── moduleB │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-issue-916-properties │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-property-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-set-property-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-set-property-003-multiple-properties │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-set-scm-tag-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-set-scm-tag-002 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-set-scm-tag-003 │ │ ├── invoker.properties │ │ └── pom.xml │ ├── it-set-scm-tag-004 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-unlock-snapshots-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-unlock-snapshots-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-child-modules-001 │ │ ├── child │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-child-modules-002 │ │ ├── child │ │ │ ├── pom.xml │ │ │ ├── subchild │ │ │ │ └── pom.xml │ │ │ └── subchild2 │ │ │ │ └── pom.xml │ │ ├── child2 │ │ │ └── pom.xml │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-parent-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-parent-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-parent-005-issue-610 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-parent-005-issue-670 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-parent-issue-454 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-parent-latest-version │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-properties-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-007 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-008 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-009 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-010 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-011 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-012 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-013 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-014 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-015 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-016 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-017 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-018 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-019 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-020 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-021 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-022 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-023 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-279-1 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-279-2 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-279-3 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-279-4 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-279-5 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-582 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-properties-issue-837 │ │ ├── invoker.properties │ │ ├── parent-pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-update-properties-issue-98-1 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-properties-issue-98-2 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-issue-140-1 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-issue-140-2 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-issue-140-3 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-issue-140 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-update-property-issue-837 │ │ ├── invoker.properties │ │ ├── parent-pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-002 │ │ ├── invoker.properties │ │ ├── it-use-dep-version-002-child │ │ │ └── pom.xml │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-issue-931-umlauts-iso8859-1 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-dep-version-issue-931-umlauts │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-releases-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ ├── rule-set.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-007 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-releases-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-snapshots-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-snapshots-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-snapshots-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-snapshots-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-snapshots-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-snapshots-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-versions-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-005 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-006 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-007 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-008 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-009 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-versions-010 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-versions-011 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-latest-versions-012 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-latest-versions-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-next-releases-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-releases-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-releases-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-releases-004 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-releases-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-next-snapshots-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-snapshots-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-snapshots-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-next-versions-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-versions-002-snapshot │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-versions-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-next-versions-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-reactor-001 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ ├── the-grandparent │ │ │ └── pom.xml │ │ ├── the-parent │ │ │ └── pom.xml │ │ └── verify.bsh │ ├── it-use-reactor-002 │ │ ├── invoker.properties │ │ ├── module-a1 │ │ │ └── pom.xml │ │ ├── module-a2 │ │ │ └── pom.xml │ │ ├── pom.xml │ │ ├── the-grandparent │ │ │ └── pom.xml │ │ ├── the-parent │ │ │ └── pom.xml │ │ └── verify.bsh │ ├── it-use-releases-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-releases-002 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-releases-003 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-releases-issue-134 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-use-releases-issue-583 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.bsh │ ├── it-use-releases-issue-978-parent-snapshot │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── it-xml-property-updates-report-001 │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── verify.groovy │ ├── prep-settings.xml │ ├── settings.xml │ ├── setup-provide-rules-in-jar │ │ ├── invoker.properties │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── package │ │ │ └── foo │ │ │ └── bar │ │ │ └── rules.xml │ └── setup-smoke-test │ │ ├── invoker.properties │ │ └── pom.xml │ ├── main │ ├── java │ │ └── org │ │ │ └── codehaus │ │ │ └── mojo │ │ │ └── versions │ │ │ ├── AbstractDependencyUpdatesReport.java │ │ │ ├── AbstractPluginUpdatesReport.java │ │ │ ├── AbstractPropertyUpdatesReport.java │ │ │ ├── AbstractVersionsDependencyUpdaterMojo.java │ │ │ ├── AbstractVersionsDisplayMojo.java │ │ │ ├── AbstractVersionsReport.java │ │ │ ├── AbstractVersionsUpdaterMojo.java │ │ │ ├── CommitMojo.java │ │ │ ├── CompareDependenciesMojo.java │ │ │ ├── DependencyUpdatesAggregateReport.java │ │ │ ├── DependencyUpdatesReport.java │ │ │ ├── DisplayDependencyUpdatesMojo.java │ │ │ ├── DisplayExtensionUpdatesMojo.java │ │ │ ├── DisplayParentUpdatesMojo.java │ │ │ ├── DisplayPluginUpdatesMojo.java │ │ │ ├── DisplayPropertyUpdatesMojo.java │ │ │ ├── ForceReleasesMojo.java │ │ │ ├── LockSnapshotsMojo.java │ │ │ ├── MinimalMavenBuildVersionFinder.java │ │ │ ├── ParentUpdatesReport.java │ │ │ ├── PluginUpdatesAggregateReport.java │ │ │ ├── PluginUpdatesReport.java │ │ │ ├── PropertyUpdatesAggregateReport.java │ │ │ ├── PropertyUpdatesReport.java │ │ │ ├── ResolveRangesMojo.java │ │ │ ├── RevertMojo.java │ │ │ ├── SetMojo.java │ │ │ ├── SetPropertyMojo.java │ │ │ ├── SetScmTagMojo.java │ │ │ ├── UnlockSnapshotsMojo.java │ │ │ ├── UpdateChildModulesMojo.java │ │ │ ├── UpdateParentMojo.java │ │ │ ├── UpdatePropertiesMojo.java │ │ │ ├── UpdatePropertiesMojoBase.java │ │ │ ├── UpdatePropertyMojo.java │ │ │ ├── UseDepVersionMojo.java │ │ │ ├── UseLatestReleasesMojo.java │ │ │ ├── UseLatestSnapshotsMojo.java │ │ │ ├── UseLatestVersionsMojo.java │ │ │ ├── UseLatestVersionsMojoBase.java │ │ │ ├── UseNextReleasesMojo.java │ │ │ ├── UseNextSnapshotsMojo.java │ │ │ ├── UseNextVersionsMojo.java │ │ │ ├── UseReactorMojo.java │ │ │ ├── UseReleasesMojo.java │ │ │ ├── internal │ │ │ └── DependencyUpdatesLoggingHelper.java │ │ │ ├── reporting │ │ │ ├── AbstractVersionsReportRenderer.java │ │ │ ├── DependencyUpdatesReportRenderer.java │ │ │ ├── OverviewStats.java │ │ │ ├── ParentUpdatesReportRenderer.java │ │ │ ├── PluginOverviewStats.java │ │ │ ├── PluginUpdatesReportRenderer.java │ │ │ ├── PropertyUpdatesReportRenderer.java │ │ │ ├── ReportRendererFactory.java │ │ │ ├── ReportRendererFactoryImpl.java │ │ │ ├── VersionsReportRendererBase.java │ │ │ ├── model │ │ │ │ ├── AbstractUpdatesModel.java │ │ │ │ ├── DependencyUpdatesModel.java │ │ │ │ ├── ParentUpdatesModel.java │ │ │ │ ├── PluginUpdatesModel.java │ │ │ │ └── PropertyUpdatesModel.java │ │ │ └── util │ │ │ │ ├── AggregateReportUtils.java │ │ │ │ └── ReportRenderer.java │ │ │ └── xml │ │ │ ├── CommonXmlReportRendererUtils.java │ │ │ ├── DependencyUpdatesXmlReportRenderer.java │ │ │ ├── PluginUpdatesXmlReportRenderer.java │ │ │ └── PropertyUpdatesXmlReportRenderer.java │ └── resources │ │ ├── META-INF │ │ └── m2e │ │ │ └── lifecycle-mapping-metadata.xml │ │ ├── dependency-updates-aggregate-report.properties │ │ ├── dependency-updates-report.properties │ │ ├── org │ │ └── codehaus │ │ │ └── mojo │ │ │ └── versions │ │ │ └── recording │ │ │ ├── schema-1.0.xsd │ │ │ └── schema-2.0.xsd │ │ ├── parent-updates-report.properties │ │ ├── plugin-updates-aggregate-report.properties │ │ ├── plugin-updates-report.properties │ │ ├── property-updates-aggregate-report.properties │ │ └── property-updates-report.properties │ ├── site │ ├── markdown │ │ ├── examples │ │ │ ├── advancing-dependency-versions.md.vm │ │ │ ├── compare-dependencies.md │ │ │ ├── display-dependency-updates.md │ │ │ ├── display-plugin-updates.md │ │ │ ├── display-property-updates.md │ │ │ ├── lock-snapshots.md │ │ │ ├── recording-changes.md │ │ │ ├── resolve-ranges.md │ │ │ ├── set.md │ │ │ ├── setaggregator.md │ │ │ ├── unlock-snapshots.md │ │ │ ├── update-child-modules.md │ │ │ ├── update-parent.md │ │ │ ├── update-properties.md.vm │ │ │ └── use-releases.md │ │ ├── faq.md │ │ ├── index.md │ │ ├── usage.md.vm │ │ └── version-rules.md.vm │ └── site.xml │ └── test │ ├── java │ └── org │ │ └── codehaus │ │ └── mojo │ │ └── versions │ │ ├── CompareDependenciesMojoTest.java │ │ ├── DependencyUpdatesReportTest.java │ │ ├── DependencyUpdatesXmlRendererTest.java │ │ ├── DisplayDependencyUpdatesMojoTest.java │ │ ├── DisplayExtensionUpdatesMojoTest.java │ │ ├── DisplayParentUpdatesMojoTest.java │ │ ├── DisplayPluginUpdatesMojoTest.java │ │ ├── DisplayPropertyUpdatesMojoTest.java │ │ ├── ForceReleasesMojoTest.java │ │ ├── LockSnapshotsMojoTest.java │ │ ├── MinimalMavenBuildVersionFinderTest.java │ │ ├── ParentUpdatesReportTest.java │ │ ├── PluginUpdatesReportTest.java │ │ ├── PluginUpdatesXmlRendererTest.java │ │ ├── PropertyUpdatesReportTest.java │ │ ├── RevertMojoTest.java │ │ ├── SeparatePatternsForIncludesAnExcludesTest.java │ │ ├── SetMojoTest.java │ │ ├── SetPropertyMojoTest.java │ │ ├── SetScmTagMojoTest.java │ │ ├── UpdateParentMojoTest.java │ │ ├── UpdatePropertiesMojoTest.java │ │ ├── UpdatePropertiesMojoTestBase.java │ │ ├── UpdatePropertyMojoTest.java │ │ ├── UseDepVersionMojoTest.java │ │ ├── UseLatestReleasesMojoTest.java │ │ ├── UseLatestSnapshotsMojoTest.java │ │ ├── UseLatestVersionsMojoTest.java │ │ ├── UseLatestVersionsMojoTestBase.java │ │ ├── UseNextReleasesMojoTest.java │ │ ├── UseNextVersionsMojoTest.java │ │ ├── UseReleasesMojoTest.java │ │ └── model │ │ └── TestIgnoreVersions.java │ └── resources │ └── org │ └── codehaus │ └── mojo │ ├── compare-dependencies │ └── versionless │ │ └── pom.xml │ ├── display-dependency-updates │ ├── dependency-management-from-parent │ │ ├── child │ │ │ └── pom.xml │ │ └── pom.xml │ ├── problem-causing │ │ └── pom.xml │ ├── profiles │ │ └── pom.xml │ ├── ruleset │ │ └── pom.xml │ ├── version-from-parent │ │ ├── child │ │ │ └── pom.xml │ │ └── pom.xml │ └── version-interpolation │ │ └── pom.xml │ ├── display-plugin-updates │ ├── issue-990 │ │ ├── no-enforcer.xml │ │ ├── no-prerequisites.xml │ │ ├── prerequisites-greater.xml │ │ └── prerequisites-lesser.xml │ ├── problem-causing.xml │ └── ruleset │ │ └── pom.xml │ ├── display-property-updates │ ├── issue-367 │ │ ├── child │ │ │ └── pom.xml │ │ └── pom.xml │ └── issue-960 │ │ └── pom.xml │ ├── revert │ └── issue-265 │ │ ├── aggregate │ │ ├── pom.xml │ │ └── pom.xml.versionsBackup │ │ ├── module-a │ │ ├── pom.xml │ │ └── pom.xml.versionsBackup │ │ └── module-b │ │ ├── pom.xml │ │ └── pom.xml.versionsBackup │ ├── set-property │ ├── null-new-version │ │ └── pom.xml │ ├── null-property │ │ └── pom.xml │ ├── profiled-new-version-without-props │ │ └── pom.xml │ └── profiled-new-version │ │ └── pom.xml │ ├── set-scm-tag │ └── pom.xml │ ├── set │ ├── issue-1042 │ │ ├── child-webapp │ │ │ └── pom.xml │ │ ├── main-reactor │ │ │ ├── package-parent │ │ │ │ └── pom.xml │ │ │ ├── pom-parent │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ └── pom.xml │ ├── issue-1137 │ │ ├── child │ │ │ └── pom.xml │ │ └── pom.xml │ ├── issue-794 │ │ └── pom.xml │ ├── issue-855 │ │ ├── parent-with-property │ │ │ ├── child │ │ │ │ └── pom.xml │ │ │ └── pom.xml │ │ ├── pom-build-number.xml │ │ ├── pom-multiple-props.xml │ │ ├── pom-revision.xml │ │ ├── pom-simple.xml │ │ └── pom-undefined.xml │ ├── remove-snapshot │ │ └── pom.xml │ └── versionless-01 │ │ └── pom.xml │ ├── update-properties │ ├── issue-454-pom.xml │ ├── issue-837 │ │ ├── parent-pom.xml │ │ └── pom.xml │ ├── issue-929 │ │ └── pom.xml │ └── problem-causing │ │ └── pom.xml │ └── use-dep-version │ ├── issue-637 │ └── pom.xml │ ├── issue-925 │ └── pom.xml │ ├── problem-causing │ └── pom.xml │ └── properties │ ├── child-parent-redefinition │ ├── child │ │ └── pom.xml │ └── pom.xml │ ├── child-parent │ ├── child │ │ └── pom.xml │ └── pom.xml │ ├── conflict-cancellation-profiles │ ├── child │ │ └── pom.xml │ └── pom.xml │ ├── conflict-cancellation │ ├── child │ │ └── pom.xml │ └── pom.xml │ ├── conflict-redefinition │ ├── child │ │ └── pom.xml │ └── pom.xml │ ├── conflict │ └── pom.xml │ ├── simple-profiles │ └── pom.xml │ └── simple │ └── pom.xml ├── versions-model-report ├── pom.xml └── src │ ├── main │ └── mdo │ │ ├── dependency-updates-report.mdo │ │ ├── plugin-updates-report.mdo │ │ └── property-updates-report.mdo │ └── site │ ├── markdown │ └── xsd │ │ └── index.md │ └── site.xml ├── versions-model ├── pom.xml └── src │ ├── main │ └── mdo │ │ └── rule.mdo │ └── site │ ├── markdown │ └── xsd │ │ └── index.md │ ├── resources │ └── xsd │ │ ├── rule-2.0.0.xsd │ │ └── rule-2.1.0.xsd │ └── site.xml └── versions-test ├── pom.xml └── src └── main └── java └── org └── codehaus └── mojo └── versions └── utils ├── CloseableTempFile.java ├── MockUtils.java ├── TestChangeRecorder.java ├── TestLog.java └── TestUtils.java /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # code reformat after spotless 2 | 1fb9f3be46943a2c67e32ff23ed2246d1b4e4fd9 -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: maven 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | - package-ecosystem: github-actions 8 | directory: "/" 9 | schedule: 10 | interval: daily 11 | -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | _extends: .github 2 | name-template: '$RESOLVED_VERSION' 3 | tag-template: 'versions-maven-plugin-$RESOLVED_VERSION' 4 | version-resolver: 5 | major: 6 | labels: 7 | - major 8 | minor: 9 | labels: 10 | - minor 11 | - enhancement 12 | patch: 13 | labels: 14 | - patch 15 | default: patch 16 | template: | 17 | ## Changes 18 | 19 | $CHANGES -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- 1 | name: Release Drafter 2 | on: 3 | push: 4 | branches: 5 | - master 6 | workflow_dispatch: 7 | 8 | jobs: 9 | update_release_draft: 10 | uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | .settings 3 | .classpath 4 | .project 5 | *.iml 6 | .idea 7 | .checkstyle 8 | /.factorypath 9 | -------------------------------------------------------------------------------- /.mvn/README.txt: -------------------------------------------------------------------------------- 1 | preserve .mvn directory 2 | -------------------------------------------------------------------------------- /rules.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /versions-api/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /versions-common/src/test/resources/org/codehaus/mojo/versions/api/PomHelperTest.utf16.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mojohaus/versions/a5a444929a14521e4e2cfb7a844a84e97fb610e8/versions-common/src/test/resources/org/codehaus/mojo/versions/api/PomHelperTest.utf16.xml -------------------------------------------------------------------------------- /versions-common/src/test/resources/org/codehaus/mojo/versions/recording/expectedFile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /versions-common/src/test/resources/org/codehaus/mojo/versions/rewriting/iso-8859-2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mojohaus/versions/a5a444929a14521e4e2cfb7a844a84e97fb610e8/versions-common/src/test/resources/org/codehaus/mojo/versions/rewriting/iso-8859-2.xml -------------------------------------------------------------------------------- /versions-common/src/test/resources/org/codehaus/mojo/versions/rewriting/utf-16.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mojohaus/versions/a5a444929a14521e4e2cfb7a844a84e97fb610e8/versions-common/src/test/resources/org/codehaus/mojo/versions/rewriting/utf-16.xml -------------------------------------------------------------------------------- /versions-common/src/test/resources/org/codehaus/mojo/versions/utils/testPropertiesVersionsFile.properties: -------------------------------------------------------------------------------- 1 | booking-api.version=1.2.3 2 | booking-lib.version=4.5.6 3 | be-air-impl.version=7.8.9 4 | -------------------------------------------------------------------------------- /versions-enforcer/src/it-repo/dummy-api-2.2-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 2.2-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | invoker.buildResult = failure 3 | # execute one job first in order to download runtime dependencies 4 | invoker.ordinal = 100 5 | 6 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | -------------------------------------------------------------------------------- /versions-enforcer/src/it/it-max-dependency-updates-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = enforcer:enforce 2 | invoker.buildResult = failure 3 | -------------------------------------------------------------------------------- /versions-enforcer/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.0.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.0.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.0-2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.0-2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.1-2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.1-2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.2-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.2-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.3.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1.3 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.2.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.2.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.2.2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.2.2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.3.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.3 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-1.9.1-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 1.9.1-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-2.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 2.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-2.1.1-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 2.1.1-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-2.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 2.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-3.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 3.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-3.1.1-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 3.1.1-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-3.1.5-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 3.1.5-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-3.4.0-20090311.051742-1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 3.4.0-20090311.051742-1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-api-3.4.0-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-api 7 | 3.4.0-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-bom2-1.0.0-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | localhost 8 | dummy-bom2 9 | 1.0.0-SNAPSHOT 10 | pom 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-bom2-1.0.0.pom: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | localhost 8 | dummy-bom2 9 | 1.0.0 10 | pom 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-bom2-1.1.0.pom: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | localhost 8 | dummy-bom2 9 | 1.1.0 10 | pom 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-bom2-2.0.0.pom: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | localhost 8 | dummy-bom2 9 | 2.0.0 10 | pom 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-bom2-3.0.0-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | localhost 8 | dummy-bom2 9 | 3.0.0-SNAPSHOT 10 | pom 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-1.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 1.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-1.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 1.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-1.2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 1.2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-1.3.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 1.3 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-1.4.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 1.4 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-2.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 2.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-2.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 2.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-impl-2.2.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-impl 7 | 2.2 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-parent4-70.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-parent4 7 | 70 8 | pom 9 | 10 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-parent4-71-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-parent4 7 | 71-SNAPSHOT 8 | pom 9 | 10 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-parent5-1.0.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-parent5 7 | 1.0.0 8 | pom 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/dummy-parent5-2.0.0-rc1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | dummy-parent5 7 | 2.0.0-rc1 8 | pom 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/issue-114-artifact-1.0.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/issue-114-artifact-1.0.pom: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | localhost 7 | issue-114-artifact 8 | 1.0 9 | jar 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/issue-114-artifact-1.1.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/issue-114-artifact-1.1.pom: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | localhost 7 | issue-114-artifact 8 | 1.1 9 | jar 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-2.0.11.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 2.0.11 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-2.0.8.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 2.0.8 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-2.1.0-M1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 2.1.0-M1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-2.2.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 2.2.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-3.0-beta-3.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 3.0-beta-3 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-3.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 3.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-3.1.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 3.1.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/latest-versions-api-3.3.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | latest-versions-api 7 | 3.3.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-1.1.1.1.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-1.1.1.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.bigversion 6 | dummy-lib 7 | 1.1.1.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.0.0.0.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.0.0.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.bigversion 6 | dummy-lib 7 | 2.0.0.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.0.10.0.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.0.10.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.bigversion 6 | dummy-lib 7 | 2.0.10.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.12.0.0.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-2.12.0.0.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.bigversion 6 | dummy-lib 7 | 2.12.0.0 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-3.0.0.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/bigversion/dummy-lib-3.0.0.0-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.bigversion 6 | dummy-lib 7 | 3.0.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/module-0.0.2.19.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/module-0.0.2.19.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | module 7 | 0.0.2.19 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/module-1.2.3-SNAPSHOT.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/module-1.2.3-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | module 7 | 1.2.3-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.18.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.18.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | moduleTest 7 | 0.0.2.18 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.19.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.19.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | moduleTest 7 | 0.0.2.19 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.20.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-0.0.2.20.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | moduleTest 7 | 0.0.2.20 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-1.2.3-SNAPSHOT.jar: -------------------------------------------------------------------------------- 1 | JAR File 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/test/package/moduleTest-1.2.3-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test.package 6 | moduleTest 7 | 1.2.3-SNAPSHOT 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/update-api-1.9.5.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | update-api 7 | 1.9.5 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/update-api-2.0.0-beta.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | update-api 7 | 2.0.0-beta 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/versions-rules-3.0.1-1.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | version-rules 7 | 3.0.1-1.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/versions-rules-3.0.1-1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | version-rules 7 | 3.0.1-1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it-repo/versions-rules-3.0.1.pom: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | version-rules 7 | 3.0.1 8 | jar 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-823-ranges-update-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:property-updates-report 2 | invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-823-ranges-update-report-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:property-updates-report 2 | invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-abstract-versions-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 2 | 3 | invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-aggregate-plugn-multiple-versions-same-plugin/invoker.properties: -------------------------------------------------------------------------------- 1 | #invoker.goals=clean install 2 | invoker.goals=-Pdependency-updates-reports validate validate 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-update-parent-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-update-parent-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def changes = new XmlSlurper().parse( new File( basedir, 'target/versions-changes.xml' ) ) 4 | assert !(changes.dependencyUpdate.find { node -> node.@kind == 'parent-update' 5 | && node.@groupId == 'localhost' 6 | && node.@artifactId == 'dummy-parent' 7 | && node.@oldVersion == '1.0' 8 | && node.@newVersion == '3.0' }.isEmpty()) 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-update-properties-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-releases-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-releases-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def changes = new XmlSlurper().parse( new File( basedir, 'target/versions-changes.xml' ) ) 4 | assert !(changes.dependencyUpdate.find { node -> node.@kind == 'dependency-update' 5 | && node.@groupId == 'localhost' 6 | && node.@artifactId == 'dummy-api' 7 | && node.@oldVersion == '1.1.1-2' 8 | && node.@newVersion == '3.0' }.isEmpty()) 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-snapshots-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots -DallowMinorUpdates=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-snapshots-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def changes = new XmlSlurper().parse( new File( basedir, 'target/versions-changes.xml' ) ) 4 | assert !(changes.dependencyUpdate.find { node -> node.@kind == 'dependency-update' 5 | && node.@groupId == 'localhost' 6 | && node.@artifactId == 'dummy-api' 7 | && node.@oldVersion == '1.0' 8 | && node.@newVersion == '1.9.1-SNAPSHOT' }.isEmpty()) 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-versions-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-latest-versions-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def changes = new XmlSlurper().parse( new File( basedir, 'target/versions-changes.xml' ) ) 4 | assert !(changes.dependencyUpdate.find { node -> node.@kind == 'dependency-update' 5 | && node.@groupId == 'localhost' 6 | && node.@artifactId == 'dummy-api' 7 | && node.@oldVersion == '1.1.1-2' 8 | && node.@newVersion == '3.0' }.isEmpty()) 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-next-versions-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DchangeRecorderFormat=xml ${project.groupId}:${project.artifactId}:${project.version}:use-next-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-changerecord-use-next-versions-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def changes = new XmlSlurper().parse( new File( basedir, 'target/versions-changes.xml' ) ) 4 | assert !(changes.dependencyUpdate.find { node -> node.@kind == 'dependency-update' 5 | && node.@groupId == 'localhost' 6 | && node.@artifactId == 'dummy-api' 7 | && node.@oldVersion == '1.1.1-2' 8 | && node.@newVersion == '1.1.2' }.isEmpty()) 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-001/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-pom:1.0 2 | reportOutputFile=target/depDiffs.txt -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "target/depDiffs.txt" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0.10 -> 2.0.9" ) < 0 ) 10 | { 11 | System.err.println( "Version diff in maven artifact not found" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-002/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-pom:1.0 2 | reportMode=false 3 | updatePropertyVersions=true 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-003/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-maven-mismatch:1.0 2 | reportMode=false 3 | updatePropertyVersions=true 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-004/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-pom:1.0 2 | reportOutputFile=target/depDiffs.txt 3 | reportMode=true 4 | updatePropertyVersions=true 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-005/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-pom:1.0 2 | reportOutputFile=target/depDiffs.txt 3 | reportMode=true 4 | updatePropertyVersions=true 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies -Dscope=compile 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-006/test.properties: -------------------------------------------------------------------------------- 1 | remotePom=localhost:dummy-bom-pom:1.0 2 | reportOutputFile=target/depDiffs.txt 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-issue-289/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:compare-dependencies 2 | invoker.mavenOpts = -DremotePom=localhost:dummy-with-parent:1.0 -DreportMode=false -DprocessParent=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-compare-dependencies-issue-289/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.parent.version == '2.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-aggregate-report-issue-333/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-aggregate-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report -f child/pom.xml 2 | invoker.mavenOpts = -DdependencyUpdatesReportFormats=xml -DprocessDependencyManagement=false -DprocessDependencyManagementTransitive=false -DonlyProjectDependencies=true -DonlyUpgradable=true -DshowVersionless=false 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-1140/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "child/target/dependency-updates-report.xml").text 2 | assert !output.contains("dummy-api") 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-1191/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 2 | invoker.mavenOpts = -DdependencyUpdatesReportFormats=xml -DprocessDependencyManagementTransitive=false 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-1191/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def report = new XmlSlurper().parse(new File(basedir, "target/dependency-updates-report.xml")) 4 | assert !(report 5 | .dependencyManagements 6 | .dependencyManagement 7 | .find { node -> node.artifactId == 'dummy-api' }.isEmpty()) 8 | 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-684-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-684-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File( basedir, "target/reports/dependency-updates-report.html" ).text 2 | assert ! ( output =~ /\b3.0\b/ ) 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-755/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 2 | invoker.mavenOpts = -DdependencyUpdatesReportFormats=xml 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-755/verify.groovy: -------------------------------------------------------------------------------- 1 | report = new File( basedir, "target/dependency-updates-report.xml" ).text.replaceAll( '\\s*', '' ) 2 | 3 | assert report.contains( '1.0.1' ) 4 | assert report.contains( '1.1' ) 5 | assert report.contains( '2.0' ) 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-dependency-updates-report-issue-951/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -Dmaven.version.ignore=3.0 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output1.txt").text 2 | assert output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*1\.1\s+->\s+3\.0\b/ 3 | 4 | output = new File(basedir, "output2.txt").text 5 | assert ! ( output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*1\.1\s+->\s+3\.0\b/ ) 6 | assert output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*1\.1\s+->\s+2\.1\b/ 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-007-outputFile/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts=-Dverbose=true -Dversions.outputFile=./dependencyUpdate.txt -DoutputEncoding=UTF-8 -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-008/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts=-Dverbose=true -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 -Dversions.outputLineWidth=120 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-008/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | assert output.contains('localhost:dummy-api ............................................................................... 1.0 ->') -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-009-processDependencyManagementTransitive-true/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File( basedir, "build.log").text 2 | assert buildLog =~ /\Qlocalhost:dummy-api\E\s*\.*\s*1\.1\s+->\s+3\.0/ 3 | assert buildLog =~ /\Qlocalhost:dummy-impl\E\s*\.*\s*1\.2\s+->\s+2\.2/ 4 | assert !(buildLog =~ /\Qlocalhost:dummy-api-impl-bom-pom\E\s*\.*\s*1\.0\s+->\s+2\.0/) 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-1001-groupid/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | assert output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.0\E\b/ 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyExcludes/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyExcludes/test.properties: -------------------------------------------------------------------------------- 1 | dependencyExcludes=*:*:*:*:*:compile,*:*:*:*:*:test 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyExcludes/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File( basedir, "build.log" ) 2 | 3 | assert buildLog.text.contains( """ 4 | [INFO] The following dependencies in Dependencies have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] 7 | """.replaceAll( "\n", System.lineSeparator() ) ) 8 | 9 | return true 10 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes-multi/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes-multi/test.properties: -------------------------------------------------------------------------------- 1 | dependencyIncludes=*:dummy-api,*:dummy-impl 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes-multi/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File(basedir, "build.log") 2 | 3 | assert buildLog.text.contains(""" 4 | [INFO] The following dependencies in Dependencies have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] localhost:dummy-impl ...................................... 1.0 -> 2.2 7 | [INFO] 8 | """.replaceAll( "\n", System.lineSeparator() ) ) 9 | 10 | return true 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes/test.properties: -------------------------------------------------------------------------------- 1 | dependencyIncludes=localhost:dummy-*:*:*:*:* 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludes/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File(basedir, "build.log") 2 | 3 | assert buildLog.text.contains(""" 4 | [INFO] The following dependencies in Dependencies have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] localhost:dummy-impl ...................................... 1.0 -> 2.2 7 | [INFO] 8 | """.replaceAll( "\n", System.lineSeparator() ) ) 9 | 10 | return true 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludesAndExcludes/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludesAndExcludes/test.properties: -------------------------------------------------------------------------------- 1 | dependencyIncludes=localhost:dummy-*:*:*:*:* 2 | dependencyExcludes=*:dummy-impl:*:*:* 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyIncludesAndExcludes/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File(basedir, "build.log") 2 | 3 | assert buildLog.text.contains(""" 4 | [INFO] The following dependencies in Dependencies have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] 7 | """.replaceAll( "\n", System.lineSeparator() ) ) 8 | 9 | return true 10 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementExcludes/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementExcludes/test.properties: -------------------------------------------------------------------------------- 1 | processDependencies=false 2 | dependencyManagementExcludes=*:*:*:*:*:provided,*:*:*:*:*:import 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementExcludes/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File(basedir, "build.log") 2 | 3 | assert buildLog.text.contains(""" 4 | [INFO] The following dependencies in Dependency Management have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] localhost:dummy-impl ...................................... 1.0 -> 2.2 7 | [INFO] 8 | """.replaceAll( "\n", System.lineSeparator() ) ) 9 | 10 | return true 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementIncludes/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementIncludes/test.properties: -------------------------------------------------------------------------------- 1 | processDependencies=false 2 | dependencyManagementIncludes=*:*:*:*:*:null,*:*:*:*:*:test 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-318-dependencyManagementIncludes/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File(basedir, "build.log") 2 | 3 | assert buildLog.text.contains(""" 4 | [INFO] The following dependencies in Dependency Management have newer versions: 5 | [INFO] localhost:dummy-api ....................................... 1.0 -> 3.0 6 | [INFO] localhost:dummy-impl ...................................... 1.0 -> 2.2 7 | [INFO] 8 | """.replaceAll( "\n", System.lineSeparator() ) ) 9 | 10 | return true 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-34-1/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-34-2/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates -DprocessPluginDependencies=false 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-34-3/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates -DprocessPluginDependencies=false -DprocessPluginDependenciesInPluginManagement=false 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-34-4/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates -DprocessPluginDependencies=false -DprocessPluginDependenciesInPluginManagement=false -DprocessDependencies=false 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-34-5/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates -DprocessPluginDependencies=false -DprocessPluginDependenciesInPluginManagement=false -DprocessDependencies=false -DprocessDependencyManagement=false 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-684-pom-based-rules/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -Dmaven.version.ignore=2.1 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-973-versionless/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-dependency-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-dependency-updates-issue-973-versionless/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | def matcher = output =~ /\Qlocalhost:dummy-api\E.*->\s+\Q3.0\E\b/ 3 | assert matcher.find() : "localhost:dummy-api should have been bumped to version 3.0" 4 | assert !matcher.find() : "localhost:dummy-api may only appear once in the updates list" 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-002/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | localhost 6 | it-display-extension-updates-002 7 | 8 | 1.0 9 | pom 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-003/.mvn/extensions.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | localhost 5 | dummy-api 6 | 1.0 7 | 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-extension-updates 2 | invoker.mavenOpts.1 = -DprocessBuildExtensions=false -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-extension-updates 5 | invoker.mavenOpts.2 = -DprocessCoreExtensions=false -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-003/verify.groovy: -------------------------------------------------------------------------------- 1 | def output1 = new File( basedir, "output1.txt").text 2 | assert !( output1 =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.1\E/ ) 3 | assert output1 =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.0\E/ 4 | 5 | def output2 = new File( basedir, "output2.txt").text 6 | assert output2 =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.1\E/ 7 | assert !( output2 =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.0\E/ ) 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-004/child/.mvn/extensions.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | localhost 5 | dummy-impl 6 | 1.0 7 | 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-extension-updates-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-extension-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-extension-updates 5 | invoker.mavenOpts.2 = -DinterpolateProperties=false -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-parent-updates-no-updates/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | assert output =~ /\Qlocalhost:dummy-parent2\E\s*\.*\s*\Q3.1\E\s*$/ 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-parent-updates-simple-update/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | assert output =~ /\Qlocalhost:dummy-parent2\E\s*\.*\s*\Q1.0\E\s+->\s+\Q3.1\E\b/ 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-parent-updates-snapshots/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File(basedir, "output.txt").text 2 | assert output =~ /\Qlocalhost:dummy-parent4\E\s*\.*\s*\Q70\E\s+->\s+\Q71-SNAPSHOT\E\b/ 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -Dmaven.version.ignore=3.0 6 | 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output1.txt").text 2 | assert output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+3\.0\b/ 3 | 4 | output = new File(basedir, "output2.txt").text 5 | assert ! ( output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+3\.0\b/ ) 6 | assert output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+2\.1\b/ 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-005/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output.txt").text 2 | assert output =~ /\Qmaven-deploy-plugin\E\s*\.*\s*\Q2.3 ->\E/ 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-007/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-008/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-008/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLog = new File( basedir, "build.log" ).text 2 | 3 | m1 = buildLog =~ /Require Maven 3\.8\.4 to use the following plugin updates:/ 4 | m2 = buildLog =~ /localhost:dummy-maven-plugin *\.*\s*\b1\.0 -> 3\.1\b/ 5 | 6 | assert m1 && m2 && m1.start() < m2.start() -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-009-issue-422/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-010-issue-526/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-011-ignore-plugin-defined-in-parent/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-012-outputLineWidth/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./dependencyUpdate.txt -Dversions.outputLineWidth=60 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-012-outputLineWidth/verify.groovy: -------------------------------------------------------------------------------- 1 | assert new File( basedir, "dependencyUpdate.txt" ).text =~ /\.{14}/ 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184-01/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184-01/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File( basedir, "output.txt").text 2 | assert !(output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E/) 3 | 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184/.mvn/extensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | localhost 7 | dummy-api 8 | 1.0 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts = -Dversions.outputFile=./output.txt -DoutputEncoding=UTF-8 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | localhost 6 | it-display-extension-updates-002 7 | 8 | 1.0 9 | pom 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-1184/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File( basedir, "output.txt").text 2 | assert !(output =~ /\Qlocalhost:dummy-api\E\s*\.*\s*\Q1.0\E/) 3 | 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-684-pom-based-rules/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-plugin-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -Dmaven.version.ignore=2.1 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-plugin-updates-issue-684-pom-based-rules/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output1.txt").text 2 | assert ! ( output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+3\.0\b/ ) 3 | assert output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+2\.1\b/ 4 | 5 | output = new File(basedir, "output2.txt").text 6 | assert ! ( output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+2\.1\b/ ) 7 | assert output =~ /\Qlocalhost:dummy-maven-plugin\E\s*\.*\s*1\.0\s+->\s+2\.0\b/ 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-property-updates-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-property-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 -DautoLinkItems=true 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-property-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -DautoLinkItems=true -Dmaven.version.ignore=2.0 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-property-updates-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output1.txt").text 2 | assert output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+2\.0\b/ 3 | 4 | output = new File(basedir, "output2.txt").text 5 | assert ! ( output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+2\.0\b/ ) 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-property-updates-002-outputLineWidth/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DautoLinkItems=true ${project.groupId}:${project.artifactId}:${project.version}:display-property-updates -Dversions.outputFile=./dependencyUpdate.txt -Dversions.outputLineWidth=120 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-property-updates-issue-684-pom-based-rules/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:display-property-updates 2 | invoker.mavenOpts.1 = -Dversions.outputFile=./output1.txt -DoutputEncoding=UTF-8 -DautoLinkItems=true 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:display-property-updates 5 | invoker.mavenOpts.2 = -Dversions.outputFile=./output2.txt -DoutputEncoding=UTF-8 -DautoLinkItems=true -Dmaven.version.ignore=1.3 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-display-property-updates-issue-684-pom-based-rules/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File(basedir, "output1.txt").text 2 | assert ! ( output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+2\.0\b/ ) 3 | assert output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+1\.3\b/ 4 | 5 | output = new File(basedir, "output2.txt").text 6 | assert ! ( output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+2\.0\b/ ) 7 | assert ! ( output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+1\.3\b/ ) 8 | assert output =~ /\Q\u0024{api}\E\s*\.*\s*1\.0\s+->\s+1\.2.2\b/ 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-encoding-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-encoding-001/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mojohaus/versions/a5a444929a14521e4e2cfb7a844a84e97fb610e8/versions-maven-plugin/src/it/it-encoding-001/pom.xml -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-encoding-001/verify.groovy: -------------------------------------------------------------------------------- 1 | def pom = new File(basedir, "pom.xml").getText("ISO-8859-15") 2 | 3 | // if pom.xml has not been modified, the test is not useful... 4 | assert pom.contains('2.0') 5 | 6 | assert pom.contains('Modify a POM stored with ISO-8859-15 encoding (check euro symbol: \u20AC)') : 7 | 'Encoding not preserved while modifying pom.xml' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-force-releases-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:force-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-force-releases-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '1.0.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-lock-snapshots-junit/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:lock-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-lock-snapshots-junit/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert !( project.dependencies.dependency.version =~ /-SNAPSHOT/ ) -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-parent-updates-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-parent-updates-report-001/verify.groovy: -------------------------------------------------------------------------------- 1 | report = new File( basedir, "target/site/parent-updates-report.html" ).text 2 | .replaceAll( "<[^>]+>", " " ) 3 | .replaceAll( "&[^;]+;", " " ) 4 | .replaceAll( "\\s+", " " ) 5 | 6 | assert report =~ /dummy-parent2 +1.0 +pom +3.1/ 7 | 8 | report = new File( basedir, "module/target/site/parent-updates-report.html" ).text 9 | .replaceAll( "<[^>]+>", " " ) 10 | .replaceAll( "&[^;]+;", " " ) 11 | .replaceAll( "\\s+", " " ) 12 | 13 | assert report =~ /dummy-parent3 +1.0.0 +pom/ -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-aggregate-report-issue-333/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-aggregate-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-issue-684-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-issue-684-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File( basedir, 'target/reports/plugin-updates-report.html' ).text 2 | .replaceAll( '<[^>]+>', ' ' ) 3 | .replaceAll( '&[^;]+;', ' ' ) 4 | .replaceAll( '\\s+', ' ' ) 5 | assert ! ( output =~ /\blocalhost dummy-maven-plugin 1.0 3.1\b/ ) 6 | assert output =~ /\blocalhost dummy-maven-plugin 1.0 3.0\b/ 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-issue-755/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report 2 | invoker.mavenOpts = -DpluginUpdatesReportFormats=xml 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-plugin-updates-report-issue-755/verify.groovy: -------------------------------------------------------------------------------- 1 | report = new File( basedir, "target/plugin-updates-report.xml" ).text.replaceAll( '\\s*', '' ) 2 | 3 | 4 | assert report.contains( '2.1' ) 5 | assert report.contains( '3.1' ) 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-aggregate-report-issue-333/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:property-updates-aggregate-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-aggregate-report-issue-333/verify.groovy: -------------------------------------------------------------------------------- 1 | def output = new File( basedir, 'target/reports/property-updates-aggregate-report.html' ).text 2 | .replaceAll( '<[^>]+>', ' ' ) 3 | .replaceAll( '&[^;]+;', ' ' ) 4 | .replaceAll( '\\s+', ' ' ) 5 | 6 | assert output =~ '\\$\\{version.dummy-lib} 1.1.1.1' 7 | assert output =~ '\\$\\{version.dummy-lib} 2.12.0.0' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-report-002-slow/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=site 2 | invoker.timeoutInSeconds=30 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-report-issue-684-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-property-updates-report-issue-684-001/verify.groovy: -------------------------------------------------------------------------------- 1 | output = new File( basedir, 'target/reports/plugin-updates-report.html' ).text 2 | .replaceAll( '<[^>]+>', ' ' ) 3 | .replaceAll( '&[^;]+;', ' ' ) 4 | .replaceAll( '\\s+', ' ' ) 5 | assert ! ( output =~ /\blocalhost dummy-maven-plugin 1.0 3.1\b/ ) 6 | assert output =~ /\blocalhost dummy-maven-plugin 1.0 3.0\b/ 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not resolved to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "child2/pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not resolved to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges -DprocessParent=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-1121/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-1121/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not resolved" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-442/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | invoker.buildResult=failure 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-442/verify.groovy: -------------------------------------------------------------------------------- 1 | def buildLogFile = new File(basedir, "build.log") 2 | assert buildLogFile.text.contains("MojoExecutionException: Found invalid managed dependency junit:junit:jar without a version") -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-454/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges 2 | invoker.mavenOpts = -DallowMajorUpdates=false 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-resolve-ranges-issue-454/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert !( pom =~ /2.0.0-rc1/ ) 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-revert-isssue-265/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1 = ${project.groupId}:${project.artifactId}:${project.version}:set -f aggregate/pom.xml 2 | invoker.mavenOpts.1 = -DnewVersion=1.2.3 -DprocessAllModules 3 | 4 | invoker.goals.2 = ${project.groupId}:${project.artifactId}:${project.version}:revert -f aggregate/pom.xml -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-revert-isssue-265/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | localhost 4 | dummy-artifact-a 5 | 1.0.0 6 | pom 7 | 8 | 9 | 10 | localhost 11 | dummy-artifact 12 | OLD 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-revert-isssue-265/verify.groovy: -------------------------------------------------------------------------------- 1 | assert new File( basedir, "aggregate/pom.xml" ).text =~ /OLD/ 2 | assert !new File( basedir, "aggregate/pom.xml.versionsBackup" ).exists() 3 | 4 | assert new File( basedir, "module-a/pom.xml" ).text =~ /OLD/ 5 | assert !new File( basedir, "module-a/pom.xml.versionsBackup" ).exists() 6 | 7 | assert new File( basedir, "module-b/pom.xml" ).text =~ /OLD/ 8 | assert !new File( basedir, "module-b/pom.xml.versionsBackup" ).exists() 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-rules-via-classpath-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | invoker.buildResult = failure 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-rules-via-classpath-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean install ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-rules-via-classpath-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean install ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-rules-via-classpath-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0.1-1.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of version-rules not bumped to 3.0.1-1.1" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-001-issue-76/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.3 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-001-issue-76/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert project.version == '2.3' 5 | assert project.dependencies.dependency[0].version == '2.2' 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | 3 | invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -DgroupId=* -DartifactId=* -DoldVersion=* 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-001/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert project.version == '2.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-002/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert project.version == '2.0' 5 | 6 | def child = new XmlSlurper().parse(new File(basedir, 'child/pom.xml')) 7 | assert child.parent.version == '2.0' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-003/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert project.version == '2.0' 5 | assert project.dependencyManagement.dependencies.dependency[0].version == '2.0' 6 | 7 | def child = new XmlSlurper().parse(new File(basedir, 'child/pom.xml')) 8 | assert child.parent.version == '2.0' 9 | assert child.version == '2.0' 10 | 11 | def child2 = new XmlSlurper().parse(new File(basedir, 'child/pom.xml')) 12 | assert child2.parent.version == '2.0' 13 | assert child2.version == '2.0' 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=testing 2 | 3 | # https://issues.apache.org/jira/browse/MNG-8211 4 | invoker.maven.version = !4.0.0+, !3.9.10+ 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-004/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert project.version == 'testing' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-005-properties/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:set 2 | invoker.mavenOpts = -DnewVersion=1.2.1-SNAPSHOT -Drevision=1.2.0 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=1.2.1-SNAPSHOT 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-005/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def parentPom = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert parentPom.version == '1.2.1-SNAPSHOT' 5 | 6 | def moduleA1 = new XmlSlurper().parse(new File(basedir, 'module-a1/pom.xml')) 7 | assert moduleA1.parent.version == '1.2.1-SNAPSHOT' 8 | assert moduleA1.version == '2.0.7-SNAPSHOT' 9 | 10 | def moduleA2 = new XmlSlurper().parse(new File(basedir, 'module-a2/pom.xml')) 11 | assert moduleA2.parent.version == '1.2.1-SNAPSHOT' 12 | assert moduleA2.version == '1.2.1-SNAPSHOT' 13 | 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set \ 2 | -DnewVersion=1.2.1-SNAPSHOT \ 3 | -DupdateMatchingVersions=false 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-007/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DgroupId=localdomain.localhost -DartifactId=module-a1 -DoldVersion= -DnewVersion=2.0.6 -DprocessDependencies=true -DprocessPlugins=false -DprocessProject=false -DprocessParent=false 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-007/module-a1/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | localdomain.localhost 5 | module-a1 6 | pom 7 | 2.0.7-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-008/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DgroupId=* -DartifactId=module-a* -DoldVersion=* -DnewVersion=2.0.9-SNAPSHOT -DupdateMatchingVersions=false 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-009/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-f alternative-pom.xml ${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-010-issue-198/fake-api/src/main/java/org/eclipse/jetty/App.java: -------------------------------------------------------------------------------- 1 | package org.eclipse.jetty; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-010-issue-198/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DoldVersion=1.0.0-SNAPSHOT -DnewVersion=1.0.0 -DgenerateBackupPoms=false -DprocessAllModules=true -e 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-010/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DremoveSnapshot=true 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-010/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | it-set-010 7 | 1.0-SNAPSHOT 8 | pom 9 | set 10 | 11 | Remove -SNAPSHOT from the version 12 | 13 | 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-010/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def pom = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert pom.version == '1.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-011/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DremoveSnapshot=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-011/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def parentPom = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert parentPom.version == '1.0' 5 | 6 | def child = new XmlSlurper().parse(new File(basedir, 'child/pom.xml')) 7 | assert child.parent.version == '1.0' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-014/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true 2 | invoker.nonRecursive=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-014/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | it-set-014 7 | 1.0.0 8 | pom 9 | set 10 | 11 | Set to next -SNAPSHOT version with 3 digit version 12 | 13 | 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-014/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def pom = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert pom.version == '1.0.1-SNAPSHOT' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-016/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-016/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def pom = new XmlSlurper().parse(new File(basedir, 'pom.xml')) 4 | assert pom.version == '1.1-SNAPSHOT' 5 | 6 | def child = new XmlSlurper().parse(new File(basedir, 'child/pom.xml')) 7 | assert child.parent.version == '1.1-SNAPSHOT' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-017-issue-321/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DgroupId=* -DartifactId=* -DoldVersion=* -DnewVersion=1.3.0-SNAPSHOT 2 | invoker.buildResult=failure 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-017-issue-321/module-a1/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | localdomain.localhost 5 | module-a1 6 | pom 7 | 1.2.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-017-issue-321/verify.groovy: -------------------------------------------------------------------------------- 1 | 2 | 3 | def log = new File( basedir, "build.log" ).text 4 | assert log.contains(' Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.') 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-018-issue-82/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set \ 2 | -fmodule-a1 \ 3 | -DnewVersion=2.5.0-SNAPSHOT \ 4 | -DprocessFromLocalAggregationRoot=false 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-019-issue-426/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set \ 2 | -fmodule-a1 \ 3 | -DnewVersion=2.5.0-SNAPSHOT 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-019-outputTimestamp/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-019-outputTimestamp/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text; 2 | 3 | assert pom =~ /\d\d\d\d+<.project.build.outputTimestamp>/ 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-020-outputTimestamp-disabled/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -DupdateBuildOutputTimestamp=false 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-020-outputTimestamp-disabled/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text; 2 | 3 | // expect outputTimestamp to be untouched 4 | assert pom =~ /10<.project.build.outputTimestamp>/ 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-021-outputTimestampPolicy-always/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=1.0 -DupdateBuildOutputTimestampPolicy=always -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-021-outputTimestampPolicy-always/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert pom =~ /\d\d\d\d+<.project.build.outputTimestamp>/ 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-022-outputTimestampPolicy-onchange/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=1.0 -DupdateBuildOutputTimestampPolicy=onchange -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-022-outputTimestampPolicy-onchange/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert pom =~ /10<.project.build.outputTimestamp>/ 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-023-outputTimestampPolicy-never/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -DupdateBuildOutputTimestampPolicy=never -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-023-outputTimestampPolicy-never/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert pom =~ /10<.project.build.outputTimestamp>/ 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-024-versionless-dependency/child/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | localhost 7 | test-artifact 8 | 1.0 9 | 10 | 11 | child 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-024-versionless-dependency/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DprocessDependencies=true, -DartifactId=child -DoldVersion=1.0 -DnewVersion=2.0 -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-1103/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-848/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:set 2 | invoker.mavenOpts = -DnewVersion=TEST 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-848/verify.groovy: -------------------------------------------------------------------------------- 1 | assert new File( basedir, "pom.xml" ).text.contains( 'TEST' ) 2 | assert new File( basedir, "moduleA/moduleA1.xml" ).text.contains( 'TEST' ) 3 | assert new File( basedir, "moduleA/moduleA2.xml" ).text.contains( 'TEST' ) 4 | assert new File( basedir, "moduleB/pom.xml" ).text.contains( 'TEST' ) 5 | assert new File( basedir, "docs/moduleC/pom.xml" ).text.contains( 'TEST' ) 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-916-properties/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:set 2 | invoker.mavenOpts = -Drevision=1.0 -DnewVersion=TEST 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-916-properties/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | default-group 6 | default-artifact 7 | ${revision}-SNAPSHOT 8 | pom 9 | 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-issue-916-properties/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.version == 'TEST' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-property-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set-property -Dproperty=versionModuleTest -DnewVersion=9.5.0-20170604.123223-2 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-property-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set-property -Dproperty=versionModule -DnewVersion=9.5.0-20170604.123456-2 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-property-003-multiple-properties/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set-property 2 | invoker.mavenOpts=-Dproperty=versionModule,versionModuleTest -DnewVersion=9.5.0-20170604.123456-2 -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set-scm-tag -DnewTag=v1.0 -Dconnection=connection -DdeveloperConnection=developerConnection -Durl=url 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-001/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text; 2 | 3 | assert pom =~ /v1\.0<\/tag>/ 4 | assert pom =~ /connection<\/connection>/ 5 | assert pom =~ /developerConnection<\/developerConnection>/ 6 | assert pom =~ /url<\/url>/ -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set-scm-tag -DnewTag=v1.0 2 | invoker.buildResult.1=failure 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-002/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | it-set-scm-tag-002 7 | 1.0 8 | pom 9 | set-scm-tag 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set-scm-tag 2 | invoker.buildResult.1=failure 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-003/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | it-set-scm-tag-003 7 | 1.0 8 | pom 9 | set-scm-tag 10 | 11 | HEAD 12 | 13 | 14 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-set-scm-tag-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set-scm-tag -DnewTag=v1.0 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-unlock-snapshots-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:unlock-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-unlock-snapshots-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.5.1-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of plexus not unlocked to 1.5.1-SNAPSHOT" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-unlock-snapshots-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:unlock-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-unlock-snapshots-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '3.4.0-SNAPSHOT' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-005-issue-610/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | invoker.mavenOpts = -DparentVersion=999 -DskipResolution=true -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-005-issue-610/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert pom =~ /999<\/version>/ -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-005-issue-670/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-parent -DparentVersion=71-SNAPSHOT -DallowSnapshots -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-005-issue-670/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert pom =~ /71-SNAPSHOT<\/version>/ -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-issue-454/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | invoker.mavenOpts = -DallowMajorUpdates=false 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-issue-454/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test-artifact 6 | 1.0.0 7 | 8 | 9 | localhost 10 | dummy-parent5 11 | 1.0.0 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-issue-454/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text 2 | 3 | assert !( pom =~ /2.0.0-rc1/ ) 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-latest-version/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-parent 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-parent-latest-version/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.parent.version == '70' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.3" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 1.3" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DautoLinkItems=true ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DautoLinkItems=true ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-004/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DautoLinkItems=true ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | invoker.profiles=foo -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-005/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-007/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-008/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-009/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=-DautoLinkItems=true ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-009/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.1" ) < 0 ) 10 | { 11 | System.err.println( "Version has been changed" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-010/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-010/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-011/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dapi.version.range=[3.0] 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-011/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-012/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dapi.version.range=[3.0] -Dexcludes=localhost:* 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-013/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api:* 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-014/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dapi.version.range=[3.0] -Dincludes=localhost:dummy-api 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-015/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-015/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 2.1" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-016/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-017/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowSnapshots=true -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-017/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.1.1-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 2.1.1-SNAPSHOT" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-018/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowSnapshots=true -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-019/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowMinorUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-019/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-020/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowSnapshots=true -DallowMajorUpdates=false -DallowMinorUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-020/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.1.1-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 2.1.1-SNAPSHOT" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-021/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowMinorUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-021/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.0.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 1.0.1" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-022/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-022/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 1.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-023/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=false -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-023/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.0-2" ) < 0 ) 10 | { 11 | System.err.println( "Version of api not updated to 1.1.0-2" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-279-1/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api -DallowSnapshots=true -DallowMajorUpdates=false -DallowDowngrade=true -DallowIncrementalUpdates=true -DallowMinorUpdates=true 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-279-2/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api -DallowSnapshots=false -DallowMajorUpdates=false -DallowDowngrade=true -DallowIncrementalUpdates=true -DallowMinorUpdates=true 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-279-3/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api -DallowSnapshots=false -DallowMajorUpdates=false -DallowDowngrade=true -DallowIncrementalUpdates=true -DallowMinorUpdates=false 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-279-4/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api -DallowSnapshots=false -DallowMajorUpdates=false -DallowDowngrade=true -DallowIncrementalUpdates=true -DallowMinorUpdates=false 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-279-5/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-api -DallowSnapshots=false -DallowMajorUpdates=false -DallowDowngrade=true -DallowIncrementalUpdates=false -DallowMinorUpdates=false 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-582/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-582/verify.groovy: -------------------------------------------------------------------------------- 1 | pom = new File( basedir, "pom.xml" ).text; 2 | 3 | assert pom =~ /3.0<\/api>/ 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-837/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-properties 2 | invoker.mavenOpts = -DincludeParent=false 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-837/verify.groovy: -------------------------------------------------------------------------------- 1 | assert ! ( new File( basedir, "build.log" ).text.contains( 'Property ${artifact-version}' ) ) 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-98-1/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-parent2 -DallowSnapshots=true 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-properties-issue-98-2/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-properties -Dincludes=localhost:dummy-parent2 -DallowSnapshots=false 2 | 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=api -DnewVersion=[2.0] 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=api 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version not updated to 2.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-140-1/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=versionModule -DnewVersion=[0.0.2.19] 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-140-2/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=versionModuleTest -DnewVersion=[0.0.2.19] -DallowDowngrade=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-140-3/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=versionModule -DnewVersion=[0.0.2.19] -DallowDowngrade=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-140/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:update-property -Dproperty=versionModuleTest -DnewVersion=[0.0.2.19] 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-837/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-property 2 | invoker.mavenOpts = -DincludeParent=false -Dproperty=artifact-version 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-update-property-issue-837/verify.groovy: -------------------------------------------------------------------------------- 1 | assert ! ( new File( basedir, "build.log" ).text 2 | .contains( 'Property ${artifact-version}: Set of valid available versions is [1.0, 1.0.1,' ) ) 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version 2 | invoker.mavenOpts = -DdepVersion=2.0.0 -Dincludes=localhost:dummy-bom2 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '2.0.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts-iso8859-1/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version 2 | invoker.mavenOpts = -Dfile.encoding=latin1 -Dincludes=localhost -DdepVersion=1.0.1 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts-iso8859-1/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mojohaus/versions/a5a444929a14521e4e2cfb7a844a84e97fb610e8/versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts-iso8859-1/pom.xml -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts-iso8859-1/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.dependencies.dependency.version == '1.0.1' 5 | assert project.description == 'Wörter mit Umlauten' 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version 2 | invoker.mavenOpts = -Dfile.encoding=latin1 -Dincludes=localhost -DdepVersion=1.0.1 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.dependencies.dependency.version == '1.0.1' 5 | assert project.description == 'Wörter mit Umlauten' 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-003/rule-set.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0.1-1.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of version-rules not bumped to 3.0.1-1.1" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-004/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.3" ) < 0 ) 10 | { 11 | System.err.println( "Version not bumped to 1.3" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-007/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-releases-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '2.0.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots -DallowMinorUpdates=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api degraded" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-latest-snapshots 2 | invoker.mavenOpts = -DallowMajorUpdates=true -DallowMinorUpdates=true -DallowIncrementalUpdates=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-snapshots-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '3.0.0-SNAPSHOT' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "3.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 3.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-005/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-006/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-006/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.0.11" ) < 0 ) 10 | { 11 | System.err.println( "Version has not been bumped correctly to 2.0.11" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-007/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-007/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.2.1" ) < 0 ) 10 | { 11 | System.err.println( "Version has not been bumped correctly to 2.2.1" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-008/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-009/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-009/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.parent.version == '3.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-010/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-010/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.parent.version == '3.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-011/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-011/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | assert project.parent.version == '1.0.0' 5 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-012/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-latest-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-012/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "2.12.0.0" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-lib not bumped to 2.12.0.0" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-latest-versions-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '2.0.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 1.1.2" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 1.1.2" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api was bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-004/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-004/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.1" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api was not bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-next-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-releases-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '1.1.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-snapshots-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-snapshots-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-snapshots 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-snapshots-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2-SNAPSHOT" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-snapshots-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-next-snapshots 2 | invoker.mavenOpts = -DallowMajorUpdates=true -DallowMinorUpdates=true -DallowIncrementalUpdates=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-snapshots-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper() 4 | .parse( new File( basedir, 'pom.xml' ) ) 5 | 6 | assert project.dependencyManagement.dependencies.'*'.size() == 1 7 | assert project.dependencyManagement.dependencies.dependency.version == '1.0.0-SNAPSHOT' 8 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 1.1.2" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-002-snapshot/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped to 1.1.2" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-next-versions 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-next-versions-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api was not bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-reactor-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-reactor -DprocessParent=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-reactor-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-reactor 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-001/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.1-2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-002/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-002/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.2" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-003/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-releases -DallowRangeMatching=true -DfailIfNotReplaced=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-003/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.codehaus.plexus.util.FileUtils; 3 | 4 | try 5 | { 6 | File file = new File( basedir, "pom.xml" ); 7 | String buf = FileUtils.fileRead( file, "UTF-8" ); 8 | 9 | if ( buf.indexOf( "1.1.3" ) < 0 ) 10 | { 11 | System.err.println( "Version of dummy-api not bumped" ); 12 | return false; 13 | } 14 | } 15 | catch( Throwable t ) 16 | { 17 | t.printStackTrace(); 18 | return false; 19 | } 20 | 21 | return true; 22 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-issue-134/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:force-releases 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-issue-134/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.dependencyManagement.dependencies.'*'.size() == 1 6 | assert project.dependencyManagement.dependencies.dependency.version == '1.0.0' 7 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-issue-583/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:use-releases -DallowRangeMatching=true -DfailIfNotReplaced=true 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-issue-978-parent-snapshot/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:use-releases 2 | invoker.mavenOpts = -DprocessParent=true 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-use-releases-issue-978-parent-snapshot/verify.groovy: -------------------------------------------------------------------------------- 1 | import groovy.xml.XmlSlurper 2 | 3 | def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) 4 | 5 | assert project.parent.version == '3.0' 6 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/it-xml-property-updates-report-001/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:property-updates-report 2 | invoker.mavenOpts = -DpropertyUpdatesReportFormats=xml 3 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/prep-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/setup-provide-rules-in-jar/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean install 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/setup-provide-rules-in-jar/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | setup-provide-rules-in-jar 7 | 1.0 8 | jar 9 | GH-193: Provide a rules file within a jar 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/setup-provide-rules-in-jar/src/main/resources/package/foo/bar/rules.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/setup-smoke-test/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:help 2 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/it/setup-smoke-test/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | localhost 6 | setup-smoke-test 7 | 1.0 8 | 9 | First execution of plugin can resolve missing runtime dependencies in local-repo 10 | 11 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/display-property-updates/issue-367/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | default-group 4 | parent 5 | 1.0.0 6 | pom 7 | 8 | 9 | 1.0.0 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/revert/issue-265/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | localhost 4 | dummy-artifact-a 5 | 1.0.0 6 | pom 7 | 8 | 9 | 10 | localhost 11 | dummy-artifact 12 | NEW 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/revert/issue-265/module-a/pom.xml.versionsBackup: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | localhost 4 | dummy-artifact-a 5 | 1.0.0 6 | pom 7 | 8 | 9 | 10 | localhost 11 | dummy-artifact 12 | OLD 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/set/issue-1042/main-reactor/pom-parent/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | default 5 | pom-parent 6 | 1.0 7 | pom 8 | 9 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/set/issue-1137/child/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | group 6 | parent 7 | 1.0 8 | 9 | child 10 | 1.0 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/set/issue-1137/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | group 5 | parent 6 | 1.0 7 | pom 8 | 9 | child 10 | 11 | 12 | -------------------------------------------------------------------------------- /versions-maven-plugin/src/test/resources/org/codehaus/mojo/set/issue-794/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | default-group 4 | default-artifact 5 | 1.0.0 6 | pom 7 | -------------------------------------------------------------------------------- /versions-model-report/src/site/markdown/xsd/index.md: -------------------------------------------------------------------------------- 1 | title: XML schemas for reports 2 | author: Slawomir Jaranowski 3 | date: 2023-07-24 4 | 5 | 6 | 7 | Versions - XML schemas for reports 8 | ================================== 9 | 10 | - [dependency-updates-report-2.0.0.xsd](dependency-updates-report-2.0.0.xsd) 11 | - [plugin-updates-report-2.0.0.xsd](plugin-updates-report-2.0.0.xsd) 12 | - [property-updates-report-2.0.0.xsd](property-updates-report-2.0.0.xsd) 13 | 14 | -------------------------------------------------------------------------------- /versions-model-report/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /versions-model/src/site/markdown/xsd/index.md: -------------------------------------------------------------------------------- 1 | title: XML schemas for ruleSet 2 | author: Slawomir Jaranowski 3 | date: 2022-10-17 4 | 5 | 6 | 7 | Versions - XML schemas for ruleSet 8 | ================================== 9 | 10 | - [rule-3.0.0.xsd](rule-3.0.0.xsd) 11 | - [rule-2.1.0.xsd](rule-2.1.0.xsd) 12 | - [rule-2.0.0.xsd](rule-2.0.0.xsd) 13 | 14 | -------------------------------------------------------------------------------- /versions-model/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | --------------------------------------------------------------------------------