Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for getRepository (0.09 sec)

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

            if (event == null) {
                return null;
            } else {
                String wagon = event.getWagon().getClass().getName();
    
                ArtifactTransferResource artifact = wrap(event.getWagon().getRepository(), event.getResource());
    
                ArtifactTransferEvent evt;
                if (event.getException() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

                "; ${LocalIndexedRepo.PROP_LOCAL_DIR} = '$repoDir'",
            )
            refresh()
            prepareWorkspace()
          }
      }
    
      private fun Workspace.prepareWorkspace() {
        val repositoryPlugin = getRepository(REPO_NAME)
    
        // Deploy the bundles in the deployments test directory.
        repositoryPlugin.deployDirectory(testResourceDir / "deployments")
        repositoryPlugin.deployClassPath()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    resolveResult = artifactResolver.resolveArtifact(session, resolveRequest);
                    pomArtifact = resolveResult.getArtifact();
                    result.setRepository(resolveResult.getRepository());
                } catch (ArtifactResolutionException e) {
                    if (e.getCause() instanceof ArtifactNotFoundException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static WorkspaceRepository getWorkspace(RepositorySystemSession session) {
            WorkspaceReader reader = session.getWorkspaceReader();
            return (reader != null) ? reader.getRepository() : null;
        }
    
        public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2) {
            if (r1.size() != r2.size()) {
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            if (repository instanceof DefaultRemoteRepository) {
                org.eclipse.aether.repository.RemoteRepository rr = ((DefaultRemoteRepository) repository).getRepository();
    
                try {
                    return mavenRepositorySystem.createRepository(
                            rr.getUrl(),
                            rr.getId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            clone.setDependencyFilter(artifact.getDependencyFilter());
            clone.setDependencyTrail(copyList(artifact.getDependencyTrail()));
            clone.setDownloadUrl(artifact.getDownloadUrl());
            clone.setRepository(artifact.getRepository());
    
            return clone;
        }
    
        /**
         * Copy artifact to a collection.
         *
         * @param <T> the target collection type
         * @param from an artifact collection
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public File getFile() {
            return file;
        }
    
        @Override
        public ArtifactRepository getRepository() {
            return repository;
        }
    
        @Override
        public void setRepository(ArtifactRepository repository) {
            this.repository = repository;
        }
    
        // ----------------------------------------------------------------------
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            this.projectRootDir = params.get("projectRootDir") ? new File(params.get("projectRootDir") as String) : null
        }
    
        protected BinaryCompatibilityRepository getRepository() {
            return context.userData[BinaryCompatibilityRepositorySetupRule.REPOSITORY_CONTEXT_KEY] as BinaryCompatibilityRepository
        }
    
        protected static boolean isNewOrRemoved(JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/pom.xml

                  <exclude>org.apache.maven.model.resolution.InvalidRepositoryException#getRepository():METHOD_RETURN_TYPE_CHANGED</exclude>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                    String path = lrm.getPathForLocalArtifact(artifactRequest.getArtifact());
                    artifact.setFile(new File(lrm.getRepository().getBasedir(), path));
    
                    RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
                    result = repoSystem.resolveArtifact(session, artifactRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top