Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for getArtifact (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
                request.setArtifact(new ProjectArtifact(project));
                request.setArtifactDependencies(project.getDependencyArtifacts());
                request.setManagedVersionMap(project.getManagedVersionMap());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

            requestB.addRepository(newTestRepository());
            Artifact artifactB =
                    new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT");
            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
            assertEquals("07.20.3-20120809.112920-97", resultB.getVersion());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

    /**
     * The Artifact Result
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolverResult {
        /**
         * @return {@link Artifact}
         */
        @Nonnull
        Collection<DownloadedArtifact> getArtifacts();
    
        @Nullable
        Path getPath(Artifact artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            field.set(reader, eventDispatcher);
    
            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
    
            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

            this.remoteRepositories = remoteRepositories;
        }
    
        public Artifact getOriginatingArtifact() {
            return originatingArtifact;
        }
    
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top