Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 256 for elseif (0.16 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            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();
            }
    
            result *= upperBoundInclusive ? 2 : 3;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
        private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                // assume these are system errors and further build is meaningless
                buildContext.getReactorBuildStatus().halt();
            } else if (MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build
            } else if (MavenExecutionRequest.REACTOR_FAIL_AT_END.equals(rootSession.getReactorFailureBehavior())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED);
                } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_RUNTIME);
                } else if (Artifact.SCOPE_COMPILE_PLUS_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                                    plugin,
                                    pluginFile.getAbsolutePath());
                        }
                    }
                } else {
                    File pluginXml = new File(pluginFile, getPluginDescriptorLocation());
    
                    if (pluginXml.isFile()) {
                        pluginDescriptor = parsePluginDescriptor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag, s);
            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
                s = file.getAbsolutePath();
            } else {
                // an ordinary relative path, align with project directory
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    plugin.setArtifactId(tok[1]);
                } else {
                    // pluginPrefix:version:goal, like remote-resources:3.5.0:process
                    plugin = findPluginForPrefix(firstToken, session);
                    plugin.setVersion(tok[1]);
                }
                goal = tok[2];
            } else {
                // We have a prefix and goal
                //
                // idea:idea
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private String canonicalFileUrl(String url) throws IOException {
            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
                    return delegate.compareTo(((DefaultVersion) o).delegate);
                } else {
                    return compareTo(new DefaultVersion(versionScheme, o.asString()));
                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top