Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getGoal (0.09 sec)

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

            super(toMessage(goal, pluginDescriptor));
    
            this.goal = goal;
            this.pluginDescriptor = pluginDescriptor;
        }
    
        public String getGoal() {
            return goal;
        }
    
        public PluginDescriptor getPluginDescriptor() {
            return pluginDescriptor;
        }
    
        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cni/pkg/cmd/root.go

    		ZtunnelUDSAddress: viper.GetString(constants.ZtunnelUDSAddress),
    
    		AmbientEnabled:           viper.GetBool(constants.AmbientEnabled),
    		AmbientDNSCapture:        viper.GetBool(constants.AmbientDNSCapture),
    		AmbientIPv6:              viper.GetBool(constants.AmbientIPv6),
    		AmbientTPROXYRedirection: viper.GetBool(constants.AmbientTPROXYRedirection),
    	}
    
    	if len(installCfg.K8sNodeName) == 0 {
    		var err error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top