Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 120 for getArtifactId (0.21 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                if (version == null && !path.isEmpty()) {
                    Optional<RelativeProject> resolvedParent = resolveRelativePath(
                            pomFile, context, Paths.get(path), parent.getGroupId(), parent.getArtifactId());
                    resolvedParent.ifPresent(relativeProject -> parent.setVersion(relativeProject.getVersion()));
                }
            }
        }
    
        //
        // CI friendly versions
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         */
        static boolean isInScope(Artifact artifact, Artifact nodeArtifact) {
            return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId())
                    && Objects.equals(artifact.getArtifactId(), nodeArtifact.getArtifactId())
                    && Objects.equals(artifact.getVersion(), nodeArtifact.getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

            return create(DependencyCoordinatesFactoryRequest.build(
                    session,
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getVersion(),
                    dependency.getClassifier(),
                    null,
                    dependency.getType()));
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            path.append(formatAsDirectory(artifact.getGroupId())).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(PATH_SEPARATOR);
            path.append(artifact.getBaseVersion()).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            return "project information for " + artifact.getArtifactId() + " " + artifact.getVersion();
        }
    
        public boolean storedInArtifactVersionDirectory() {
            return true;
        }
    
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        public Object getKey() {
            return "project " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                            }
                            if (relocation.getArtifactId() != null) {
                                artifact.setArtifactId(relocation.getArtifactId());
                                relocatedArtifact = artifact;
                                project.setArtifactId(relocation.getArtifactId());
                            }
                            if (relocation.getVersion() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                }
    
                return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion);
            } catch (final VersionRangeResolutionException e) {
                throw new UnresolvableModelException(
                        e.getMessage(), parent.getGroupId(), parent.getArtifactId(), parent.getVersion(), e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            if (!metadata.getGroupId().isEmpty()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
    
                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/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,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) {
                pomArtifact =
                        new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion());
            }
    
            return pomArtifact;
        }
    
        /**
         * Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top