Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for localRepository (0.15 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.java

        ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
                Map<String, Artifact> managedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                }
            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
        }
    
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            // metadata is added via addPluginArtifactMetadata
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    .setLocalRepository(getLocalRepository());
    
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession();
            LocalRepository localRepo =
                    new LocalRepository(request.getLocalRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

        /**
         * Sets the local repository to use for the resolution.
         *
         * @param localRepository The local repository to use for the resolution.
         * @return This request, never {@code null}.
         */
        MetadataResolutionRequest setLocalRepository(ArtifactRepository localRepository);
    
        /**
         * Gets the remote repositories to use for the resolution.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
                url = "file://" + localRepository.getCanonicalPath();
            }
    
            return url;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         *
         * @param localRepository  the local repository
         * @param remoteRepository the remote repository it came from
         * @throws RepositoryMetadataStoreException in case of issue
         */
        void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         */
        ArtifactRepository getLocalRepository();
    
        /**
         * Sets the local repository to use.
         *
         * @param localRepository The local repository to use.
         * @return This request, never {@code null}.
         */
        RepositoryRequest setLocalRepository(ArtifactRepository localRepository);
    
        /**
         * Gets the remote repositories to use.
         *
         * @return The remote repositories to use, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

    /**
     * <p>In Maven, repositories are locations where project artifacts (such as JAR files, POM files, and other
     * resources) are stored and retrieved. There are two primary types of repositories:
     * {@linkplain LocalRepository local repositories} and
     * {@linkplain RemoteRepository remote repositories}.</p>
     *
     * <h2>Repository Resolution Process</h2>
     *
     * <p>When resolving dependencies, Maven follows this order:</p><ol>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                // local repository
                String localRepository = settings.getLocalRepository() != null
                        ? settings.getLocalRepository()
                        : mavenUserHome.resolve("repository").toString();
                LocalRepositoryManager llm =
                        system.newLocalRepositoryManager(rsession, new LocalRepository(localRepository));
                rsession.setLocalRepositoryManager(llm);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top