Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for setPom (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setGlobalChecksumPolicy(determineGlobalChecksumPolicy(context));
    
            Path pom = determinePom(context);
            if (pom != null) {
                request.setPom(pom.toFile());
                if (pom.getParent() != null) {
                    request.setBaseDirectory(pom.getParent().toFile());
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdScp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdSftp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.gradleProfiler, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.samplesCheck, setOf("slf4j-simple"))
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top