Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for getLocalRepository (0.12 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    .setRemoteRepositories(getRemoteRepositories())
                    .setLocalRepository(getLocalRepository());
    
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession();
            LocalRepository localRepo =
                    new LocalRepository(request.getLocalRepository().getBasedir());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setPom(pom)
                    .setProjectPresent(true)
                    .setShowErrors(true)
                    .setPluginGroups(Arrays.asList("org.apache.maven.plugins"))
                    .setLocalRepository(getLocalRepository())
                    .setRemoteRepositories(getRemoteRepositories())
                    .setPluginArtifactRepositories(getPluginArtifactRepositories())
                    .setGoals(Arrays.asList("package"));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            }
    
            Path trackingDir;
            boolean missing = event.getFile() == null;
            if (missing) {
                // missing artifact - let's track the path anyway
                File dir = event.getSession().getLocalRepository().getBasedir();
                dir = new File(
                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        public static MavenExecutionRequest copy(MavenExecutionRequest original) {
            DefaultMavenExecutionRequest copy = new DefaultMavenExecutionRequest();
            copy.setLocalRepository(original.getLocalRepository());
            copy.setLocalRepositoryPath(original.getLocalRepositoryPath());
            copy.setOffline(original.isOffline());
            copy.setInteractiveMode(original.isInteractiveMode());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                this.currentProject = new ThreadLocal<>();
                this.topLevelProject = null;
            }
            this.projects = projects;
        }
    
        public ArtifactRepository getLocalRepository() {
            return request.getLocalRepository();
        }
    
        public List<String> getGoals() {
            return request.getGoals();
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest setLocalRepositoryPath(File localRepository);
    
        File getLocalRepositoryPath();
    
        MavenExecutionRequest setLocalRepository(ArtifactRepository repository);
    
        ArtifactRepository getLocalRepository();
    
        // Interactive
        MavenExecutionRequest setInteractiveMode(boolean interactive);
    
        boolean isInteractiveMode();
    
        // Offline
        MavenExecutionRequest setOffline(boolean offline);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            request.getArtifact().getVersion());
                    File pomFile = new File(
                            request.getLocalRepository().getBasedir(),
                            request.getLocalRepository().pathOf(pomArtifact));
    
                    try {
                        Model model = modelReader.read(pomFile, null).getDelegate();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Retrieves the local repository associated with this session.
         *
         * @return the local repository instance
         */
        @Nonnull
        LocalRepository getLocalRepository();
    
        /**
         * Retrieves a list of remote repositories associated with this session.
         *
         * @return a list of remote repositories
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
                    request.isResolveManagedVersions(),
                    request.getLocalRepository(),
                    request.getRemoteRepositories());
    
            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                    ArtifactRepository repository = metadataResult.getRequest().getRepository();
                    if (repository == null) {
                        repository = session.getLocalRepository();
                    }
    
                    Versioning v = readVersions(session, trace, metadataResult.getMetadata(), repository, result);
                    merge(artifact, infos, v, repository);
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
Back to Top