Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for getGoal (0.08 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. 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} */
        public String getComponentType() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(2, pd.getMojos().size());
            assertEquals(1, pd.getDependencies().size());
    
            MojoDescriptor md = pd.getMojos().get(0);
    
            assertEquals("jar", md.getGoal());
            assertEquals("mojo-description", md.getDescription());
            assertEquals("runtime", md.getDependencyResolutionRequired());
            assertEquals("test", md.getDependencyCollectionRequired());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
                throw new DuplicateMojoDescriptorException(
                        getGoalPrefix(),
                        mojoDescriptor.getGoal(),
                        existing.getImplementation(),
                        mojoDescriptor.getImplementation());
            } else {
                addComponentDescriptor(mojoDescriptor);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                        + ':'
                        + execution.getArtifactId()
                        + ':'
                        + execution.getVersion()
                        + ':'
                        + execution.getGoal());
                buffer.a(' ').strong('(' + execution.getExecutionId() + ')');
            }
    
            if (project != null) {
                buffer.a(" on project ");
                buffer.project(project.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
            }
        }
    
        /**
         * <pre>--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---</pre>
         */
        @Override
        public void mojoStarted(ExecutionEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getGoalPrefix() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>fullGoalName</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top