Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for mojo (0.13 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                if (mojoDescriptor.isV4Api()) {
                    org.apache.maven.api.plugin.Mojo mojoV4 = mavenPluginManager.getConfiguredMojo(
                            org.apache.maven.api.plugin.Mojo.class, session, mojoExecution);
                    mojo = new MojoWrapper(mojoV4);
                } else {
                    mojo = mavenPluginManager.getConfiguredMojo(Mojo.class, session, mojoExecution);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Mojo mojo = new Mojo();
            new EnhancedComponentConfigurator().configureComponent(mojo, configuration, evaluator, null);
    
            assertEquals(
                    Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS));
            assertEquals(mojo.uri, path.toUri());
            assertEquals(mojo.path, path);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. 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.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Apr 22 13:58:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used if your Mojo needs to fork a <a href="/ref/3.0.4/maven-core/lifecycles.html">lifecycle</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
            } catch (LookupException e) {
                throw new MavenException("The PluginContext is only available during a mojo execution", e);
            }
        }
    
        protected Session newSession(RepositorySystemSession repoSession, List<RemoteRepository> repositories) {
            final MavenSession ms = nonNull(getMavenSession());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @see Project#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        @Nonnull
        List<Project> getProjects();
    
        /**
         * Returns the plugin context for mojo being executed and the specified
         * {@link Project}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top