Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Equals (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            /*
             * if ( version == null || !version.equals( parent.getVersion() ) ) { return null; }
             */
    
            return new ModelData(candidateSource, candidateModel);
        }
    
        private boolean rawChildVersionReferencesParent(String rawChildModelVersion) {
            return rawChildModelVersion.equals("${pom.version}")
                    || rawChildModelVersion.equals("${project.version}")
    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)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return Artifact.SCOPE_COMPILE.equals(scope)
                    || Artifact.SCOPE_PROVIDED.equals(scope)
                    || Artifact.SCOPE_SYSTEM.equals(scope);
        }
    
        // TODO let the scope handler deal with this
        private static boolean isRuntimePathElement(final String scope) {
            return Artifact.SCOPE_COMPILE.equals(scope) || Artifact.SCOPE_RUNTIME.equals(scope);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .filter(p -> p.getArtifactId().equals(artifactId))
                    .findFirst()
                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
            PluginExecution pluginExecution = pluginExecutions.stream()
                    .filter(pe -> pe.getId().equals(expectedId))
                    .findFirst()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            artifact.getId(), "Error resolving project artifact: " + e.getMessage(), e);
                }
    
                Path pomFile = pomArtifact.getPath();
    
                if (!artifact.isResolved() && "pom".equals(artifact.getType())) {
                    artifact.selectVersion(pomArtifact.getVersion());
                    artifact.setFile(pomFile.toFile());
                    artifact.setResolved(true);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                validateStringNotEmpty(
                        "parent.artifactId", problems, Severity.FATAL, Version.BASE, parent.getArtifactId(), parent);
    
                if (equals(parent.getGroupId(), m.getGroupId()) && equals(parent.getArtifactId(), m.getArtifactId())) {
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.BASE,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top