Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for ArtifactRepository (0.09 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

     */
    @Deprecated
    public interface ArtifactRepository {
        String pathOf(Artifact artifact);
    
        String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata);
    
        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getBasedir();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            private final boolean resolveManagedVersions;
            private final List<ArtifactRepository> repositories = new ArrayList<>();
            private final int hashCode;
    
            public CacheKey(
                    Artifact artifact,
                    boolean resolveManagedVersions,
                    ArtifactRepository localRepository,
                    List<ArtifactRepository> remoteRepositories) {
                File file = artifact.getFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        //    }
    
        public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories) {
            if (repositories == null) {
                return null;
            }
    
            Map<String, List<ArtifactRepository>> reposByKey = new LinkedHashMap<>();
    
            for (ArtifactRepository repository : repositories) {
                String key = repository.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        Artifact createDependencyArtifact(Dependency dependency);
    
        ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            //  - we'd be much better having a pristine input, and an ongoing metadata for merging instead
    
            Map<ArtifactRepository, Metadata> previousMetadata = new HashMap<>();
            ArtifactRepository selected = null;
            for (ArtifactRepository repository : remoteRepositories) {
                ArtifactRepositoryPolicy policy = metadata.getPolicy(repository);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        // see DOXIASITETOOLS-167 & MPIR-349
        MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException;
    
        // TODO remote-resources-plugin
        MavenProject buildFromRepository(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ProjectBuildingException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test"));
        }
    
        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            if (repositories != null) {
                boolean normalized = false;
    
                List<ArtifactRepository> repos = new ArrayList<>(repositories.size());
    
                for (Object repository : repositories) {
                    if (repository instanceof Repository) {
                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        public void resolveAlways(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        private void resolve(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, RepositorySystemSession session)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

        ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException;
    
        ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException;
    
        /**
         * Get a list of available versions for an artifact in the remote repository
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top