Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for getPhase (0.13 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    // if the phase is specified then I don't have to go fetch the plugin yet and pull it down
                    // to examine the phase it is associated to.
                    String phase = execution.getPhase();
                    if (aliases.containsKey(phase)) {
                        phase = aliases.get(phase);
                    }
                    if (phase != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertTrue(md.isProjectRequired(), "Expected " + md + ".isProjectRequired() to return true");
            assertFalse(md.isThreadSafe(), "Expected " + md + ".isThreadSafe() to return false");
            assertEquals("package", md.getPhase());
            assertEquals("org.apache.maven.plugin.jar.JarMojo", md.getImplementation());
            assertEquals("antrun", md.getComponentConfigurator());
            assertEquals("java", md.getLanguage());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

            if (this.phases == null) {
                this.phases = new java.util.ArrayList<Phase>();
            }
    
            return this.phases;
        } // -- java.util.List<Phase> getPhases()
    
        /**
         * Method removePhase.
         *
         * @param phase a phase object.
         */
        public void removePhase(Phase phase) {
            getPhases().remove(phase);
        } // -- void removePhase( Phase )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/DfsReferralDataTest.java

        void testGetShare() {
            // Given
            String share = "testshare";
            when(mockReferralData.getShare()).thenReturn(share);
    
            // When
            String result = mockReferralData.getShare();
    
            // Then
            assertEquals(share, result);
            verify(mockReferralData).getShare();
        }
    
        @Test
        @DisplayName("Should get path consumed")
        void testGetPathConsumed() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            public void testGetShare() throws MalformedURLException {
                assertEquals("share", new SmbFile("smb1://server/share/file.txt").getShare());
                assertEquals("share", new SmbFile("smb1://server/share/").getShare());
                assertEquals(null, new SmbFile("smb1://server/").getShare());
            }
    
            @Test
            public void testGetServer() throws MalformedURLException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JdkDownloadPlugin.java

                repoUrl = "https://download.oracle.com";
                if (jdk.getHash() != null) {
                    // current pattern since 12.0.1
                    artifactPattern = "java/GA/jdk"
                        + jdk.getBaseVersion()
                        + "/"
                        + jdk.getHash()
                        + "/"
                        + jdk.getBuild()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
    
            for (Lifecycle lifecycle : getLifeCycles()) {
                for (String phase : lifecycle.getPhases()) {
                    // The first definition wins.
                    Lifecycle original = phaseToLifecycleMap.put(phase, lifecycle);
                    if (original != null && logger.isWarnEnabled()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMapping.java

        String ROLE = LifecycleMapping.class.getName();
    
        Map<String, Lifecycle> getLifecycles();
    
        @Deprecated
        List<String> getOptionalMojos(String lifecycle);
    
        @Deprecated
        Map<String, String> getPhases(String lifecycle);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/PluginLifecycle.java

        }
    
        @Override
        public String id() {
            return lifecycleOverlay.getId();
        }
    
        @Override
        public Collection<Phase> phases() {
            return lifecycleOverlay.getPhases().stream()
                    .map(phase -> new Phase() {
                        @Override
                        public String name() {
                            return phase.getId();
                        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        public String getId() {
            return id;
        }
    
        public org.apache.maven.api.Lifecycle getDelegate() {
            return lifecycle;
        }
    
        public List<String> getPhases() {
            return phases;
        }
    
        static Map<String, LifecyclePhase> getDefaultPhases(org.apache.maven.api.Lifecycle lifecycle) {
            Map<String, List<String>> goals = new HashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top