Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for getPom (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                throws MavenExecutionException {
            if (request.getPom() == null) {
                return projects;
            }
    
            MavenProject requestPomProject = projects.stream()
                    .filter(project -> request.getPom().equals(project.getFile()))
                    .findFirst()
                    .orElseThrow(() -> new MavenExecutionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            writer = new DefaultModelWriter();
            assembler = new DefaultInheritanceAssembler();
        }
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/inheritance/" + name + ".xml");
        }
    
        private Model getModel(String name) throws IOException {
            return reader.read(getPom(name), null).getDelegate();
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

    /**
     */
    class DefaultModelBuilderFactoryTest {
    
        private static final String BASE_DIR =
                Paths.get("src", "test", "resources", "poms", "factory").toString();
    
        private File getPom(String name) {
            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
        }
    
        private void baseDirectory(MavenExecutionRequest request) {
            if (request.getBaseDirectory() == null && request.getPom() != null) {
                request.setBaseDirectory(request.getPom().getAbsoluteFile().getParentFile());
            }
        }
    
        /*if_not[MAVEN4]*/
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (!optSelectedProject.isPresent()) {
                    String message = "Could not find the selected project in the reactor: " + selector;
                    throw new MavenExecutionException(message, request.getPom());
                }
    
                MavenProject selectedProject = optSelectedProject.get();
    
                selectedProjects.add(selectedProject);
                selectedProjects.addAll(getChildProjects(selectedProject, request));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setGoals(original.getGoals());
            copy.setRecursive(original.isRecursive());
            copy.setPom(original.getPom());
            copy.setSystemProperties(original.getSystemProperties());
            copy.setUserProperties(original.getUserProperties());
            copy.setShowErrors(original.isShowErrors());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // 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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setTopDirectory(cliRequest.topDirectory);
            request.setPom(determinePom(commandLine, workingDirectory, baseDirectory));
            request.setTransferListener(determineTransferListener(quiet, verbose, commandLine, request));
            request.setExecutionListener(determineExecutionListener());
    
            if ((request.getPom() != null) && (request.getPom().getParentFile() != null)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  10. 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)
Back to top