Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 89 for localRepository (0.17 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File source = new File(artifactBasedir, "artifact-1.0.jar");
    
                artifactInstaller.install(source, artifact, localRepository());
    
                assertLocalArtifactPresent(artifact);
            } finally {
                sessionScope.exit();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/conf/settings.xml

              xsi:schemaLocation="http://maven.apache.org/SETTINGS/2.0.0 https://maven.apache.org/xsd/settings-2.0.0.xsd">
      <!-- localRepository
       | The path to the local repository maven will use to store artifacts.
       |
       | Default: ${user.home}/.m2/repository
      <localRepository>/path/to/local/repo</localRepository>
      -->
    
      <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 15:53:41 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataSource.java

     * artifact.
     *
     */
    @Deprecated
    public interface MetadataSource {
        String ROLE = MetadataSource.class.getName();
    
        MetadataResolution retrieve(
                ArtifactMetadata artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws MetadataRetrievalException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java

        @Deprecated
        ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
                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
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
                File deployedFile = new File(remoteRepository.getBasedir(), remoteRepository.pathOf(artifact));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            return artifact;
        }
    
        @Override
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    "file://" + localRepository.toURI().getPath(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                throws InvalidRepositoryException {
            return createLocalRepository(localRepository);
        }
    
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return createRepository(
                    "file://" + localRepository.toURI().getRawPath(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setRepository(ArtifactRepository remoteRepository);
    
        ArtifactRepository getRepository();
    
        void updateVersion(String version, ArtifactRepository localRepository);
    
        String getDownloadUrl();
    
        void setDownloadUrl(String downloadUrl);
    
        ArtifactFilter getDependencyFilter();
    
        void setDependencyFilter(ArtifactFilter artifactFilter);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

            Artifact g = createLocalArtifact("g", "1.0");
            createLocalArtifact("h", "1.0");
            artifactResolver.resolveTransitively(
                    Collections.singleton(g), projectArtifact, remoteRepositories(), localRepository(), null);
    
            // we want to see all top-level thread groups
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

        Plugin getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project);
    
        PluginDescriptor verifyPlugin(
                Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository)
                throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException,
                        InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top