Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for artifactId (0.24 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 Apr 28 03:35:10 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 Apr 28 03:35:10 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/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.artifact.repository.Authentication;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  5. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                List<Plugin> plugins, String artifactId, String expectedId, String expectedConfig) {
            Plugin plugin = plugins.stream()
                    .filter(p -> p.getArtifactId().equals(artifactId))
                    .findFirst()
                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @param artifact the artifact for which to get a path
         * @return path associated to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        Optional<Path> getArtifactPath(@Nonnull Artifact artifact);
    
        /**
         * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            String groupId = artifact.getGroupId();
            String artifactId = artifact.getArtifactId();
            String version = artifact.getBaseVersion();
            String classifier = artifact.getClassifier();
            String extension = artifact.getExtension();
            Path repo = getProjectLocalRepo();
            return repo.resolve(groupId)
                    .resolve(artifactId)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top