Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getArtifactId (0.1 sec)

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

        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K 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. 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)
  4. 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)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                for (Dependency dep : getDependencies()) {
                    ret.put(dep.getArtifactId(), dep);
                }
                return ret;
            }
    
            // ${project.artifactMap(g:a:v)}
            public void addArtifact(Artifact a) {
                artifactMap.put(a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getClassifier(), a);
            }
    
            public Map<String, Artifact> getArtifactMap() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            ExecutionEvent event = mock(ExecutionEvent.class);
            MavenProject project = mock(MavenProject.class);
            when(project.getGroupId()).thenReturn("org.apache.maven");
            when(project.getArtifactId()).thenReturn("maven-embedder");
            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                metadata = new DefaultMetadata(
                        artifact.getGroupId(), artifact.getArtifactId(), MAVEN_METADATA_XML, Metadata.Nature.RELEASE);
            } else if (LATEST.equals(version)) {
                metadata = new DefaultMetadata(
                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        @Override
        public String getScope() {
            return scope;
        }
    
        @Override
        public String getGroupId() {
            return groupId;
        }
    
        @Override
        public String getArtifactId() {
            return artifactId;
        }
    
        @Override
        public String getVersion() {
            return version;
        }
    
        @Override
        public void setVersion(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

             */
            org.apache.maven.artifact.Artifact result = new org.apache.maven.artifact.DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    null,
                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    nullify(artifact.getClassifier()),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top