Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getLifeCycles (0.09 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

         *
         * @param lifecycle a lifecycle object.
         */
        public void addLifecycle(Lifecycle lifecycle) {
            getLifecycles().add(lifecycle);
        } // -- void addLifecycle( Lifecycle )
    
        /**
         * Method getLifecycles.
         *
         * @return List
         */
        public java.util.List<Lifecycle> getLifecycles() {
            if (this.lifecycles == null) {
                this.lifecycles = new java.util.ArrayList<Lifecycle>();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
            if (logger.isDebugEnabled() && !lifecyclesPrinted) {
                for (Lifecycle lifecycle : getLifeCycles()) {
                    logger.debug("Lifecycle {}", lifecycle);
                }
                lifecyclesPrinted = true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    
        @Nonnull
        default Collection<Dependency> getDependencies() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        e);
                return true;
            }
        }
    
        private boolean hasBeenPackagedDuringThisSession(MavenProject project) {
            boolean packaged = false;
            for (String phase : getLifecycles(project)) {
                switch (phase) {
                    case "clean":
                        packaged = false;
                        break;
                    case "package":
                    case "install":
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java

     * the file and return the contained lifecycle definitions.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface LifecycleProvider {
    
        List<Lifecycle> getLifecycles();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    return delegate.getMojoDescriptor().getPluginDescriptor().getPluginDescriptorV4();
                }
    
                @Override
                public List<Lifecycle> getLifecycles() {
                    try {
                        return Collections.unmodifiableList(new ArrayList<>(delegate.getMojoDescriptor()
                                .getPluginDescriptor()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        }
    
        private Map<String, PluginContainer> getPlugins(LifecycleMapping lifecycleMapping) {
            Map<String, PluginContainer> lfs = new HashMap<>();
            lifecycleMapping.getLifecycles().forEach((id, lifecycle) -> {
                Map<String, Plugin> plugins = new HashMap<>();
                lifecycle
                        .getLifecyclePhases()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                    lifecycleConfiguration = new LifecycleStaxReader().read(input);
                }
    
                lifecycleMappings = new HashMap<>();
    
                for (Lifecycle lifecycle : lifecycleConfiguration.getLifecycles()) {
                    lifecycleMappings.put(lifecycle.getId(), lifecycle);
                }
            }
            return lifecycleMappings;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top