Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for getArtifactId (0.11 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            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());
            assertFalse(depArtifact.isSnapshot());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. 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());
            assertEquals("plugin-description", pd.getDescription());
            assertFalse(pd.isIsolatedRealm());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            source.setArtifactId("source-artifact");
            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 ---*/
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                            throw new UnresolvableModelException(
                                    "Cannot resolve",
                                    dependency.getGroupId(),
                                    dependency.getArtifactId(),
                                    dependency.getVersion());
                    }
                }
            });
    
            ModelBuildingResult result = builder.build(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

            this.dependency = dependency;
        }
    
        private static String formatLocationInPom(Dependency dependency) {
            return "Dependency: " + ArtifactUtils.versionlessKey(dependency.getGroupId(), dependency.getArtifactId());
        }
    
        public Dependency getDependency() {
            return dependency;
        }
    
        public String getProjectId() {
            return projectId;
        }
    
        public File getPomFile() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
    
            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getClassifier(),
                    null,
                    dependency.getVersion(),
                    props,
                    stereotype);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                            .filter(project -> firstFailedProject.getArtifactId().equals(project.getArtifactId()))
                            .count()
                    > 1;
    
            if (hasOverlappingArtifactId) {
                return firstFailedProject.getGroupId() + ":" + firstFailedProject.getArtifactId();
            }
    
            return ":" + firstFailedProject.getArtifactId();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                MavenProject project = event.getProject();
    
                logger.info("");
    
                // -------< groupId:artifactId >-------
                String projectKey = project.getGroupId() + ':' + project.getArtifactId();
    
                final String preHeader = "--< ";
                final String postHeader = " >--";
    
                final int headerLen = preHeader.length() + projectKey.length() + postHeader.length();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top