Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for mojo (0.38 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 May 05 03:35:11 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 May 05 03:35:11 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 May 05 03:35:11 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/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)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

        private final MojoDescriptor mojo;
    
        public PluginParameterException(MojoDescriptor mojo, List<Parameter> parameters) {
            super(
                    mojo.getPluginDescriptor(),
                    "The parameters " + format(parameters) + " for goal " + mojo.getRoleHint() + " are missing or invalid");
    
            this.mojo = mojo;
    
            this.parameters = parameters;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            location.setLocation(0, location);
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
    
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
                    if (gs == null) {
                        logger.warn(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

    /**
     * Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to
     * decorate default functionality or skip some executions
     */
    public interface MojosExecutionStrategy {
    
        /**
         * Entry point to the execution strategy
         *
         * @param mojos             list of mojos representing a project build
         * @param session           current session
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("*****************************************************************");
            msgs.add("* An aggregator Mojo is already executing in parallel build,    *");
            msgs.add("* but aggregator Mojos require exclusive access to reactor to   *");
            msgs.add("* prevent race conditions. This mojo execution will be blocked  *");
            msgs.add("* until the aggregator work is done.                            *");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java

    class ValidatingConfigurationListener implements ConfigurationListener {
        private final Object mojo;
    
        private final ConfigurationListener delegate;
    
        private final Map<String, Parameter> missingParameters;
    
        ValidatingConfigurationListener(Object mojo, MojoDescriptor mojoDescriptor, ConfigurationListener delegate) {
            this.mojo = mojo;
            this.delegate = delegate;
            this.missingParameters = new HashMap<>();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top