Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 459 for Repository (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

     * <li>Download and Cache: If Maven finds the artifact in a remote repository, it downloads it and stores it in the local repository for future use.</li>
     * </ol>
     * <p>By caching artifacts in the local repository, Maven minimizes the need to repeatedly download the same artifacts, thus optimizing the build process.</p>
     *
     * <h2>Repository Configuration</h2>
     *
     * <p>Repositories can be configured at various levels:<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)
  2. compat/maven-model-builder/src/test/resources/poms/validation/reserved-repository-id.xml

      <version>99.44</version>
    
      <repositories>
        <repository>
          <id>local</id>
          <url>http://localhost</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>local</id>
          <url>http://localhost</url>
        </pluginRepository>
      </pluginRepositories>
    
      <distributionManagement>
        <repository>
          <id>local</id>
          <url>http://localhost</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/bad-repository-id.xml

      <version>1.0</version>
    
      <repositories>
        <repository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
        </pluginRepository>
      </pluginRepositories>
    
      <distributionManagement>
        <repository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-expression.xml

      <artifactId>project</artifactId>
      <version>1.0.0-SNAPSHOT</version>
    
      <properties>
        <x>just/some/path</x>
      </properties>
    
      <repositories>
        <repository>
          <id>repo</id>
          <url>file://${x}/sdk/maven/repo</url>
        </repository>
      </repositories>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-basedir-expression.xml

      <repositories>
        <repository>
          <id>repo</id>
          <url>file://${basedir}/target/remote-repo</url>
        </repository>
        <repository>
          <id>repo-project-basedir</id>
          <url>file://${project.basedir}/sdk/maven/repo</url>
        </repository>
        <repository>
          <id>repo-project-baseUri</id>
          <url>${project.baseUri}/sdk/maven/repo</url>
        </repository>
      </repositories>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/missing-repository-id-pom.xml

    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
      <repositories>
        <repository>
    
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
    
        </pluginRepository>
      </pluginRepositories>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        private boolean blocked;
    
        /**
         * Create a local repository or a test repository.
         *
         * @param id     the unique identifier of the repository
         * @param url    the URL of the repository
         * @param layout the layout of the repository
         */
        public DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            for (ArtifactRepository repository : remoteRepositories) {
                ArtifactRepositoryPolicy policy = metadata.getPolicy(repository);
    
                if (policy.isEnabled() && loadMetadata(metadata, repository, localRepository, previousMetadata)) {
                    metadata.setRepository(repository);
                    selected = 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
    import org.apache.maven.model.DeploymentRepository;
    import org.apache.maven.model.Repository;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.repository.RepositorySystem;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

        }
    
        public static RemoteRepository toRemoteRepository(Repository repository) {
            RemoteRepository.Builder builder =
                    new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
            builder.setSnapshotPolicy(toRepositoryPolicy(repository.getSnapshots()));
            builder.setReleasePolicy(toRepositoryPolicy(repository.getReleases()));
            return builder.build();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top