Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 471 for artifactId (0.21 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) {
            Map<String, Artifact> artifactMap = new LinkedHashMap<>();
    
            if (artifacts != null) {
                for (Artifact artifact : artifacts) {
                    artifactMap.put(versionlessKey(artifact), artifact);
                }
            }
    
            return artifactMap;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            Artifact artifact1 = new DefaultArtifact(
                    groupId, artifactId, VersionRange.createFromVersion("5.0"), scope, type, classifier, artifactHandler);
            Artifact artifact2 = new DefaultArtifact(
                    groupId, artifactId, VersionRange.createFromVersion("12.0"), scope, type, classifier, artifactHandler);
    
            assertTrue(artifact1.compareTo(artifact2) < 0);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon May 22 19:19:33 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

        }
    
        /**
         * The groupId of the artifact.
         *
         * @return the groupId
         */
        @Nonnull
        String getGroupId();
    
        /**
         * The artifactId of the artifact.
         *
         * @return the artifactId
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * The version of the artifact.
         *
         * @return the version
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Map artifactMap = project.getArtifactMap();
    
            assertNotNull( artifactMap, "artifact-map should not be null." );
            assertEquals( 1, artifactMap.size(), "artifact-map should contain 1 element." );
    
            Artifact artifact = (Artifact) artifactMap.get( key );
    
            assertNotNull( artifact, "dependency artifact not found in map." );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java

                this.groupId = groupId;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder artifactId(String artifactId) {
                this.artifactId = artifactId;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder version(String version) {
                this.version = version;
                return this;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolverException.java

            this.artifactId = (artifactId != null) ? artifactId : "";
            this.version = (version != null) ? version : "";
        }
    
        /**
         * Creates a new exception with specified detail message.
         *
         * @param message The detail message, may be {@code null}.
         * @param groupId The group id of the unresolvable model, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            final String groupId;
    
            private final String artifactId;
    
            private final String goalPrefix;
    
            private final String name;
    
            PluginInfo(String groupId, String artifactId, String goalPrefix, String name) {
                this.groupId = groupId;
                this.artifactId = artifactId;
                this.goalPrefix = goalPrefix;
                this.name = name;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        }
    
        @Override
        public CacheRecord put(Key key, Set<Artifact> projectArtifacts) {
            Objects.requireNonNull(projectArtifacts, "projectArtifacts cannot be null");
            assertUniqueKey(key);
    
            SetWithResolutionResult artifacts;
            if (projectArtifacts instanceof SetWithResolutionResult) {
                artifacts = (SetWithResolutionResult) projectArtifacts;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
            super(message, artifact, remoteRepositories);
        }
    
        public ArtifactNotFoundException(String message, Artifact artifact) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = Parent.newBuilder()
                    .groupId("org.apache")
                    .artifactId("apache")
                    .version("[2.0,2.1)")
                    .build();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top