diff --git a/impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java b/impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
index 48e87f7cda65..7b8ee0c8b664 100644
--- a/impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
+++ b/impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
@@ -102,9 +102,9 @@ void attachArtifact() {
/**
* Verifies that {@code projectManager.attachArtifact(…)} throws an exception,
- * and that the expecption message contains the expected and actual GAV.
+ * and that the exception message contains the expected and actual GAV.
*
- * @param expectedGAV the actual GAV that the exception message should contain
+ * @param expectedGAV the expected GAV that the exception message should contain
* @param actualGAV the actual GAV that the exception message should contain
*/
private void assertExceptionMessageContains(String expectedGAV, String actualGAV) {