Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for LocalRepository (0.14 sec)

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

         * @param artifact           Artifact to be transformed.
         * @param remoteRepositories the repositories to check
         * @param localRepository    the local repository
         */
        void transformForResolve(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

        }
    }
    
    fun publishNormalizedToLocalRepository() {
        val localRepository = layout.buildDirectory.dir("repo")
        val baseName = moduleIdentity.baseName
    
        publishing {
            repositories {
                maven {
                    name = "local"
                    url = uri(localRepository)
                }
            }
            publications {
                create<MavenPublication>("local") {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 19 13:21:47 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/rootless.paramdoc.xml

      <expressions>
        <expression>
          <syntax>localRepository</syntax>
          <configuration>
            <![CDATA[
          Inside ~/.m2/settings.xml:
    
          <localRepository>/path/to/local/repository</localRepository>
          ]]></configuration>
          <description>The ArtifactRepository instance referencing the local artifact
            repository.</description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            }
        }
    
        protected void updateRepositoryMetadata(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws IOException, XMLStreamException {
            Metadata metadata = null;
    
            File metadataFile = new File(
                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
    
            if (metadataFile.length() == 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        public ResolutionGroup get(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories) {
            CacheKey cacheKey = newCacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories);
    
            CacheRecord cacheRecord = cache.get(cacheKey);
    
            if (cacheRecord != null && !cacheRecord.isStale()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                    new ChainedDependencyGraphTransformer(transformer, new ManagedDependencyContextRefiner(scopeManager));
            session.setDependencyGraphTransformer(transformer);
    
            LocalRepository localRepo = new LocalRepository(localRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            return session;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.localRepository = localRepository;
    
            if (localRepository != null) {
                setLocalRepositoryPath(new File(localRepository.getBasedir()).getAbsoluteFile());
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setLocalRepositoryPath(File localRepository) {
            localRepositoryPath = localRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            return artifactDependencies;
        }
    
        public ArtifactRepository getLocalRepository() {
            return localRepository;
        }
    
        public ArtifactResolutionRequest setLocalRepository(ArtifactRepository localRepository) {
            this.localRepository = localRepository;
    
            return this;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                throws ArtifactInstallationException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
    
            install(source, artifact, localRepository);
        }
    
        public void install(File source, Artifact artifact, ArtifactRepository localRepository)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top