Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for setArtifact (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException {
            return retrieveAvailableVersions(
                    request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            try {
                ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
                ArtifactVersion version2 = node2.getArtifact().getSelectedVersion();
    
                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
            if (!ArtifactIdUtils.equalsVersionlessId(pomArtifact, projectArtifact)) {
                result.add(session.getArtifact(ProducedArtifact.class, projectArtifact));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java

        //
        // Retriever
        //
        void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException;
    
        void getArtifact(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
                            relocation.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                @Override
                public Artifact getArtifact() {
                    org.apache.maven.artifact.Artifact artifact =
                            delegate.getMojoDescriptor().getPluginDescriptor().getPluginArtifact();
                    org.eclipse.aether.artifact.Artifact resolverArtifact = RepositoryUtils.toArtifact(artifact);
                    return resolverArtifact != null ? session.getArtifact(resolverArtifact) : null;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            this.project = project;
    
            artifact.setFile(project.getArtifact().getFile());
            artifact.setResolved(true);
        }
    
        /** {@inheritDoc} */
        public File getFile() {
            // we need to get the latest file for the project, not the artifact that was created at one point in time
            return project.getArtifact().getFile();
        }
    
        /** {@inheritDoc} */
        public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Model model = new Model();
    
            model.addDependency( dep );
    
            MavenProject project = new MavenProject( model, repositorySystem );
    
            project.setArtifacts( project.createArtifacts( null ) );
    
            String key = ArtifactUtils.versionlessKey( groupId, artifactId );
    
            Map artifactMap = project.getArtifactMap();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/CyclicDependencyException.java

        private Artifact artifact;
    
        public CyclicDependencyException(String message, Artifact artifact) {
            super(message, artifact);
            this.artifact = artifact;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

    abstract class FindGradleJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 11 12:20:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top