Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for RESULT (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

        }
    
        /**
         * New result consisting of given result and new problem. Convenience for newResult(result.get(),
         * concat(result.getProblems(),problems)).
         *
         * @param result
         * @param problem
         */
        public static <T> Result<T> addProblem(Result<T> result, ModelProblem problem) {
            return addProblems(result, singleton(problem));
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            boolean result = ensureAtLeastOneNonNull(os);
    
            if (result && os.getFamily() != null) {
                result = determineFamilyMatch(os.getFamily());
            }
            if (result && os.getName() != null) {
                result = determineNameMatch(os.getName());
            }
            if (result && os.getArch() != null) {
                result = determineArchMatch(os.getArch());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                InternalScopeManager internalScopeManager) {
            ArrayList<org.eclipse.aether.scope.DependencyScope> result = new ArrayList<>();
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.COMPILE.id(), DependencyScope.COMPILE.isTransitive(), all()));
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.RUNTIME.id(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

            HashMap<String, NamedLockFactory> result = new HashMap<>();
            result.put(NoopNamedLockFactory.NAME, new NoopNamedLockFactory());
            result.put(LocalReadWriteLockNamedLockFactory.NAME, new LocalReadWriteLockNamedLockFactory());
            result.put(LocalSemaphoreNamedLockFactory.NAME, new LocalSemaphoreNamedLockFactory());
            result.put(FileLockNamedLockFactory.NAME, new FileLockNamedLockFactory());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
                if (result.hasExceptions()) {
                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
        void testBuildRequestWithUserToolchains() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
                }
    
                Artifact relocatedArtifact = getRelocation(session, result, model);
                if (relocatedArtifact != null) {
                    if (withinSameGav(relocatedArtifact, a)) {
                        result.setArtifact(relocatedArtifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    nullify(artifact.getClassifier()),
                    handler);
    
            result.setFile(artifact.getFile());
            result.setResolved(artifact.getFile() != null);
    
            List<String> trail = new ArrayList<>(1);
            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
        public static void toArtifacts(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

        }
    
        @Override
        public int hashCode() {
            int result = 13;
    
            if (lowerBound == null) {
                result += 1;
            } else {
                result += lowerBound.hashCode();
            }
    
            result *= lowerBoundInclusive ? 1 : 2;
    
            if (upperBound == null) {
                result -= 3;
            } else {
                result -= upperBound.hashCode();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            });
    
            ModelBuildingResult result = builder.build(request);
            Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream()
                    .filter(d -> "test:mydep:jar".equals(d.getManagementKey()))
                    .findFirst()
                    .get();
            assertEquals("0.2", dep.getVersion());
            assertEquals(0, result.getProblems().size());
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top