Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getRepository (0.07 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
                            RemoteRepository r = (RemoteRepository) result.getRepository();
                            subRequest.setRepositories(Collections.singletonList(r));
                        } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            Metadata metadata = request.getMetadata();
    
            String path;
            if (request.getRepository() == null) {
                path = getPathForLocalMetadata(metadata);
            } else {
                path = getPathForRemoteMetadata(metadata, request.getRepository(), request.getContext());
            }
    
            File file = new File(getRepository().getBasedir(), path);
    
            LocalMetadataResult result = new LocalMetadataResult(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                for (String version : versions) {
                    versionIndex.put(version, workspace.getRepository());
                }
            }
    
            for (MetadataResult metadataResult : metadataResults) {
                result.addException(metadataResult.getException());
    
                ArtifactRepository repository = metadataResult.getRequest().getRepository();
                if (repository == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            }
            try {
                Files.createDirectories(trackingDir);
    
                trackingData.add("");
                if (!missing) {
                    if (event.getRepository() != null) {
                        trackingData.add("Repository: " + event.getRepository());
                    }
                } else {
                    List<RemoteRepository> repositories = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    resolveResult = artifactResolver.resolveArtifact(session, resolveRequest);
                    pomArtifact = resolveResult.getArtifact();
                    result.setRepository(resolveResult.getRepository());
                } catch (ArtifactResolutionException e) {
                    if (e.getCause() instanceof ArtifactNotFoundException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static WorkspaceRepository getWorkspace(RepositorySystemSession session) {
            WorkspaceReader reader = session.getWorkspaceReader();
            return (reader != null) ? reader.getRepository() : null;
        }
    
        public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2) {
            if (r1.size() != r2.size()) {
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public File getFile() {
            return file;
        }
    
        @Override
        public ArtifactRepository getRepository() {
            return repository;
        }
    
        @Override
        public void setRepository(ArtifactRepository repository) {
            this.repository = repository;
        }
    
        // ----------------------------------------------------------------------
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            this.projectRootDir = params.get("projectRootDir") ? new File(params.get("projectRootDir") as String) : null
        }
    
        protected BinaryCompatibilityRepository getRepository() {
            return context.userData[BinaryCompatibilityRepositorySetupRule.REPOSITORY_CONTEXT_KEY] as BinaryCompatibilityRepository
        }
    
        protected static boolean isNewOrRemoved(JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/pom.xml

                  <exclude>org.apache.maven.model.resolution.InvalidRepositoryException#getRepository():METHOD_RETURN_TYPE_CHANGED</exclude>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                    String path = lrm.getPathForLocalArtifact(artifactRequest.getArtifact());
                    artifact.setFile(new File(lrm.getRepository().getBasedir(), path));
    
                    RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
                    result = repoSystem.resolveArtifact(session, artifactRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top