Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for getBasedir (0.19 sec)

  1. 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();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinate> getDependencies() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.session.scope.internal.SessionScope;
    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.assertTrue;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.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;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

    import org.eclipse.aether.impl.RemoteRepositoryManager;
    import org.eclipse.aether.repository.RemoteRepository;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.containsString;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. 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";
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top