Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for 10 (0.12 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> paths = session.resolveDependencies(coord);
    
            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
    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)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         */
        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
            String b = "1234567890.12345"; // 10 digit number
            String c = "123456789012345.1H.5-beta"; // 15 digit number
            String d = "12345678901234567890.1H.5-beta"; // 20 digit number
    
            checkVersionsOrder(a, b);
            checkVersionsOrder(b, c);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGeneratorFactory.java

            return new PluginsMetadataGenerator(session, request);
        }
    
        @SuppressWarnings("checkstyle:magicnumber")
        @Override
        public float getPriority() {
            return 10; // G level MD should be deployed as 3rd MD
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

         * node is in the first level pom
         */
        int UPDATE_SCOPE_CURRENT_POM = 9;
    
        int SELECT_VERSION_FROM_RANGE = 10;
    
        int RESTRICT_RANGE = 11;
    
        int MANAGE_ARTIFACT_VERSION = 12;
    
        int MANAGE_ARTIFACT_SCOPE = 13;
    
        int MANAGE_ARTIFACT_SYSTEM_PATH = 14;
    
        void testArtifact(Artifact node);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .property(ap)
                    .os(ao)
                    .packaging("pom")
                    .build();
            Map<String, String> props = new HashMap<>();
            int count = entropy.nextInt(10);
            for (int i = 0; i < count; i++) {
                props.put("name" + Long.toHexString(entropy.nextLong()), "value" + Long.toHexString(entropy.nextLong()));
            }
            count = entropy.nextInt(3);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.sisu.Priority;
    
    /**
     */
    @Named
    @Singleton
    @Priority(10)
    @Deprecated
    public class TestRepositorySystem implements RepositorySystem {
    
        private final ModelReader modelReader;
    
        private final ArtifactFactory artifactFactory;
    
        public TestRepositorySystem() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

             */
    
            public void waitUntilRunning(boolean expect) {
                while (!running == expect) {
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        throw new RuntimeException(e);
                    }
                }
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @Test
        void testFullInterpolationOfNestedExpressions() throws Exception {
            PomTestWrapper pom = buildPom("full-interpolation");
            for (int i = 0; i < 24; i++) {
                String index = ((i < 10) ? "0" : "") + i;
                assertEquals("PASSED", pom.getValue("properties/property" + index));
            }
        }
    
        @Test
        void testInterpolationWithBasedirAlignedDirectories() throws Exception {
    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/DefaultMaven.java

        // part of getting the reactor projects in 6). The duplicate checking is conflated with getProjectMap(projects).
        //
        // 9) Execute AbstractLifecycleParticipant.afterProjectsRead(session)
        //
        // 10) Create ProjectDependencyGraph without trimming (as trimming was done in 7). A new topological sort is
        // required after the execution of 9) as the AbstractLifecycleParticipants are free to mutate the MavenProject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top