Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for cout (0.41 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Map map = project1.getArtifactMap();
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                }
    
                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

            if (prerequisites != null) {
                properties.put("prerequisites.maven", prerequisites.getMaven());
            }
    
            List<License> licenses = model.getLicenses();
            properties.put("license.count", licenses.size());
            for (int i = 0; i < licenses.size(); i++) {
                License license = licenses.get(i);
                properties.put("license." + i + ".name", license.getName());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
            if (warnAboutCleanup) {
                System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!");
            }
        }
    
        public void markForDeletion(File toDelete) {
            filesToDelete.add(toDelete);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * builds an empty map.
         *
         * <p>If the {@code resolve} parameter value is {@code false}, then some or all map values may
         * be null instead of the actual module name. This option can avoid the cost of reading module
         * descriptors when only the modules existence needs to be verified.</p>
         *
         * <p><b>Algorithm:</b>
         * If the given path is a directory, then there is a choice:
         * </p>
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<MetadataGeneratorFactory> factories = plexusContainer.lookupList(MetadataGeneratorFactory.class);
            assertNotNull(factories);
            factories.forEach(f -> System.out.println(f.getClass().getName()));
            assertEquals(3, factories.size());
        }
    
        @Test
        void testProjectDependencies() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    outsidePlugins,
                    "plugin-all-profiles",
                    "Outside ||${project.basedir}||",
                    "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>");
    
            // =============================================
            Profile activeProfile = originalModel.getProfiles().stream()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            if (extensionRecord == null) {
                ClassRealm extensionRealm = classRealmManager.createExtensionRealm(plugin, toAetherArtifacts(artifacts));
    
                // TODO figure out how to use the same PluginDescriptor when running mojos
    
                PluginDescriptor pluginDescriptor = null;
                if (plugin.isExtensions() && !artifacts.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top