diff --git a/org.eclipse.m2e.tests/projects/414645-no-runtime-scope-in-main/runtime-jar-dependencies/pom.xml b/org.eclipse.m2e.tests/projects/414645-no-runtime-scope-in-main/runtime-jar-dependencies/pom.xml index 85f752926..dbc97a2c2 100644 --- a/org.eclipse.m2e.tests/projects/414645-no-runtime-scope-in-main/runtime-jar-dependencies/pom.xml +++ b/org.eclipse.m2e.tests/projects/414645-no-runtime-scope-in-main/runtime-jar-dependencies/pom.xml @@ -14,7 +14,7 @@ commons-beanutils commons-beanutils - 1.9.4 + 1.11.0 runtime diff --git a/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/jdt/JavaClasspathTest.java b/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/jdt/JavaClasspathTest.java index fa9e32eb9..bd1452c64 100644 --- a/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/jdt/JavaClasspathTest.java +++ b/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/jdt/JavaClasspathTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2024 Sonatype, Inc. + * Copyright (c) 2010, 2025 Sonatype, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -395,7 +395,7 @@ public void test414645_TestClasspathAttributeOnRuntimeJarDependencies() throws E .getClasspathEntries(); assertEquals("" + Arrays.asList(classpathEntries), 3, classpathEntries.length); //runtime dependencies - assertEquals("commons-beanutils-1.9.4.jar", classpathEntries[0].getPath().lastSegment()); + assertEquals("commons-beanutils-1.11.0.jar", classpathEntries[0].getPath().lastSegment()); assertTest(classpathEntries[0]); } @@ -416,7 +416,7 @@ public void test414645_TestClasspathAttributeOnRuntimeProjectDependencies() thro assertDoesntExportTests(classpathEntries[0]); //transitive runtime dependency - assertEquals("commons-beanutils-1.9.4.jar", classpathEntries[1].getPath().lastSegment()); + assertEquals("commons-beanutils-1.11.0.jar", classpathEntries[1].getPath().lastSegment()); assertTest(classpathEntries[1]); }