Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 369 for Artifacts (0.13 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

        /**
         * Retrieves the file system path associated with a specific artifact.
         *
         * @param artifact The {@link Artifact} whose path is to be retrieved.
         * @return The {@link Path} to the artifact, or {@code null} if unavailable.
         */
        @Nullable
        Path getPath(@Nonnull Artifact artifact);
    
        /**
         * Returns a mapping of artifact coordinates to their corresponding resolution results.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. compat/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;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     * or similar ad-hoc collections of artifacts. This repository is considered read-only
     * within the context of a session, meaning it can only be used for artifact resolution,
     * not for installation or deployment. This interface does not provide direct access
     * to artifacts; that functionality is handled by a {@code WorkspaceReader}.
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Resolves the artifact, i.e. download the file when required and attach it to the artifact
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            List<ProducedArtifact> artifacts = getArtifacts();
            return artifacts.size() == 2 ? Optional.of(artifacts.get(1)) : Optional.empty();
        }
    
        /**
         * {@return the project artifacts as immutable list}. Elements are the project POM artifact and the artifact
         * produced by this project build, if applicable. Hence, the returned list may have one or two elements
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

         */
        void deploy(@Nonnull ArtifactDeployerRequest request);
    
        /**
         * @param session the repository session
         * @param repository the repository to deploy to
         * @param artifacts the collection of artifacts to deploy
         * @throws ArtifactDeployerException if the deployment failed
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        default void deploy(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.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.ArtifactMetadataRetrievalException;
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.metadata.ResolutionGroup;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertFalse(map.isEmpty(), "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top