Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for setVersion (0.1 sec)

  1. 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)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        resolve(result, infos, RELEASE);
                    }
    
                    if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) {
                        VersionRequest subRequest = new VersionRequest();
                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            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());
        }
        /*--- END test common metadata ---*/
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            }
    
            public void setArtifactId(String artifactId) {
                this.artifactId = artifactId;
            }
    
            public String getVersion() {
                return version;
            }
    
            public void setVersion(String version) {
                this.version = version;
            }
    
            public String getExtension() {
                return extension;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/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)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    versionRequest.setTrace(trace);
                    VersionResult versionResult = versionResolver.resolveVersion(session, versionRequest);
    
                    a = a.setVersion(versionResult.getVersion());
    
                    versionRequest =
                            new VersionRequest(pomArtifact, request.getRepositories(), request.getRequestContext());
                    versionRequest.setTrace(trace);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top