Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for mojo (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

         * This is the main trigger for the <code>Mojo</code> inside the <code>Maven</code> system, and allows
         * the <code>Mojo</code> to communicate errors.
         *
         * @throws MojoException if a problem occurs
         */
        void execute();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    @Target(ElementType.TYPE)
    @Inherited
    public @interface Mojo {
        /**
         * goal name (required).
         * @return the goal name
         */
        @Nonnull
        String name();
    
        /**
         * default phase to bind your mojo.
         * @return the default phase
         */
        @Nonnull
        String defaultPhase() default "";
    
        /**
         * does your mojo requires a project to be executed?
         * @return requires a project
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    ((ContextEnabled) mojo).setPluginContext(pluginContext);
                }
            }
    
            if (mojo instanceof Mojo) {
                Logger mojoLogger = LoggerFactory.getLogger(mojoDescriptor.getImplementation());
                ((Mojo) mojo).setLog(new MojoLogWrapper(mojoLogger));
            }
    
            if (mojo instanceof Contextualizable) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
            this(session, project, mojoExecution, mojo, null);
        }
    
        public MojoExecutionEvent(
                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

        /**
         * Looks up the mojo for the specified mojo execution and populates its parameters from the configuration given by
         * the mojo execution. The mojo/plugin descriptor associated with the mojo execution provides the class realm to
         * look up the mojo from. <strong>Warning:</strong> The returned mojo instance must be released via
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. maven-core/src/site/apt/getting-to-container-configured-mojos.apt

    ~~ under the License.
    
      ---
      Getting to Plexus-configured Mojos
      ---
      John Casey
      ---
      2005-04-29
    
    Abstract
    
      We're moving toward integrating mojos as first-class plexus components, while
      at the same time avoiding introducing required plexus dependencies into the
      mojo development model.
    
      In order to really achieve this, we need mojo configurations (which are
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 30 15:20:35 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description>
                The goal name for the Mojo, that users will reference from the command line to execute the Mojo directly,
                or inside a POM in order to provide Mojo-specific configuration.
              </description>
            </field>
            <field>
              <name>description</name>
              <version>1.0.0+</version>
              <type>String</type>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        String str = ownerMojo != null ? " The " + ownerMojo.getId() : "An";
                        String msg = str + " aggregator mojo is already being executed "
                                + "in this parallel build, those kind of mojos require exclusive access to "
                                + "reactor to prevent race conditions. This mojo execution will be blocked "
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/EventType.java

    public enum EventType {
        PROJECT_DISCOVERY_STARTED,
        SESSION_STARTED,
        SESSION_ENDED,
        PROJECT_SKIPPED,
        PROJECT_STARTED,
        PROJECT_SUCCEEDED,
        PROJECT_FAILED,
        MOJO_SKIPPED,
        MOJO_STARTED,
        MOJO_SUCCEEDED,
        MOJO_FAILED,
        FORK_STARTED,
        FORK_SUCCEEDED,
        FORK_FAILED,
        FORKED_PROJECT_STARTED,
        FORKED_PROJECT_SUCCEEDED,
        FORKED_PROJECT_FAILED,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top