Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 523 for Pom (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * for building a project in a specific environment.</p>
     *
     * <p>Toolchains are defined in the Maven toolchains.xml file and can be
     * referenced in the project's POM file. This allows for greater flexibility
     * and control over the build environment, enabling developers to specify
     * the exact versions of tools they wish to use.</p>
     *
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    if (!"pom".equals(dependency.getType())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                Version.V20,
                                prefix + prefix2 + "type",
                                key,
                                "must be 'pom' to import the managed dependencies.",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

        versionMapping {
            usage("java-api") {
                fromResolutionResult()
            }
            usage("java-runtime") {
                fromResolutionResult()
            }
        }
    
        pom {
            packaging = "jar"
            name = gradleModule.identity.baseName.map { "${project.group}:$it" }
        }
    }
    
    fun publishNormalizedToLocalRepository() {
        val localRepository = layout.buildDirectory.dir("repo")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * inside a POM in order to provide Mojo-specific configuration.
         */
        private String goal;
    
        /**
         * Defines a default phase to bind a mojo execution to if the user does not explicitly set a phase in the POM.
         * <i>Note:</i> This will not automagically make a mojo run when the plugin declaration is added to the POM. It
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

    import org.apache.maven.api.model.Model;
    
    /**
     * Interface for model transformers that can modify Maven project models at different stages of processing.
     * <p>
     * Model transformers allow plugins and extensions to modify the POM model during the build process.
     * Transformations can be applied at three different stages:
     * <ol>
     *   <li>File model - The raw model as read directly from the file</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                if (buildExecutionRequiresProject(session) && projectIsNotPresent(session)) {
                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                            + " Please verify you invoked Maven from the correct directory.");
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                if (metadata instanceof ProjectArtifactMetadata projectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile());
                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. apache-maven/src/assembly/maven/bin/mvn.cmd

    @REM Fallback to current working directory if not found.
    
    set "EXEC_DIR=%CD%"
    set "WDIR=%EXEC_DIR%"
    
    @REM Look for the --file switch and start the search for the .mvn directory from the specified
    @REM POM location, if supplied.
    
    set FILE_ARG=
    :arg_loop
    if "%~1" == "-f" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    if "%~1" == "--file" (
      set "FILE_ARG=%~2"
      shift
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

        }
    
        @Override
        public Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope) {
            return createArtifact(groupId, artifactId, version, scope, "pom");
        }
    
        @Override
        public Artifact createExtensionArtifact(String groupId, String artifactId, VersionRange versionRange) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top