Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setConnection (0.09 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-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)
Back to top