Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for elseif (0.2 sec)

  1. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *##if ( $MITLicenseNames.contains( $license.name ) )
    #*      *##set ( $spdx = 'MIT' )
    #*    *##elseif ( $license.name == "Eclipse Public License, Version 1.0" )
    #*      *##set ( $spdx = 'EPL-1.0' )
    #*    *##elseif ( $license.url.contains( "www.apache.org/licenses/LICENSE-2.0" ) )
    #*      *##set ( $spdx = 'Apache-2.0' )
    #*    *##else
    #*      *### unrecognized license will require analysis to know obligations
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Sep 13 20:57:31 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                        }
                    }
                } else if (exception instanceof MojoFailureException) {
                    reference = MojoFailureException.class.getSimpleName();
                } else if (exception instanceof LinkageError) {
                    reference = LinkageError.class.getSimpleName();
                } else if (exception instanceof PluginExecutionException) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            List<String> roots;
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                roots = prj.getCompileSourceRoots();
            } else if (scope == ProjectScope.TEST) {
                roots = prj.getTestCompileSourceRoots();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
            return roots.stream()
                    .map(Paths::get)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputLocation.java

                return target;
            } else if (target == null) {
                return source;
            }
    
            Map<Object, InputLocation> locations;
            Map<Object, InputLocation> sourceLocations = source.locations;
            Map<Object, InputLocation> targetLocations = target.locations;
            if (sourceLocations == null) {
                locations = targetLocations;
            } else if (targetLocations == null) {
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 10:39:14 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.test);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java

        @Override
        public String getGroupId() {
            if (groupId != null) {
                return groupId;
            } else {
                return artifact.getGroupId();
            }
        }
    
        @Override
        public String getArtifactId() {
            if (artifactId != null) {
                return artifactId;
            } else {
                return artifact.getArtifactId();
            }
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                            retVal += expr.substring(index + 1, lastIndex + 1);
                        } else {
                            Object subResult = evaluate(expr.substring(index, lastIndex + 1));
    
                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    if (reverseValue) {
                        return !result;
                    } else {
                        return result;
                    }
                } else {
                    boolean result = sysValue != null && !sysValue.isEmpty();
    
                    if (reverseName) {
                        return !result;
                    } else {
                        return result;
                    }
                }
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                        message += " from repository " + artifact.getRepository().getId();
                    } else {
                        message += " from local repository";
                    }
                    getLogger().debug(message);
                } else {
                    // Locally installed file is newer, don't use the resolved version
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top