Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for getGoals (0.09 sec)

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

            super(toMessage(goal, pluginDescriptor));
    
            this.goal = goal;
            this.pluginDescriptor = pluginDescriptor;
        }
    
        public String getGoal() {
            return goal;
        }
    
        public PluginDescriptor getPluginDescriptor() {
            return pluginDescriptor;
        }
    
        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

            assertEquals(2, mojos.size());
    
            LifecycleMojo mojo1 = mojos.get(0);
            assertNotNull(mojo1);
            assertEquals("jar:jar", mojo1.getGoal());
    
            LifecycleMojo mojo2 = mojos.get(1);
            assertNotNull(mojo2);
            assertEquals("war:war", mojo2.getGoal());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public String getId() {
            return getPluginDescriptor().getId() + ":" + getGoal();
        }
    
        /**
         * @return the full goal name
         * @see PluginDescriptor#getGoalPrefix()
         * @see #getGoal()
         */
        public String getFullGoalName() {
            return getPluginDescriptor().getGoalPrefix() + ":" + getGoal();
        }
    
        /** {@inheritDoc} */
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java

     *
     * @see LifecyclePhase
     */
    public class LifecycleMojo {
    
        private String goal;
        private XmlNode configuration;
        private List<Dependency> dependencies;
    
        public String getGoal() {
            return goal;
        }
    
        public XmlNode getConfiguration() {
            return configuration;
        }
    
        public List<Dependency> getDependencies() {
            return dependencies;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
        @Nonnull
        Optional<XmlNode> getConfiguration();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
                pluginExecution.setGoals(Collections.singletonList(goal));
                plugin.addExecution(pluginExecution);
            }
    
            return plugin;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

            return lifecycleMojo;
        };
    
        @Override
        public String toString() {
            return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream()
                    .map(LifecycleMojo::getGoal)
                    .collect(Collectors.joining(","));
        }
    
        @Deprecated
        public static Map<String, String> toLegacyMap(Map<String, LifecyclePhase> lifecyclePhases) {
            if (lifecyclePhases == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        @Override
        public String getExecutionId() {
            return delegate.getExecutionId();
        }
    
        @Override
        public String getGoal() {
            return delegate.getGoal();
        }
    
        @Override
        public Optional<XmlNode> getConfiguration() {
            return Optional.of(delegate.getConfiguration()).map(Xpp3Dom::getDom);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

                return mojoDescriptor.getPluginDescriptor().getVersion();
            }
    
            return plugin.getVersion();
        }
    
        public String getGoal() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getGoal();
            }
    
            return goal;
        }
    
        public void setMojoDescriptor(MojoDescriptor mojoDescriptor) {
            this.mojoDescriptor = mojoDescriptor;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top