Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getLocalRepositoryPath (1.45 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertNull(executionRequest.getLocalRepositoryPath());
    
            // System-properties override default
            request.getSystemProperties().setProperty(Constants.MAVEN_REPO_LOCAL, "." + File.separatorChar + "custom1");
            executionRequest = cli.populateRequest(request);
            assertNotNull(executionRequest.getLocalRepositoryPath());
            assertEquals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            DefaultMavenExecutionRequest copy = new DefaultMavenExecutionRequest();
            copy.setLocalRepository(original.getLocalRepository());
            copy.setLocalRepositoryPath(original.getLocalRepositoryPath());
            copy.setOffline(original.isOffline());
            copy.setInteractiveMode(original.isInteractiveMode());
            copy.setCacheNotFound(original.isCacheNotFound());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Local repository
        MavenExecutionRequest setLocalRepositoryPath(String localRepository);
    
        MavenExecutionRequest setLocalRepositoryPath(File localRepository);
    
        File getLocalRepositoryPath();
    
        MavenExecutionRequest setLocalRepository(ArtifactRepository repository);
    
        ArtifactRepository getLocalRepository();
    
        // Interactive
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * then we will take that over the value coming from the user settings.
         */
        private static Settings adaptSettings(MavenExecutionRequest request) {
            File localRepo = request.getLocalRepositoryPath();
            return new Settings(org.apache.maven.api.settings.Settings.newBuilder()
                    .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .build();
        }
    
        private void validateLocalRepository(MavenExecutionRequest request) throws IOException {
            File localRepoDir = request.getLocalRepositoryPath();
    
            logger.debug("Using local repository at {}", localRepoDir);
    
            localRepoDir.mkdirs();
    
            if (!localRepoDir.isDirectory()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
Back to top