Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Pojo (0.04 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                        });
                        file = getProject().getObjects().property(File.class);
                        file.set(new File("some/dir"));
                        pojo = getProject().getObjects().property(Pojo.class);
                        pojo.set(new Pojo(true));
                    }
    
                    @Input
                    public String getText() {
                        return text.get();
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Mojo {
        /**
         * Perform whatever build-process behavior this {@code Mojo} implements.
         * This is the main trigger for the {@code Mojo} inside the Maven system,
         * and allows the {@code Mojo} to communicate errors.
         *
         * @throws MojoException if a problem occurs
         */
        void execute();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * This annotation will mark your class as a Mojo, which is the implementation of a goal in a Maven plugin.
     * <p>
     * The mojo can be annotated with {@code org.apache.maven.api.di.*} annotations to
     * control the lifecycle of the mojo itself, and to inject other beans.
     * </p>
     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. 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>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. 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) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        /**
         * 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.
         */
        private String goal;
    
        /**
         * Defines a default phase to bind a mojo execution to if the user does not explicitly set a phase in the POM.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            MojoDescriptor mojo = new MojoDescriptor();
            mojo.setPluginDescriptor(pluginDescriptor);
    
            mojo.setGoal(c.getChild("goal").getValue());
    
            mojo.setImplementation(c.getChild("implementation").getValue());
    
            PlexusConfiguration langConfig = c.getChild("language");
    
            if (langConfig != null) {
                mojo.setLanguage(langConfig.getValue());
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            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) {
                        // <groupId>:<artifactId>:<goal>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * The ID of this lifecycle, for identification in the mojo
         * descriptor.
         */
        private String id;
    
        /**
         * Field phases.
         */
        private java.util.List<Phase> phases;
    
        // -----------/
        // - Methods -/
        // -----------/
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top