Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for getArtifacts (0.09 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list");
            assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version");
            assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            assertEquals(2, result.getArtifacts().size());
    
            assertTrue(result.getArtifacts().contains(g));
    
            assertTrue(result.getArtifacts().contains(h));
    
            assertLocalArtifactPresent(g);
    
            assertLocalArtifactPresent(h);
        }
    
        @Test
        void
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                request.setArtifacts(replacePom(request.getArtifacts()));
            }
            return request;
        }
    
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
            if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * are NOT recommended (code like {@code "pom".equals(project.getPackaging)} must be avoided). Use method
         * {@link #getArtifacts()} to gain access to POM or build artifact.
         *
         * @see #getArtifacts()
         */
        @Nonnull
        Packaging getPackaging();
    
        /**
         * Returns the project language. It is by default determined by {@link #getPackaging()}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RemoteRepository getRepository();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        int getRetryFailedDeploymentCount();
    
        @Nonnull
        static ArtifactDeployerRequestBuilder builder() {
            return new ArtifactDeployerRequestBuilder();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactInstallerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        @Nonnull
        static ArtifactInstallerRequestBuilder builder() {
            return new ArtifactInstallerRequestBuilder();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
                        request.getArtifact(),
                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    this.timestamp = -1;
                }
            }
    
            public Artifact getArtifact() {
                return pomArtifact;
            }
    
            public Artifact getRelocatedArtifact() {
                return relocatedArtifact;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            public Map<String, Artifact> getManagedVersions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top