Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for getGoals (0.09 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public String getId() {
            return getPluginDescriptor().getId() + ":" + getGoal();
        }
    
        /**
         * @return the full goal name
         * @see PluginDescriptor#getGoalPrefix()
         * @see #getGoal()
         */
        public String getFullGoalName() {
            return getPluginDescriptor().getGoalPrefix() + ":" + getGoal();
        }
    
        /** {@inheritDoc} */
        public String getComponentType() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        @Override
        public String getExecutionId() {
            return delegate.getExecutionId();
        }
    
        @Override
        public String getGoal() {
            return delegate.getGoal();
        }
    
        @Override
        public Optional<XmlNode> getConfiguration() {
            return Optional.of(delegate.getConfiguration()).map(Xpp3Dom::getDom);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(2, pd.getMojos().size());
            assertEquals(1, pd.getDependencies().size());
    
            MojoDescriptor md = pd.getMojos().get(0);
    
            assertEquals("jar", md.getGoal());
            assertEquals("mojo-description", md.getDescription());
            assertEquals("runtime", md.getDependencyResolutionRequired());
            assertEquals("test", md.getDependencyCollectionRequired());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    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>
                        groupId = p[0];
                        artifactId = p[1];
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
                throw new DuplicateMojoDescriptorException(
                        getGoalPrefix(),
                        mojoDescriptor.getGoal(),
                        existing.getImplementation(),
                        mojoDescriptor.getImplementation());
            } else {
                addComponentDescriptor(mojoDescriptor);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                        + ':'
                        + execution.getArtifactId()
                        + ':'
                        + execution.getVersion()
                        + ':'
                        + execution.getGoal());
                buffer.a(' ').strong('(' + execution.getExecutionId() + ')');
            }
    
            if (project != null) {
                buffer.a(" on project ");
                buffer.project(project.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
            }
        }
    
        /**
         * <pre>--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---</pre>
         */
        @Override
        public void mojoStarted(ExecutionEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setLocalRepository(getLocalRepository())
                    .setRemoteRepositories(getRemoteRepositories())
                    .setPluginArtifactRepositories(getPluginArtifactRepositories())
                    .setGoals(Arrays.asList("package"));
    
            if (pom != null) {
                request.setMultiModuleProjectDirectory(pom.getParentFile());
            }
    
            return request;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            }
    
            MavenOptions options = context.invokerRequest.options();
            request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false));
            request.setGoals(options.goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getGoalPrefix() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>fullGoalName</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top