Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 534 for poms (0.03 seconds)

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

            assertNotNull(builder);
            File pom = getPom("simple");
    
            String originalExists =
                    readPom(pom).getProfiles().get(1).getActivation().getFile().getExists();
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(pom);
            ModelBuildingResult result = builder.build(request);
    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

    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
    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

        /**
         * Returns the target POM model version for upgrades.
         * Supported values include "4.0.0" and "4.1.0".
         *
         * @return an {@link Optional} containing the model version, or empty if not specified
         */
        @Nonnull
        Optional<String> modelVersion();
    
        /**
         * Returns the directory to use as starting point for POM discovery.
         * If not specified, the current directory will be used.
    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

     * // 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
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
    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

        /**
         * Gets the POM file of the project to build.
         *
         * @return The POM file of the project or {@code null} if not applicable (i.e. when processing a POM from the
         *         repository).
         */
        File getPomFile();
    
        /**
         * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make
    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
    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 org.eclipse.aether.installation.InstallRequest;
    
    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 {
    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/DefaultConsumerPomBuilder.java

            if (!flattenEnabled) {
                // When flattening is disabled, treat non-POM projects like parent POMs
                // Apply only basic transformations without flattening dependency management
                // However, BOMs still need special handling to transform packaging from "bom" to "pom"
                if (isBom) {
                    return buildBomWithoutFlatten(session, project, src);
                } else {
    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)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                    }
                    // If deployBuildPom is false, we simply don't add the build POM to the result
                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    // Replace the consumer POM as the main POM (no classifier)
                    result.add(new DefaultArtifact(
                            consumer.getGroupId(),
    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)
Back to Top