Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getConfigProperties (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
                Path buildDir =
                        project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null;
                if (buildDir != null) {
                    Files.createDirectories(buildDir);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

        }
    
        private RepositorySystemSession createMockSession(Map<String, Object> configProperties) {
            RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class);
            when(session.getConfigProperties()).thenReturn(configProperties);
            return session;
        }
    
        private DeployRequest createDeployRequestWithConsumerPom() {
            DeployRequest request = new DeployRequest();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                        .orElse(null);
            }
        }
    
        private Relocations parseRelocations(RepositorySystemSession session) {
            String relocationsEntries = (String) session.getConfigProperties().get(CONFIG_PROP_RELOCATIONS_ENTRIES);
            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                throws ModelBuilderException {
            Model model = project.getModel().getDelegate();
            boolean flattenEnabled = Features.consumerPomFlatten(session.getConfigProperties());
            String packaging = model.getPackaging();
            String originalPackaging = project.getOriginalModel().getPackaging();
    
            // Check if this is a BOM (original packaging is "bom")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top