Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for versionlessKey (0.06 sec)

  1. 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)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            MavenProject project = new MavenProject( model, repositorySystem );
    
            project.setArtifacts( project.createArtifacts( null ) );
    
            String key = ArtifactUtils.versionlessKey( groupId, artifactId );
    
            Map artifactMap = project.getArtifactMap();
    
            assertNotNull( artifactMap, "artifact-map should not be null." );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

            this.cause = cause;
    
            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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        public boolean isBlackListed(MavenProject project) {
            return blackList.contains(getProjectKey(project));
        }
    
        private static String getProjectKey(MavenProject project) {
            return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        public void setDependencyNode(DependencyNode dependencyNode) {
            this.dependencyNode = dependencyNode;
        }
    
        /**
         * The map of artifacts accessible by the versionlessKey, i.e. groupId:artifactId
         *
         * @return a Map of artifacts, never {@code null}
         * @see #getArtifacts()
         */
        public Map<String, Artifact> getArtifactMap() {
            if (artifactMap == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top