Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for mojo (0.19 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. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. maven-core/src/site/apt/offline-mode.apt

          as above.
    
    ** Control over mojos in the lifecycle
    
      When binding a mojo to the project's lifecycle instance, check the mojo
      descriptor's requiredConnectivity field.
    
      * If <<<(offline == true) && (requiresOnline != true)>>>, bind
        the mojo to the lifecycle.
    
        In this case, the client is <<offline>>, and the mojo does not require
        online status.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.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: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top