Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 120 for getArtifactId (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        Predicate<Artifact> predicate = a -> {
                            if (artifact.getGroupId().equals(a.getGroupId())
                                    && artifact.getArtifactId().equals(a.getArtifactId())) {
                                if (versionRange != null) {
                                    Version v = parseVersion(a.getVersion());
                                    return !versionRange.containsVersion(v);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                        ArtifactMetadata md = v.getMd();
                        ArtifactMetadata newMd = new ArtifactMetadata(
                                md.getGroupId(),
                                md.getArtifactId(),
                                edge.getVersion(),
                                md.getType(),
                                md.getScopeAsEnum(),
                                md.getClassifier(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("[ Looking for " + groupId + ":" + artifactId + " ]");
            for (Artifact a : project.getArtifacts()) {
                System.out.println(a.toString());
                if (artifactId.equals(a.getArtifactId()) && a.getGroupId().equals(groupId)) {
                    System.out.println("RETURN");
                    return a;
                }
            }
            System.out.println("Return null");
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            validPluginCounts.put("maven-source-plugin", 0);
    
            Plugin testPlugin = null;
    
            for (Plugin plugin : plugins) {
                String pluginArtifactId = plugin.getArtifactId();
    
                assertTrue(validPluginCounts.containsKey(pluginArtifactId), "Illegal plugin found: " + pluginArtifactId);
    
                if (pluginArtifactId.equals(testPluginArtifactId)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
                Artifact artifact = it.next();
    
                if ( "test-artifact2".equals( artifact.getArtifactId() ) )
                {
                    ArtifactFilter filter = artifact.getDependencyFilter();
    
                    assertSame( dependencyFilter, filter );
                }
            }
            */
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        e);
                return null;
            }
    
            Artifact artifact = artifactFactory.createDependencyArtifact(
                    d.getGroupId(),
                    d.getArtifactId(),
                    versionRange,
                    d.getType(),
                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            assertEquals( 1, artifactDependencies.size() );
            assertEquals( "b", artifactDependencies.iterator().next().getArtifactId() );
        }
        */
    
        @Test
        void testSystemScopeDependencies() throws Exception {
            MavenSession session = createMavenSession(null);
            MavenProject project = session.getCurrentProject();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            Map<String, ArtifactRepository> versionIndex = new HashMap<>();
    
            Metadata metadata = new DefaultMetadata(
                    request.getArtifact().getGroupId(),
                    request.getArtifact().getArtifactId(),
                    MAVEN_METADATA_XML,
                    Metadata.Nature.RELEASE_OR_SNAPSHOT);
    
            List<MetadataRequest> metadataRequests =
                    new ArrayList<>(request.getRepositories().size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        String groupId = defaultModelBuilder.getGroupId(model);
                        context.modelByGA.put(
                                new DefaultTransformerContext.GAKey(groupId, model.getArtifactId()), new Holder(model));
                        context.modelByPath.put(path, new Holder(model));
                    }
                    return model;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

        }
    
        /**
         * Gets the artifact id of the unresolvable model.
         *
         * @return The artifact id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getArtifactId() {
            return artifactId;
        }
    
        /**
         * Gets the version of the unresolvable model.
         *
         * @return The version of the unresolvable model, can be empty but never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top