You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/07/21 20:50:36 UTC

[maven-integration-testing] branch MNG-7353 updated (c9e3d479b -> 125d5b5a5)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-7353
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


 discard c9e3d479b [MNG-7353] test prefix:version:goal invocation and every other CLI
     add 31dff13ce Upgrade to JDK8, use a plugin to download all dependencies to bypass conflict resolution (#178)
     add 58cd5d87f Fix minor typos
     new 125d5b5a5 [MNG-7353] test prefix:version:goal invocation and every other CLI

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (c9e3d479b)
            \
             N -- N -- N   refs/heads/MNG-7353 (125d5b5a5)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 core-it-suite/pom.xml                              |   4 +-
 core-it-suite/src/site/apt/index.apt.vm            |   8 +-
 .../org/apache/maven/it/IntegrationTestSuite.java  |  16 +-
 ...avenIT0019PluginVersionMgmtBySuperPomTest.java} |   4 +-
 ...> MavenIT0030DepPomDepMgmtInheritanceTest.java} |   4 +-
 .../org/apache/maven/it/MavenITBootstrapTest.java  |   1 +
 .../MavenITmng0377PluginLookupFromPrefixTest.java  |   2 +-
 ...enITmng0985NonExecutedPluginMgmtGoalsTest.java} |   4 +-
 ...ava => MavenITmng1052PluginMgmtConfigTest.java} |   4 +-
 ...03PomValidationErrorIncludesLineNumberTest.java |   2 +-
 .../MavenITmng2068ReactorRelativeParentsTest.java  |   2 +-
 ...venITmng2103PluginExecutionInheritanceTest.java |   2 +-
 ...nITmng2130ParentLookupFromReactorCacheTest.java |   2 +-
 .../it/MavenITmng2196ParentResolutionTest.java     |   2 +-
 .../it/MavenITmng2199ParentVersionRangeTest.java   |   8 +-
 .../it/MavenITmng2690MojoLoadingErrorsTest.java    |   2 +-
 ...avenITmng2720SiblingClasspathArtifactsTest.java |   2 +-
 ...enITmng3023ReactorDependencyResolutionTest.java |   4 +-
 ...avenITmng3099SettingsProfilesWithNoPomTest.java |   2 +-
 ...3139UseCachedMetadataOfBlacklistedRepoTest.java |   2 +-
 ...venITmng3208ProfileAwareReactorSortingTest.java |   2 +-
 ...ctChecksumVerificationOfDependencyPomTest.java} |   4 +-
 .../it/MavenITmng3652UserAgentHeaderTest.java      |   2 +-
 .../it/MavenITmng3729MultiForkAggregatorsTest.java |   2 +-
 ...Tmng3775ConflictResolutionBacktrackingTest.java |   2 +-
 ...venITmng3808ReportInheritanceOrderingTest.java} |   4 +-
 .../MavenITmng3836PluginConfigInheritanceTest.java |   2 +-
 .../MavenITmng3845LimitedPomInheritanceTest.java   |   2 +-
 .../maven/it/MavenITmng3979ElementJoinTest.java    |   2 +-
 .../MavenITmng4180PerDependencyExclusionsTest.java |   2 +-
 .../it/MavenITmng4207PluginWithLog4JTest.java      |   2 +-
 ...enITmng4235HttpAuthDeploymentChecksumsTest.java |   2 +-
 ...nITmng4262MakeLikeReactorDottedPath370Test.java |   2 +-
 ...avenITmng4262MakeLikeReactorDottedPathTest.java |   2 +-
 ...venITmng4343MissingReleaseUpdatePolicyTest.java |   2 +-
 ...enITmng4345DefaultPluginExecutionOrderTest.java |   2 +-
 ...Tmng4470AuthenticatedDeploymentToProxyTest.java |   2 +-
 ...LevelPluginDepUsedForCliInvocInReactorTest.java |   2 +-
 ...ixResolutionFromVersionlessPluginMgmtTest.java} |   4 +-
 ...ng4600DependencyOptionalFlagManagementTest.java |   2 +-
 ...nITmng4684DistMgmtOverriddenByProfileTest.java} |   4 +-
 ...venITmng4800NearestWinsVsScopeWideningTest.java |   2 +-
 ...ingBasedCompLookupFromChildPluginRealmTest.java |   2 +-
 .../MavenITmng5230MakeReactorWithExcludesTest.java |   2 +-
 .../maven/it/MavenITmng5591WorkspaceReader.java    |   4 +-
 .../maven/it/MavenITmng5760ResumeFeatureTest.java  |   2 +-
 .../it/MavenITmng6057CheckReactorOrderTest.java    |   2 +-
 .../MavenITmng6173GetAllProjectsInReactorTest.java |   2 +-
 .../maven/it/MavenITmng6352PrintVersionTest.java   |   4 +-
 .../maven/it/MavenITmng6391PrintVersionTest.java   |   4 +-
 ...avenITmng7051OptionalProfileActivationTest.java |   4 +-
 .../it/MavenITmng7353CliGoalInvocationTest.java    |   2 +-
 .../MavenITmng7390SelectModuleOutsideCwdTest.java  |   4 +-
 .../src/test/resources-filtered/bootstrap.txt      | 162 +++++++++++
 .../src/test/resources/bootstrap/group-1/pom.xml   | 141 ----------
 .../src/test/resources/bootstrap/group-10/pom.xml  |  93 -------
 .../src/test/resources/bootstrap/group-11/pom.xml  |  75 ------
 .../src/test/resources/bootstrap/group-12/pom.xml  |  83 ------
 .../src/test/resources/bootstrap/group-13/pom.xml  |  63 -----
 .../src/test/resources/bootstrap/group-14/pom.xml  |  48 ----
 .../src/test/resources/bootstrap/group-15/pom.xml  |  69 -----
 .../src/test/resources/bootstrap/group-2/pom.xml   |  68 -----
 .../src/test/resources/bootstrap/group-3/pom.xml   | 296 ---------------------
 .../src/test/resources/bootstrap/group-4/pom.xml   |  57 ----
 .../src/test/resources/bootstrap/group-5/pom.xml   |  86 ------
 .../src/test/resources/bootstrap/group-6/pom.xml   | 164 ------------
 .../src/test/resources/bootstrap/group-7/pom.xml   |  89 -------
 .../src/test/resources/bootstrap/group-8/pom.xml   | 103 -------
 .../src/test/resources/bootstrap/group-9/pom.xml   |  58 ----
 core-it-suite/src/test/resources/bootstrap/pom.xml | 167 +++---------
 .../src/test/resources/bootstrap/settings.xml      |  66 ++---
 core-it-suite/src/test/resources/mng-0377/pom.xml  |   2 +-
 .../0.1/maven-it-plugin-b-0.1.pom                  |   2 +-
 .../src/test/resources/mng-0479/setup/pom.xml      |   2 +-
 .../mng-0479/test-1/settings-template.xml          |   2 +-
 .../mng-0479/test-2/settings-template.xml          |   2 +-
 .../mng-0479/test-3/settings-template.xml          |   2 +-
 .../mng-0479/test-4/settings-template.xml          |   2 +-
 .../src/test/resources/mng-0479/test/pom.xml       |   2 +-
 .../resources/mng-0479/test/settings-template.xml  |   2 +-
 .../src/test/resources/mng-0870/plugin/pom.xml     |   2 +-
 core-it-suite/src/test/resources/mng-2098/pom.xml  |   2 +-
 .../src/test/resources/mng-2103/child-1/pom.xml    |   2 +-
 .../src/test/resources/mng-2103/child-2/pom.xml    |   2 +-
 core-it-suite/src/test/resources/mng-2103/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-2130/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-2196/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-2289/test.sh  |   2 +-
 .../src/test/resources/mng-2486/test/pom.xml       |   2 +-
 .../test/resources/mng-3099/settings-template.xml  |   2 +-
 .../src/test/resources/mng-3208/mod-a/pom.xml      |   2 +-
 .../src/test/resources/mng-3208/mod-b/pom.xml      |   2 +-
 core-it-suite/src/test/resources/mng-3208/pom.xml  |   2 +-
 .../test/resources/mng-3396/dependencies/pom.xml   |   2 +-
 .../src/test/resources/mng-3396/plugin/pom.xml     |   2 +-
 .../src/test/resources/mng-3498/readme.txt         |   2 +-
 core-it-suite/src/test/resources/mng-3719/pom.xml  |   2 +-
 .../src/test/resources/mng-3729/readme.txt         |   4 +-
 .../src/test/resources/mng-3775/test-abc/pom.xml   |   2 +-
 .../src/test/resources/mng-3775/test-acb/pom.xml   |   2 +-
 .../src/test/resources/mng-3775/test-bac/pom.xml   |   2 +-
 .../src/test/resources/mng-3775/test-bca/pom.xml   |   2 +-
 .../src/test/resources/mng-3775/test-cab/pom.xml   |   2 +-
 .../src/test/resources/mng-3775/test-cba/pom.xml   |   2 +-
 core-it-suite/src/test/resources/mng-3808/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-3839/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-3845/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-3927/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-3979/pom.xml  |   2 +-
 .../src/test/resources/mng-3979/sub/pom.xml        |   2 +-
 .../test/resources/mng-4068/settings-template.xml  |   2 +-
 .../test/resources/mng-4072/profiles-template.xml  |   2 +-
 core-it-suite/src/test/resources/mng-4180/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-4207/pom.xml  |   2 +-
 .../src/test/resources/mng-4326/dependency/pom.xml |   2 +-
 .../src/test/resources/mng-4326/test/pom.xml       |   2 +-
 .../src/test/resources/mng-4331/sub-2/pom.xml      |   2 +-
 core-it-suite/src/test/resources/mng-4345/pom.xml  |   2 +-
 .../test/resources/mng-4361/settings-template.xml  |   2 +-
 .../test/resources/mng-4433/settings-template.xml  |   2 +-
 .../test/resources/mng-4482/settings-template.xml  |   2 +-
 core-it-suite/src/test/resources/mng-4580/pom.xml  |   2 +-
 .../src/test/resources/mng-4580/sub/pom.xml        |   2 +-
 .../test/resources/mng-4679/settings-template.xml  |   2 +-
 .../src/test/resources/mng-4800/test-ab/pom.xml    |   2 +-
 .../src/test/resources/mng-4800/test-ba/pom.xml    |   2 +-
 core-it-suite/src/test/resources/mng-5019/pom.xml  |   2 +-
 core-it-suite/src/test/resources/mng-5135/pom.xml  |   4 +-
 .../mng-7390-pl-outside-cwd-no-dotmvn/pom.xml      |   2 +-
 .../test/resources/mng-7390-pl-outside-cwd/pom.xml |   2 +-
 .../resources/mng-7487-deadlock/plugin/pom.xml     |   2 +-
 .../maven/coreits/javaagent/mng5669/Premain.java   |   6 +-
 .../maven-it-plugin-ant-based/pom.xml              |   2 +-
 .../src/main/resources/META-INF/maven/plugin.xml   |   2 +-
 .../org/apache/maven/plugin/coreit/ConfigMojo.java |   2 +-
 .../org/apache/maven/plugin/coreit/ThrowMojo.java  |   2 +-
 .../org/apache/maven/plugin/coreit/CleanMojo.java  |   2 +-
 .../apache/maven/plugin/coreit/CompileMojo.java    |   2 +-
 .../maven/plugin/coreit/TestCompileMojo.java       |   2 +-
 .../org/apache/maven/plugin/coreit/DeployMojo.java |   2 +-
 .../org/apache/maven/plugin/coreit/EarMojo.java    |   2 +-
 .../plugin/coreit/GenerateApplicationXmlMojo.java  |   2 +-
 .../org/apache/maven/plugin/coreit/EjbMojo.java    |   2 +-
 .../apache/maven/plugin/coreit/InstallMojo.java    |   2 +-
 .../org/apache/maven/plugin/coreit/JarMojo.java    |   2 +-
 .../org/apache/maven/plugin/coreit/JarMojo.java    |   2 +-
 .../coreit/AddPluginArtifactMetadataMojo.java      |   2 +-
 .../apache/maven/plugin/coreit/DescriptorMojo.java |   2 +-
 .../maven/plugin/coreit/UpdateRegistryMojo.java    |   2 +-
 .../org/apache/maven/plugin/coreit/RarMojo.java    |   2 +-
 .../apache/maven/plugin/coreit/ResourcesMojo.java  |   2 +-
 .../maven/plugin/coreit/TestResourcesMojo.java     |   2 +-
 .../maven/plugin/coreit/AttachDescriptorMojo.java  |   2 +-
 .../org/apache/maven/plugin/coreit/DeployMojo.java |   2 +-
 .../org/apache/maven/plugin/coreit/SiteMojo.java   |   2 +-
 .../org/apache/maven/plugin/coreit/JarMojo.java    |   2 +-
 .../org/apache/maven/plugin/coreit/TestMojo.java   |   2 +-
 .../org/apache/maven/plugin/coreit/WarMojo.java    |   2 +-
 .../org/apache/maven/plugin/coreit/EvalMojo.java   |   2 +-
 .../maven-it-plugin-optional-mojos/pom.xml         |   2 +-
 .../maven-it-plugin-packaging/pom.xml              |   2 +-
 .../org/apache/maven/plugin/coreit/AppendMojo.java |   2 +-
 .../apache/maven/plugin/coreit/DerivedItMojo.java  |   2 +-
 .../maven/plugin/coreit/DumpVersionMojo.java       |   2 +-
 .../maven/plugin/coreit/LookupWagonMojo.java       |   2 +-
 .../pom.xml                                        |  32 +--
 .../apache/maven/its/bootstrap/DownloadMojo.java   | 154 +++++++++++
 .../src/main/resources/stc_checks.xml              |   2 +-
 core-it-support/pom.xml                            |   1 +
 pom.xml                                            |   6 +-
 170 files changed, 590 insertions(+), 1850 deletions(-)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenIT0019PluginVersionMngtBySuperPomTest.java => MavenIT0019PluginVersionMgmtBySuperPomTest.java} (93%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenIT0030DepPomDepMngtInheritanceTest.java => MavenIT0030DepPomDepMgmtInheritanceTest.java} (95%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng0985NonExecutedPluginMngtGoalsTest.java => MavenITmng0985NonExecutedPluginMgmtGoalsTest.java} (94%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng1052PluginMngtConfigTest.java => MavenITmng1052PluginMgmtConfigTest.java} (95%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng3470StrictCheckumVerificationOfDependencyPomTest.java => MavenITmng3470StrictChecksumVerificationOfDependencyPomTest.java} (95%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng3808ReportInheritenceOrderingTest.java => MavenITmng3808ReportInheritanceOrderingTest.java} (95%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng4586PluginPrefixResolutionFromVersionlessPluginMngtTest.java => MavenITmng4586PluginPrefixResolutionFromVersionlessPluginMgmtTest.java} (98%)
 rename core-it-suite/src/test/java/org/apache/maven/it/{MavenITmng4684DistMngtOverridenByProfileTest.java => MavenITmng4684DistMgmtOverriddenByProfileTest.java} (96%)
 create mode 100644 core-it-suite/src/test/resources-filtered/bootstrap.txt
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-1/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-10/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-11/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-12/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-13/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-14/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-15/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-2/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-3/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-4/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-5/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-6/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-7/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-8/pom.xml
 delete mode 100644 core-it-suite/src/test/resources/bootstrap/group-9/pom.xml
 copy core-it-support/{core-it-plugins/maven-it-plugin-touch => maven-it-plugin-bootstrap}/pom.xml (68%)
 create mode 100644 core-it-support/maven-it-plugin-bootstrap/src/main/java/org/apache/maven/its/bootstrap/DownloadMojo.java


