Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for if (0.15 sec)

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

            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            if (g == 0) {
                int a = compareStrings(md.artifactId, vmd.artifactId);
                if (a == 0) {
                    if (compareVersion) {
                        int v = compareStrings(md.version, vmd.version);
                        if (v == 0) {
                            if (compareScope) {
                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

        /**
         * GETs the source URI content into target (does not have to exist, or will be overwritten if exist). The
         * source MUST BE relative from the {@link RemoteRepository#getUrl()} root.
         *
         * @return {@code true} if operation succeeded, {@code false} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (policy == null) {
                throw new GraphConflictResolutionException("no GraphConflictResolutionPolicy injected");
            }
    
            if (graph == null) {
                return null;
            }
    
            final MetadataGraphVertex entry = graph.getEntry();
            if (entry == null) {
                return null;
            }
    
            if (graph.isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

        }
    
        /**
         * Extracts the extension descriptor (if any) from the specified JAR file.
         *
         * @param extensionJar The JAR file or directory to extract the descriptor from, must not be {@code null}.
         * @return The extracted descriptor or {@code null} if no descriptor was found.
         * @throws IOException If the descriptor is present but could not be parsed.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         */
        @Nonnull
        <T> Optional<T> lookupOptional(Class<T> type);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @param name The component name.
         * @return Optional carrying component or empty optional if no such component.
         * @param <T> The component type.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
                    repository.setLayout(original.getLayout());
                }
    
                repository.setBlocked(mirror.isBlocked());
            }
        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
            if (repositories != null && selector != null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                if (decorated != null) {
                    session = decorated;
                }
            }
    
            CollectRequest collect = new CollectRequest();
            collect.setRootArtifact(RepositoryUtils.toArtifact(project.getArtifact()));
            collect.setRequestContext("project");
            collect.setRepositories(project.getRemoteProjectRepositories());
    
            if (project.getDependencyArtifacts() == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (Files.isRegularFile(source)) {
                throw new IllegalArgumentException("source file does not exist or is not a file");
            }
            if (relativeTarget.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI target = baseURI.resolve(relativeTarget);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Apr 01 15:17:46 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top