Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for or_else (4.48 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                         * The latter case (keep patching) is okay if the main module will be defined later.
                         */
                        type = cache.selectPathType(pathTypes, filter, path).orElse(type);
                    }
                    addPathElement(type, info.getKey());
                    // There is usually no more than one element, but nevertheless allow multi-modules.
                }
                /*
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

        public Model injectLifecycleBindings(Model model, ModelBuilderRequest request, ModelProblemCollector problems) {
            String packagingId = model.getPackaging();
            Packaging packaging = packagingRegistry.lookup(packagingId).orElse(null);
            if (packaging == null) {
                problems.add(
                        Severity.ERROR, Version.BASE, "Unknown packaging: " + packagingId, model.getLocation("packaging"));
                return model;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) {
            File file = getService(ArtifactManager.class)
                    .getPath(artifact)
                    .map(Path::toFile)
                    .orElse(null);
            if (artifact instanceof DefaultArtifact) {
                org.eclipse.aether.artifact.Artifact a = ((DefaultArtifact) artifact).getArtifact();
                if (Objects.equals(file, a.getFile())) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top