Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for if (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // There is no need to check if the build has created any outputs, see MNG-2222.
                boolean projectCompiledDuringThisSession =
                        project.hasLifecyclePhase("compile") && COMPILE_PHASE_TYPES.contains(type);
    
                // Check if the project is part of the session (not filtered by -pl, -rf, etc). If so, we check
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            Parent parent = childModel.getParent();
            if (parent != null) {
                parentData = readParentLocally(childModel, childSource, request, problems);
                if (parentData == null) {
                    parentData = readParentExternally(childModel, request, problems);
                }
    
                Model parentModel = parentData.model();
                if (!"pom".equals(parentModel.getPackaging())) {
    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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

                if (token.startsWith("[")) {
                    ranges.add(new RangeValue(token.replace("[", ""), true));
                } else if (token.startsWith("(")) {
                    ranges.add(new RangeValue(token.replace("(", ""), false));
                } else if (token.endsWith("]")) {
                    ranges.add(new RangeValue(token.replace("]", ""), true));
                } else if (token.endsWith(")")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                boolean isBlankVersion = descriptor.getRequiredMavenVersion() == null
                        || descriptor.getRequiredMavenVersion().trim().isEmpty();
    
                if (isBlankVersion) {
                    // only take value from underlying POM if plugin descriptor has no explicit Maven requirement
                    descriptor.setRequiredMavenVersion(artifact.getProperty("requiredMavenVersion", null));
                }
    
    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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            if (active && os.getFamily() != null) {
                active = determineFamilyMatch(os.getFamily(), actualOsName);
            }
            if (active && os.getName() != null) {
                active = determineNameMatch(os.getName(), actualOsName);
            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

            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) {
                    return true;
                }
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            }
            RecursionInterceptor recursionInterceptor = createRecursionInterceptor(request);
            return value -> {
                if (value != null && value.contains("${")) {
                    String c = cache.get(value);
                    if (c == null) {
                        try {
                            c = interpolator.interpolate(value, recursionInterceptor);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                xml.setAddDefaultEntities(request.isAddDefaultEntities());
                if (inputStream != null) {
                    return xml.read(inputStream, request.isStrict(), source);
                } else if (reader != null) {
                    return xml.read(reader, request.isStrict(), source);
                } else if (path != null) {
                    try (InputStream is = Files.newInputStream(path)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            if (property == null) {
                return false;
            }
    
            String name = property.getName();
            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
    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)
Back to top