Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

public class MavenIT0008SimplePluginTest extends AbstractMavenIntegrationTestCase {

public MavenIT0008SimplePluginTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Simple goal decoration where a plugin binds to a phase and the plugin must
* be downloaded from a remote repository before it can be executed. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@

public class MavenIT0009GoalConfigurationTest extends AbstractMavenIntegrationTestCase {

public MavenIT0009GoalConfigurationTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test plugin configuration and goal configuration that overrides what the
* mojo has specified.
Expand All @@ -43,7 +39,8 @@ public MavenIT0009GoalConfigurationTest() {
disabledReason = "JDK-25 - JDK-8354450 files ending with space are not supported on Windows")
public void testit0009() throws Exception {

boolean supportSpaceInXml = matchesVersionRange("[3.1.0,)");
// Inline version check: [3.1.0,) - current Maven version supports space in XML
boolean supportSpaceInXml = true;

File testDir = extractResources("/it0009");
Verifier verifier = newVerifier(testDir.getAbsolutePath());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

public class MavenIT0010DependencyClosureResolutionTest extends AbstractMavenIntegrationTestCase {
public MavenIT0010DependencyClosureResolutionTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Since the artifact resolution does not use the project builder, we must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

public class MavenIT0011DefaultVersionByDependencyManagementTest extends AbstractMavenIntegrationTestCase {
public MavenIT0011DefaultVersionByDependencyManagementTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test specification of dependency versions via <dependencyManagement/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0012PomInterpolationTest extends AbstractMavenIntegrationTestCase {
public MavenIT0012PomInterpolationTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test simple POM interpolation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0018DependencyManagementTest extends AbstractMavenIntegrationTestCase {
public MavenIT0018DependencyManagementTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Ensure that managed dependencies for dependency POMs are calculated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0019PluginVersionMgmtBySuperPomTest extends AbstractMavenIntegrationTestCase {
public MavenIT0019PluginVersionMgmtBySuperPomTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test that a version is managed by pluginManagement in the super POM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0021PomProfileTest extends AbstractMavenIntegrationTestCase {
public MavenIT0021PomProfileTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test pom-level profile inclusion (this one is activated by system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0023SettingsProfileTest extends AbstractMavenIntegrationTestCase {
public MavenIT0023SettingsProfileTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test profile inclusion from settings.xml (this one is activated by an id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0024MultipleGoalExecutionsTest extends AbstractMavenIntegrationTestCase {
public MavenIT0024MultipleGoalExecutionsTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test usage of <executions/> inside a plugin rather than <goals/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0025MultipleExecutionLevelConfigsTest extends AbstractMavenIntegrationTestCase {
public MavenIT0025MultipleExecutionLevelConfigsTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test multiple goal executions with different execution-level configs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0030DepPomDepMgmtInheritanceTest extends AbstractMavenIntegrationTestCase {
public MavenIT0030DepPomDepMgmtInheritanceTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test for injection of dependencyManagement through parents of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0032MavenPrerequisiteTest extends AbstractMavenIntegrationTestCase {
public MavenIT0032MavenPrerequisiteTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Tests that a specified Maven version requirement that is lower doesn't cause any problems
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0037AlternatePomFileSameDirTest extends AbstractMavenIntegrationTestCase {
public MavenIT0037AlternatePomFileSameDirTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test building with alternate pom file using '-f'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0038AlternatePomFileDifferentDirTest extends AbstractMavenIntegrationTestCase {
public MavenIT0038AlternatePomFileDifferentDirTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test building project from outside the project directory using '-f' option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
*/
public class MavenIT0040PackagingFromPluginExtensionTest extends AbstractMavenIntegrationTestCase {

public MavenIT0040PackagingFromPluginExtensionTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test the use of a packaging from a plugin
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0041ArtifactTypeFromPluginExtensionTest extends AbstractMavenIntegrationTestCase {
public MavenIT0041ArtifactTypeFromPluginExtensionTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test the use of a new type from a plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@

import java.io.File;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

/**
* @since 2.0.2
*/
@Disabled("Bounds: (2.0.2,4.0.0-alpha-1)")
public class MavenIT0051ReleaseProfileTest extends AbstractMavenIntegrationTestCase {

public MavenIT0051ReleaseProfileTest() {
super("(2.0.2,4.0.0-alpha-1)");
}

/**
* Test source attachment when -DperformRelease=true is specified.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0052ReleaseProfileTest extends AbstractMavenIntegrationTestCase {
public MavenIT0052ReleaseProfileTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test that source attachment doesn't take place when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0056MultipleGoalExecutionsTest extends AbstractMavenIntegrationTestCase {
public MavenIT0056MultipleGoalExecutionsTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test that multiple executions of a goal with different
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

public class MavenIT0063SystemScopeDependencyTest extends AbstractMavenIntegrationTestCase {
public MavenIT0063SystemScopeDependencyTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test the use of a system scoped dependency to a (fake) tools.jar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import org.junit.jupiter.api.Test;

public class MavenIT0064MojoConfigViaSettersTest extends AbstractMavenIntegrationTestCase {
public MavenIT0064MojoConfigViaSettersTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test the use of a mojo that uses setters instead of private fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
*
*/
public class MavenIT0071PluginConfigWithDottedPropertyTest extends AbstractMavenIntegrationTestCase {
public MavenIT0071PluginConfigWithDottedPropertyTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Verifies that dotted property references work within plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
*
*/
public class MavenIT0072InterpolationWithDottedPropertyTest extends AbstractMavenIntegrationTestCase {
public MavenIT0072InterpolationWithDottedPropertyTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Verifies that property references with dotted notation work within
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

public class MavenIT0085TransitiveSystemScopeTest extends AbstractMavenIntegrationTestCase {
public MavenIT0085TransitiveSystemScopeTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Verify that system-scoped dependencies get resolved with system scope
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
*/
public class MavenIT0086PluginRealmTest extends AbstractMavenIntegrationTestCase {

public MavenIT0086PluginRealmTest() {
super("(2.0.2,)");
}

/**
* Verify that a plugin dependency class/resource can be loaded from both the plugin classloader and the
* context classloader available to the plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
*/
public class MavenIT0087PluginRealmWithProjectLevelDepsTest extends AbstractMavenIntegrationTestCase {

public MavenIT0087PluginRealmWithProjectLevelDepsTest() {
super("(2.0.2,)");
}

/**
* Verify that a project-level plugin dependency class/resource can be loaded from both the plugin classloader
* and the context classloader available to the plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

public class MavenIT0090EnvVarInterpolationTest extends AbstractMavenIntegrationTestCase {
public MavenIT0090EnvVarInterpolationTest() {
super(ALL_MAVEN_VERSIONS);
}

/**
* Test that ensures that envars are interpolated correctly into plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
*/
@Disabled("flaky test, see MNG-3137")
public class MavenIT0108SnapshotUpdateTest extends AbstractMavenIntegrationTestCase {
public MavenIT0108SnapshotUpdateTest() {
super(ALL_MAVEN_VERSIONS);
}

private Verifier verifier;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

public class MavenIT0113ServerAuthzAvailableToWagonMgrInPluginTest extends AbstractMavenIntegrationTestCase {
public MavenIT0113ServerAuthzAvailableToWagonMgrInPluginTest() {
super("[2.0,3.0-alpha-1),[3.0-alpha-7,)");
}

/**
* Test that the auth infos given in the settings.xml are pushed into the wagon manager and are available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@
/**
*
* @author Benjamin Bentmann
*
* @since 2.0.0
*/
public class MavenIT0130CleanLifecycleTest extends AbstractMavenIntegrationTestCase {

public MavenIT0130CleanLifecycleTest() {
super("[2.0.0,)");
}

/**
* Test default binding of goals for "clean" lifecycle.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
*/
public class MavenIT0131SiteLifecycleTest extends AbstractMavenIntegrationTestCase {

public MavenIT0131SiteLifecycleTest() {
super("[2.0.0,)");
}

/**
* Test default binding of goals for "site" lifecycle.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
*/
public class MavenIT0132PomLifecycleTest extends AbstractMavenIntegrationTestCase {

public MavenIT0132PomLifecycleTest() {
super("[2.0.0,)");
}

/**
* Test default binding of goals for "pom" lifecycle.
*
Expand All @@ -47,9 +43,8 @@ public void testit0132() throws Exception {
verifier.setAutoclean(false);
verifier.addCliArgument("deploy");
verifier.execute();
if (matchesVersionRange("(2.0.1,3.0-alpha-1)")) {
verifier.verifyFilePresent("target/site-attach-descriptor.txt");
}
// Inline version check: (2.0.1,3.0-alpha-1) - current Maven version doesn't match this range
// verifier.verifyFilePresent("target/site-attach-descriptor.txt");
verifier.verifyFilePresent("target/install-install.txt");
verifier.verifyFilePresent("target/deploy-deploy.txt");
verifier.verifyErrorFreeLog();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
*/
public class MavenIT0133JarLifecycleTest extends AbstractMavenIntegrationTestCase {

public MavenIT0133JarLifecycleTest() {
super("[2.0.0,)");
}

/**
* Test default binding of goals for "jar" lifecycle.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
*/
public class MavenIT0134WarLifecycleTest extends AbstractMavenIntegrationTestCase {

public MavenIT0134WarLifecycleTest() {
super("[2.0.0,)");
}

/**
* Test default binding of goals for "war" lifecycle.
*
Expand Down
Loading