Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for setRepository (0.14 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

        }
    
        /**
         * Gets the repository that causes this error (if any).
         *
         * @return The repository that causes this error or {@code null} if not known.
         */
        public Repository getRepository() {
            return repository;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(getVersions().size() - 1));
        }
    
        @Nonnull
        Optional<Repository> getRepository(Version version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            }
            try {
                Files.createDirectories(trackingDir);
    
                trackingData.add("");
                if (!missing) {
                    if (event.getRepository() != null) {
                        trackingData.add("Repository: " + event.getRepository());
                    }
                } else {
                    List<RemoteRepository> repositories = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    
            if (shouldSkipViolationCheckFor(member) || getRepository().isSince(getCurrentVersion(), member)) {
                return null;
            }
    
            return acceptOrReject(member, Violation.error(member, SINCE_ERROR_MESSAGE + getCurrentVersion()));
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

        static final String VERSION = "99.99";
    
        private static final WorkspaceRepository WORKSPACE_REPOSITORY = new WorkspaceRepository(REPO_LAYOUT);
    
        @Override
        public WorkspaceRepository getRepository() {
            return WORKSPACE_REPOSITORY;
        }
    
        @Override
        public File findArtifact(Artifact artifact) {
            return null;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
         * The repository where this artifact has been downloaded from.
         */
        @Nonnull
        Optional<RemoteRepository> getRepository();
    
        /**
         * Traverses this node and potentially its children using the specified visitor.
         *
         * @param visitor the visitor to call back, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top