Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for setVersions (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
            return result;
        }
    
        private Map<String, ArtifactRepository> getVersions(
                RepositorySystemSession session, VersionRangeResult result, VersionRangeRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            public ProjectBuilder setArtifactId(String artifactId) {
                project.setArtifactId(artifactId);
                return this;
            }
    
            public ProjectBuilder setVersion(String version) {
                project.setVersion(version);
                return this;
            }
    
            // Dependencies
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
                            getRepository(session, request.getRepositories(), record.repoClass, record.repoId));
                    return result;
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            Collection<String> versions = new LinkedHashSet<>();
    
            if ((repoMetadata != null) && (repoMetadata.getVersioning() != null)) {
                versions.addAll(repoMetadata.getVersioning().getVersions());
            }
    
            versions.addAll(availableVersions);
    
            List<ArtifactVersion> artifactVersions = new ArrayList<>(versions.size());
    
            for (String version : versions) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
            assertEquals("1.0-SNAPSHOT", target.getVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        public PluginDescriptor() {}
    
        public PluginDescriptor(PluginDescriptor original) {
            this.setGroupId(original.getGroupId());
            this.setArtifactId(original.getArtifactId());
            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
            this.setInheritedByDefault(original.isInheritedByDefault());
            this.setName(original.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

        public void mergeVersion()
        {
            Model target = new Model();
            target.setVersion( "TARGET" );;
    
            Model source = new Model();
            source.setVersion( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getVersion(), is( "SOURCE" ) );
    
            target.setVersion( "TARGET" );;
            modelMerger.merge( target, source, false, null );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionBean.java

                }
                if (timeoutInMillis != -1) {
                    builder.setTimeout(new TimeValue(timeoutInMillis));
                }
                if (version != null) {
                    builder.setVersion(version);
                }
                if (seqNoAndPrimaryTerm != null) {
                    builder.seqNoAndPrimaryTerm(seqNoAndPrimaryTerm);
                }
                if (terminateAfter > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    setVersioning( v );
                    changed = true;
                }
    
                for ( String version : versioning.getVersions() )
                {
                    if ( !v.getVersions().contains( version ) )
                    {
                        changed = true;
                        v.getVersions().add( version );
                    }
                }
    
                if ( "null".equals( versioning.getLastUpdated() ) )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project = new Project();
            project.setModelVersion("4.0.0");
            project.setGroupId("org.apache.maven");
            project.setArtifactId("maven-core");
            project.setName("Maven");
            project.setVersion("2.0-SNAPSHOT");
            project.setScm(new Scm());
            project.getScm().setConnection("scm-connection");
            project.addDependency(dependency1);
            project.addDependency(dependency2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top