Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setConnection (0.07 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

            }
    
            model.setUrl(normalize(model.getUrl()));
    
            Scm scm = model.getScm();
            if (scm != null) {
                scm.setUrl(normalize(scm.getUrl()));
                scm.setConnection(normalize(scm.getConnection()));
                scm.setDeveloperConnection(normalize(scm.getDeveloperConnection()));
            }
    
            DistributionManagement dist = model.getDistributionManagement();
            if (dist != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (1)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Scm().toString());
        }
    
        public void testToStringNotNonsense() {
            Scm scm = new Scm();
            scm.setConnection("scm:git:git://git.localdomain/model");
    
            String s = scm.toString();
    
            assertEquals("Scm {connection=scm:git:git://git.localdomain/model}", s);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                artifactId = id;
            }
        }
    
        public static class Scm {
            private String connection;
    
            public void setConnection(String connection) {
                this.connection = connection;
            }
    
            public String getConnection() {
                return connection;
            }
        }
    
        public static class ValueHolder {
            private final Object value;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println();
            System.out.println("Parent SCM connection is: " + project0.getScm().getConnection());
            System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
            System.out.println();
            System.out.println(
                    "Parent SCM developer connection is: " + project0.getScm().getDeveloperConnection());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
    
            assertProblemFree(collector);
            assertEquals("${test}/somepath", out.getScm().getConnection());
        }
    
        @Test
        public void testShouldThrowExceptionOnRecursiveScmConnectionReference() throws Exception {
            Scm scm = Scm.newBuilder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

              <version>4.0.0+</version>
              <code>
                <![CDATA[
        /**
         * @see java.lang.Object#toString()
         */
        public String toString() {
            return "Scm {connection=" + getConnection() + "}";
        }
                ]]>
              </code>
            </codeSegment>
          </codeSegments>
        </class>
        <class>
          <name>FileSet</name>
          <version>3.0.0+</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top