- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for getBaseDir (0.38 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
ArtifactRepository localRepository = localRepository(); Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File file = new File(remoteRepo.getBasedir(), path); assertFalse(file.exists(), "Remote artifact " + file + " should not be present."); } protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception { ArtifactRepository localRepo = localRepository(); String path = localRepo.pathOf(artifact); File file = new File(localRepo.getBasedir(), path);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
import org.eclipse.aether.util.version.GenericVersionScheme; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
import org.eclipse.aether.repository.LocalRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.junit.jupiter.api.Assertions.assertEquals; @PlexusTest class PomConstructionWithSettingsTest { private static final String BASE_DIR = "src/test";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* the path may point to a non XML file. * <p> * The POM path is also used to define the {@linkplain #getBasedir() base directory} * of the project. * * @return the path of the pom * @see #getBasedir() */ @Nonnull Path getPomPath(); /** * Returns the project base directory, i.e. the directory containing the project.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone"); assertEquals( projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone"); } @Test void testUndefinedOutputDirectory() throws Exception { MavenProject p = new MavenProject();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 9.3K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
when(build.getTestOutputDirectory()).thenReturn("target/test-classes"); Project project = mock(Project.class); when(project.getBuild()).thenReturn(build); when(project.getBasedir()).thenReturn(Path.of("myproject")); when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod(); assertEquals(Path.of("myproject", "target", "classes"), targetPath(project));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0)