[maven-integration-testing] 01/01: [MNG-7353] test prefix:version:goal invocation and every other CLI

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-7353
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit 125d5b5a53b7ad44a68622148f242169a138a502
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Jul 3 17:56:02 2022 +0200

    [MNG-7353] test prefix:version:goal invocation and every other CLI
    
    This closes #188
---
 .../org/apache/maven/it/IntegrationTestSuite.java  |   1 +
 .../it/MavenITmng7353CliGoalInvocationTest.java    | 102 +++++++++++++++++++++
 .../resources/mng-7353-cli-goal-invocation/pom.xml |  44 +++++++++
 3 files changed, 147 insertions(+)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java b/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
index 155f8e5cb..76b4c4084 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
@@ -106,6 +106,7 @@ public class IntegrationTestSuite
         // Tests that don't run stable and need to be fixed
         // -------------------------------------------------------------------------------------------------------------
         // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137
+        suite.addTestSuite( MavenITmng7353CliGoalInvocationTest.class );
         suite.addTestSuite( MavenITmng7504NotWarnUnsupportedReportPluginsTest.class );
         suite.addTestSuite( MavenITmng7160ExtensionClassloader.class );
         suite.addTestSuite( MavenITmng7468UnsupportedPluginsParametersTest.class );
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
new file mode 100644
index 000000000..d5607eddf
--- /dev/null
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
@@ -0,0 +1,102 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.File;
+
+import org.apache.maven.it.util.ResourceExtractor;
+
+/**
+ * Tests new <code>mvn prefix:version:goal</code>,
+ * <a href="https://issues.apache.org/jira/browse/MNG-7353">MNG-7353</a>.
+ */
+public class MavenITmng7353CliGoalInvocationTest
+    extends AbstractMavenIntegrationTestCase
+{
+    public MavenITmng7353CliGoalInvocationTest()
+    {
+        super( "[3.9.0,)" );
+    }
+
+    private void run( String id, String goal, String expectedInvocation )
+        throws Exception
+    {
+        File basedir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7353-cli-goal-invocation" );
+        Verifier verifier = newVerifier( basedir.getAbsolutePath() );
+        verifier.setLogFileName( id + ".txt" );
+        verifier.executeGoal( goal );
+        verifier.verifyTextInLog( "[INFO] --- " + expectedInvocation );
+        verifier.resetStreams();
+    }
+
+    public void testPrefixGoal()
+        throws Exception
+    {
+        run( "pluginPrefix-goal", "dependency:list", "maven-dependency-plugin:3.3.0:list (default-cli)" );
+    }
+
+    public void testPrefixGoalAtId()
+        throws Exception
+    {
+        run( "pluginPrefix-goal@id", "dependency:list@id", "maven-dependency-plugin:3.3.0:list (id)" );
+    }
+
+    /**
+     * new pluginPrefix:version:goal in Maven 3.9.0
+     */
+    public void testPrefixVersionGoal()
+        throws Exception
+    {
+        run( "pluginPrefix-version-goal", "dependency:3.1.1:list", "maven-dependency-plugin:3.1.1:list (default-cli)" );
+    }
+
+    /**
+     * new pluginPrefix:version:goal in Maven 3.9.0
+     */
+    public void testPrefixVersionGoalAtId()
+        throws Exception
+    {
+        run( "pluginPrefix-goal@id", "dependency:3.1.1:list@id", "maven-dependency-plugin:3.1.1:list (id)" );
+    }
+
+    public void testGroupIdArtifactIdGoal()
+        throws Exception
+    {
+        run( "groupId-artifactId-goal", "org.apache.maven.plugins:maven-dependency-plugin:list", "maven-dependency-plugin:3.3.0:list (default-cli)" );
+    }
+
+    public void testGroupIdArtifactIdGoalAtId()
+        throws Exception
+    {
+        run( "groupId-artifactId-goal@id", "org.apache.maven.plugins:maven-dependency-plugin:list@id", "maven-dependency-plugin:3.3.0:list (id)" );
+    }
+
+    public void testGroupIdArtifactIdVersionGoal()
+        throws Exception
+    {
+        run( "groupId-artifactId-version-goal", "org.apache.maven.plugins:maven-dependency-plugin:3.1.1:list", "maven-dependency-plugin:3.1.1:list (default-cli)" );
+    }
+
+    public void testGroupIdArtifactIdVersionGoalAtId()
+        throws Exception
+    {
+        run( "groupId-artifactId-version-goal@id", "org.apache.maven.plugins:maven-dependency-plugin:3.1.1:list@id", "maven-dependency-plugin:3.1.1:list (id)" );
+    }
+}
diff --git a/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml b/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
new file mode 100644
index 000000000..476dd6f17
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.mng7353</groupId>
+  <artifactId>test</artifactId>
+  <version>1</version>
+
+  <name>Maven Integration Test :: MNG-7353</name>
+  <description>
+    Verify that "mvn pluginPrefix:version:goal" works and does not break any other goal invocation format
+  </description>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>3.3.0</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>