Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 603 for POM (0.01 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelValidator {
    
        /**
         * Checks the specified (raw) model for missing or invalid values. The raw model is directly created from the POM
         * file and has not been subjected to inheritance, interpolation or profile/default injection.
         *
         * @param model The model to validate, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Holds all POM files that are known to the reactor. This allows the project builder to resolve imported POMs from the
     * reactor when building another project's effective model.
     */
    class ReactorModelPool {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

                String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause) {
            super(
                    projectId + ", " + formatLocationInPom(dependency) + " " + dependency.getVersion() + ", pom file "
                            + pomFile,
                    cause);
    
            this.projectId = projectId;
    
            this.pomFile = pomFile;
    
            this.cause = cause;
    
            this.dependency = dependency;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingRequest;
    
    /**
     * Strategy to collect projects for building when the Maven invocation is not in a directory that contains a pom.xml.
     */
    @Named("PomlessCollectionStrategy")
    @Singleton
    public class PomlessCollectionStrategy implements ProjectCollectionStrategy {
        private final ProjectBuilder projectBuilder;
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

                "project",
                "reactorProjects",
                "session",
                "settings");
    
        private static final List<String> IGNORED_PROPERTY_PREFIX =
                Arrays.asList("mojo.", "pom.", "plugin.", "project.", "session.", "settings.");
    
        protected AbstractMavenPluginDescriptorSourcedParametersValidator(PluginValidationManager pluginValidationManager) {
            super(pluginValidationManager);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PLUGIN;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.VERSION;
    
    /**
     * Utility class for XML operations on Maven POM files.
     *
     * <p>This class provides convenience methods that delegate to:
     * <ul>
     * <li>{@link eu.maveniverse.domtrip.maven.PomEditor} - DomTrip's PomEditor</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        // <plugin/> block in a Maven POM. We have to do some wiggling to pull the sources of information
        // together and this really shows the problem of constructing a sensible default configuration, but
        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugins in the default lifecycle and create
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Plugins.MAVEN_PLUGIN_PREFIX;
    
    /**
     * Strategy for applying Maven 4 compatibility fixes to POM files.
     * Fixes issues that prevent POMs from being processed by Maven 4.
     */
    @Named
    @Singleton
    @Priority(20)
    public class CompatibilityFixStrategy extends AbstractUpgradeStrategy {
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

    class MavenModelVersionTest {
    
        private static Model model;
    
        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

    /**
     */
    class CanonicalProjectBuilderTest extends AbstractMavenProjectTestCase {
        @Test
        void testProjectBuilder() throws Exception {
            File f = getFileForClasspathResource("canonical-pom.xml");
    
            MavenProject project = getProject(f);
    
            // ----------------------------------------------------------------------
            // Top-level elements
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top