Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 437 for artifactId (0.11 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

     * <li>Check Local Repository: Maven first checks if the artifact is available in the local repository.</li>
     * <li>Check Remote Repositories: If the artifact is not found locally, Maven queries the configured remote repositories in the order they are listed.</li>
     * <li>Download and Cache: If Maven finds the artifact in a remote repository, it downloads it and stores it in the local repository for future use.</li>
     * </ol>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                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.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     * </ul>
     *
     * <p>For the main artifact and attached artifacts, the
     * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used
     * to point the artifact to a {@link Path} during the packaging phase.</p>
     *
     * @since 4.0.0
     * @see Project#getMainArtifact()
     * @see Project#getPomArtifact()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
            assertNotNull(map, "No artifacts");
            assertFalse(map.isEmpty(), "No Artifacts");
            assertTrue(map.size() == 3, "Set size should be 3, is " + map.size());
    
            Artifact a = (Artifact) map.get("maven-test:t10-a");
            Artifact b = (Artifact) map.get("maven-test:t10-b");
            Artifact c = (Artifact) map.get("maven-test:t10-c");
    
            assertNotNull(a);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public void addArtifact(Artifact artifact) {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            return artifacts;
        }
    
        public void setArtifacts(Set<Artifact> artifacts) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                assertFalse(artifact.getArtifactId().equals("t07-d"));
                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
    - 3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
        private List<ArtifactRepository> remoteRepositories;
    
        public UnresolvedArtifacts(
                Artifact originatingArtifact, List<Artifact> artifacts, List<ArtifactRepository> remoteRepositories) {
            this.originatingArtifact = originatingArtifact;
    
            this.artifacts = artifacts;
    
            this.remoteRepositories = remoteRepositories;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return this;
        }
    
        public void addArtifact(Artifact artifact) {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void addRequestedArtifact(Artifact artifact) {
            if (requestedArtifacts == null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            attachArtifact(project, artifact, path);
        }
    
        /**
         * Attaches a produced artifact to the project at the specified path. This is the base method
         * that the other attachArtifact methods delegate to.
         *
         * @param project the project to attach the artifact to
         * @param artifact the produced artifact to attach
         * @param path the path to the artifact file
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top