Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for lifecycles (0.31 sec)

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

    import java.util.List;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    
    public class Lifecycles {
    
        static Lifecycle.Phase phase(String name) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList());
        }
    
        static Lifecycle.Phase phase(String name, Plugin plugin) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/site/apt/lifecycles.apt.vm

    ~~ under the License.
    
     -----
     Lifecycles Reference
     -----
     Hervé Boutemy
     -----
     2013-08-02
     -----
    
    Lifecycles Reference
    
      Maven defines 4 lifecycles in {{{./apidocs/org/apache/maven/lifecycle/providers/package-summary.html}<<<org.apache.maven.lifecycle.providers>>>}} package:
    
    %{toc|fromDepth=2}
    
    * <<<default>>> Lifecycle
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Jan 08 14:57:39 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

                    String[] lifecycleIds = {"default", "clean", "site"};
    
                    for (String lifecycleId : lifecycleIds) {
                        Map<String, LifecyclePhase> phases = getLifecyclePhases(lifecycleId);
                        if (phases != null) {
                            Lifecycle lifecycle = new Lifecycle();
    
                            lifecycle.setId(lifecycleId);
                            lifecycle.setLifecyclePhases(phases);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:46:36 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            }
    
            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                Map<String, Lifecycle> lifecycles = new HashMap<>(lookup.lookupMap(Lifecycle.class));
                for (org.apache.maven.api.Lifecycle lf : registry) {
                    lifecycles.put(lf.id(), new Lifecycle(registry, lf));
                }
                return lifecycles;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

        void testCleanLifecycle() {
            final Lifecycle lifecycle = getLifeCycleById("clean");
            assertThat(lifecycle.getId(), is("clean"));
            assertThat(lifecycle.getPhases(), hasSize(3));
        }
    
        @Test
        void testSiteLifecycle() {
            final Lifecycle lifecycle = getLifeCycleById("site");
            assertThat(lifecycle.getId(), is("site"));
            assertThat(lifecycle.getPhases(), hasSize(4));
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            }
    
            @Override
            public Collection<Lifecycle> provides() {
                return lifecycles.values().stream().map(this::wrap).collect(Collectors.toList());
            }
    
            private Lifecycle wrap(org.apache.maven.lifecycle.Lifecycle lifecycle) {
                return new Lifecycle() {
                    @Override
                    public String id() {
                        return lifecycle.getId();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

      xml.namespace="http://maven.apache.org/LIFECYCLE/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/lifecycle-${version}.xsd">
      <id>lifecycle</id>
      <name>Lifecycle</name>
      <description>
        Configuration of custom lifecycle mappings for the plugin, as generally stored in
        {@code META-INF/maven/lifecycle.xml} in a plugin's jar artifact.
      </description>
      <classes>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                    .iterator();
    
            Map<String, Lifecycle> lifeCycles = new HashMap<>();
            for (String s : DefaultLifecycles.STANDARD_LIFECYCLES) {
                final Lifecycle lifecycle = new Lifecycle(s, lcs.next(), null);
                lifeCycles.put(s, lifecycle);
            }
    
            PlexusContainer mockedContainer = mock(PlexusContainer.class);
            when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * Lifecycle mapping delegate component interface. Calculates project build execution plan given {@link Lifecycle} and
     * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to
     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
     * <p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

    /**
     * A facade that provides lifecycle services to components outside Maven core.
     *
     */
    public interface LifecycleExecutor {
    
        // USED BY MAVEN HELP PLUGIN
        @Deprecated
        String ROLE = LifecycleExecutor.class.getName();
    
        // For a given project packaging find all the plugins that are bound to any registered
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top