Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for getGroupId (0.29 sec)

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

            Iterator<MavenProject> iterator = projects.iterator();
            while (iterator.hasNext()) {
                MavenProject project = iterator.next();
                projectNames.append(project.getGroupId()).append(":").append(project.getArtifactId());
                if (iterator.hasNext()) {
                    projectNames.append(", ");
                }
            }
            return projectNames.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                    }
                }
            }
            return version;
        }
    
        public static String versionlessKey(Artifact artifact) {
            return versionlessKey(artifact.getGroupId(), artifact.getArtifactId());
        }
    
        public static String versionlessKey(String groupId, String artifactId) {
            notBlank(groupId, "groupId can neither be null, empty nor blank");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        }
    
        protected static Metadata createMetadata(Artifact artifact, Versioning versioning) {
            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getVersion());
            metadata.setVersioning(versioning);
            return metadata;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

    /**
     *
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactFactoryRequest {
    
        @Nonnull
        Session getSession();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        static ArtifactFactoryRequest build(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            }
            */
        }
        // ------------------------------------------------------------------
        //    public void init( ArtifactMetadata af )
        //    {
        //        setGroupId( af.getGroupId() );
        //        setArtifactId( af.getArtifactId() );
        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertFalse(dep1.isOptional());
            assertEquals(0, dep1.getExclusions().size());
            Artifact depArtifact = dep1.getArtifact();
            assertEquals("ut.simple", depArtifact.getGroupId());
            assertEquals("dependency", depArtifact.getArtifactId());
            assertEquals("1.0", depArtifact.getVersion());
            assertEquals("1.0", depArtifact.getBaseVersion());
            assertNull(depArtifact.getFile());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            return result;
        }
    
        private static boolean artifactEquals(Artifact a1, Artifact a2) {
            if (a1 == a2) {
                return true;
            }
    
            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getType(), a2.getType())
                    && Objects.equals(a1.getVersion(), a2.getVersion())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
            assertEquals("1.0-SNAPSHOT", target.getVersion());
        }
        /*--- END test common metadata ---*/
    
        /*--- START test "groupId/artifactId/version" metadata ---*/
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                ArrayList<Artifact> result = new ArrayList<>(artifacts);
                for (Artifact main : mains) {
                    result.remove(main);
                    result.add(new DefaultArtifact(
                            main.getGroupId(),
                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            }
        }
    
        @Test
        void testBuildReader() throws Exception {
            PluginDescriptor pd = build("/plugin.xml");
    
            assertEquals("org.apache.maven.plugins", pd.getGroupId());
            assertEquals("maven-jar-plugin", pd.getArtifactId());
            assertEquals("2.3-SNAPSHOT", pd.getVersion());
            assertEquals("jar", pd.getGoalPrefix());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top