Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 47 for POMs (0.04 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    @Deprecated
    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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        private int totalPoms = 0;
    
        public static void main(String[] args) throws Exception {
            if (args.length < 1) {
                System.out.println("Usage: PomMemoryAnalyzer <directory-with-poms>");
                System.exit(1);
            }
    
            Path rootDir = Paths.get(args[0]);
            PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
            MavenStaxReader reader = new MavenStaxReader();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
        Optional<Boolean> infer();
    
        /**
         * Should fix Maven 4 compatibility issues in POMs.
         * This includes fixing unsupported combine attributes, duplicate dependencies,
         * unsupported expressions, and other Maven 4 validation issues.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    public interface UpgradeStrategy {
    
        /**
         * Applies the upgrade strategy to all eligible POMs.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingRequest {
    
        /**
         * Denotes minimal validation of POMs. This validation level is meant for processing of POMs from repositories
         * during metadata retrieval.
         */
        int VALIDATION_LEVEL_MINIMAL = 0;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

             * 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
             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
    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)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Inliner POM transformer. The goal of this transformer is to fix Maven 3 issue about emitting (installing, deploying)
     * unusable POMs when using CI Friendly Versions.
     *
     * @since TBD
     */
    @Singleton
    @Named
    class PomInlinerTransformer extends TransformerSupport {
        private final Interpolator interpolator;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

        private static String getArchivesBaseName(ExtensionContainer extensions) {
            return extensions.getByType(BasePluginExtension.class).getArchivesName().get();
        }
    
        /**
         * Configuration generation of maven poms.
         */
        private void configurePomGeneration(Project project) {
            var gitInfo = project.getRootProject().getPlugins().apply(GitInfoPlugin.class).getGitInfo();
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        @Override
        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
            if (consumerPomPresent(request.getArtifacts())) {
                // For install, we always include build POMs as they may be needed locally
                request.setArtifacts(replacePom(request.getArtifacts(), true));
            }
            return request;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.SourceQueries;
    import org.eclipse.aether.RepositorySystemSession;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Builds consumer POMs from project models, transforming them into a format suitable for downstream consumers.
     * <p>
     * A consumer POM is a simplified version of a project's POM that is published for consumption by other projects.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
Back to Top