Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 274 for Equals (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Model model = project.getModel().getDelegate();
            String packaging = model.getPackaging();
            String originalPackaging = project.getOriginalModel().getPackaging();
            if (POM_PACKAGING.equals(packaging) && !BOM_PACKAGING.equals(originalPackaging)) {
                return buildPom(session, project, src);
            } else {
                return buildNonPom(session, project, src);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (!(obj instanceof GAKey)) {
                    return false;
                }
    
                GAKey other = (GAKey) obj;
                return Objects.equals(artifactId, other.artifactId) && Objects.equals(groupId, other.groupId);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

        }
    
        private Plugin findPlugin(String groupId, String artifactId, Collection<Plugin> plugins) {
            for (Plugin plugin : plugins) {
                if (artifactId.equals(plugin.getArtifactId()) && groupId.equals(plugin.getGroupId())) {
                    return plugin;
                }
            }
    
            return null;
        }
    
    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)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
                updateScope = true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof ScopeArtifactFilter)) {
                return false;
            }
    
            ScopeArtifactFilter other = (ScopeArtifactFilter) obj;
    
            return Objects.equals(scope, other.scope);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

            if (lifecyclePhase != null) {
                if (lastLifecyclePhase == null) {
                    lastLifecyclePhase = lifecyclePhase;
                } else if (!lifecyclePhase.equals(lastLifecyclePhase)) {
                    project.addLifecyclePhase(lastLifecyclePhase);
                    lastLifecyclePhase = lifecyclePhase;
                }
            }
    
            if (lastLifecyclePhase != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

                            PluginValidationManager.IssueLocality.EXTERNAL, mavenSession, mojoDescriptor, mojoClass, m));
        }
    
        private boolean isDeprecated(Parameter parameter) {
            return Objects.equals(
                            org.apache.maven.artifact.repository.ArtifactRepository.class.getName(), parameter.getType())
                    && DEPRECATED_CORE_PARAMETERS.containsKey(parameter.getDefaultValue());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

                    reverseValue = true;
                    propValue = propValue.substring(1);
                }
    
                // we have a value, so it has to match the system value...
                return reverseValue != propValue.equals(sysValue);
            } else {
                return reverseName != (sysValue != null && !sysValue.isEmpty());
            }
        }
    
        @Override
    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-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

            return value;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (!(o instanceof Task)) {
                return false;
            }
            Task task = (Task) o;
            return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value);
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top