Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 63 for getLocalRepository (0.22 seconds)

  1. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            if (request.getLocalRepository() == null) {
                request.setLocalRepository(createLocalRepository(request));
            }
    
            if (request.getLocalRepositoryPath() == null) {
                request.setLocalRepositoryPath(new File(request.getLocalRepository().getBasedir()).getAbsoluteFile());
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

            this.artifact = artifact;
    
            return this;
        }
    
        @Override
        public ArtifactRepository getLocalRepository() {
            return repositoryRequest.getLocalRepository();
        }
    
        @Override
        public DefaultMetadataResolutionRequest setLocalRepository(ArtifactRepository localRepository) {
            repositoryRequest.setLocalRepository(localRepository);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException {
            return retrieveAvailableVersions(
                    request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

        }
    
        protected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception {
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
            configuration.setLocalRepository(getLocalRepository());
            initRepoSession(configuration);
    
            return projectBuilder.build(pom, allowStub, configuration).getProject();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        private List<Proxy> proxies;
    
        public ArtifactResolutionRequest() {
            // nothing here
        }
    
        public ArtifactResolutionRequest(RepositoryRequest request) {
            setLocalRepository(request.getLocalRepository());
            setRemoteRepositories(request.getRemoteRepositories());
            setOffline(request.isOffline());
            setForceUpdate(request.isForceUpdate());
        }
    
        public Artifact getArtifact() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectBuilderConfiguration.java

    import org.apache.maven.profiles.ProfileManager;
    
    /**
     * @deprecated use {@link ProjectBuildingRequest} instead
     */
    @Deprecated
    public interface ProjectBuilderConfiguration {
    
        ArtifactRepository getLocalRepository();
    
        ProfileManager getGlobalProfileManager();
    
        Properties getUserProperties();
    
        Properties getExecutionProperties();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top