Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 72 for setPom (0.06 seconds)

  1. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

                }
            });
            var projectLicenses = (MapProperty<String, String>) project.getExtensions().getExtraProperties().get("projectLicenses");
            publication.getPom().withXml(xml -> {
                var node = xml.asNode();
                node.appendNode("inceptionYear", "2009");
                var licensesNode = node.appendNode("licenses");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  3. 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;
    
    /**
     */
    @Deprecated
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    @ThreadSafe
    public interface Mojo {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (!requiredSelectors.isEmpty()) {
                    throw new MavenExecutionException(
                            "The requested required projects " + requiredSelectors + " do not exist.", request.getPom());
                } else {
                    String optionalSelectors = unresolvedSelectors.stream()
                            .map(ProjectActivation.ProjectActivationSettings::selector)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantExtension.java

            this.isWindowsVM = false;
        }
    
        @Input
        public String getBox() {
            return box.get();
        }
    
        public void setBox(String box) {
            // TODO: should verify this against the Vagrantfile, but would need to do so in afterEvaluate once vagrantfile is unmodifiable
            this.box.set(box);
        }
    
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * reflection, dynamic loading, etc. and understand how the library works internally.
     * These changes might break things in subtle ways otherwise.
     */
    val keepPatterns = mapOf(
        "it.unimi.dsi:fastutil" to setOf(
            // For persistence cache
            "it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap",
            // For Java compilation incremental analysis
            "it.unimi.dsi.fastutil.ints.IntOpenHashSet",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 18:27:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    import java.time.LocalDateTime
    import java.time.ZoneId
    import java.util.jar.JarFile
    import java.util.jar.JarOutputStream
    import java.util.zip.ZipEntry
    
    
    private
    val ignoredPackagePatterns = PackagePatterns(setOf("java"))
    
    
    // See explanation in `org.gradle.api.internal.file.archive.ZipEntryConstants#CONSTANT_TIME_FOR_ZIP_ENTRIES`
    private
    val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            XmlNode executionConfiguration = mojoExecution.getConfiguration() != null
                    ? mojoExecution.getConfiguration().getDom()
                    : null;
            if (executionConfiguration == null) {
                executionConfiguration = XmlNode.newInstance("configuration");
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. 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());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
Back to Top