Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setScm (0.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            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);
            project.setBuild(new Build());
    
            // Build up an artifactMap
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            System.out.println(
                    "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection());
    
            assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1");
            assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1");
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

        public void normalize(Model model, ModelBuildingRequest request) {
            if (model == null) {
                return;
            }
    
            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()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (1)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

            // Value taken from p1
            // ----------------------------------------------------------------------
    
            assertEquals("scm-url/p2/p3/p4", p4.getScm().getUrl());
    
            // ----------------------------------------------------------------------
            // Value taken from p4
            // ----------------------------------------------------------------------
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return useReactor;
        }
    
        /** @deprecated use {@link #setPom(File)} */
        @Deprecated
        public MavenExecutionRequest setPomFile(String pomFilename) {
            if (pomFilename != null) {
                pom = new File(pomFilename);
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setPom(File pom) {
            this.pom = pom;
    
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

        }
    
        public Plugin getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project) {
            PluginPrefixRequest request = new DefaultPluginPrefixRequest(prefix, session);
            request.setPom(project.getModel());
    
            try {
                PluginPrefixResult result = pluginPrefixResolver.resolve(request);
    
                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // Value taken from p1
            // ----------------------------------------------------------------------
    
            assertEquals("scm-url/p2/p3/p4", project4.getScm().getUrl());
    
            // ----------------------------------------------------------------------
            // Value taken from p4
            // ----------------------------------------------------------------------
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        }
    
        protected MavenExecutionRequest createMavenExecutionRequest(File pom) throws Exception {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setPom(pom)
                    .setProjectPresent(true)
                    .setShowErrors(true)
                    .setPluginGroups(Arrays.asList("org.apache.maven.plugins"))
                    .setLocalRepository(getLocalRepository())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        int getDegreeOfConcurrency();
    
        // Recursive (really to just process the top-level POM)
        MavenExecutionRequest setRecursive(boolean recursive);
    
        boolean isRecursive();
    
        MavenExecutionRequest setPom(File pom);
    
        File getPom();
    
        // Errors
        MavenExecutionRequest setShowErrors(boolean showErrors);
    
        boolean isShowErrors();
    
        // Transfer listeners
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top