Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DuplicateMojoDescriptorException (0.2 sec)

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

     * under the License.
     */
    package org.apache.maven.plugin.descriptor;
    
    /**
     * DuplicateMojoDescriptorException
     */
    public class DuplicateMojoDescriptorException extends InvalidPluginDescriptorException {
    
        public DuplicateMojoDescriptorException(
                String goalPrefix, String goal, String existingImplementation, String newImplementation) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        @SuppressWarnings({"unchecked", "rawtypes"})
        public List<MojoDescriptor> getMojos() {
            return (List) getComponents();
        }
    
        public void addMojo(MojoDescriptor mojoDescriptor) throws DuplicateMojoDescriptorException {
            MojoDescriptor existing = null;
            // this relies heavily on the equals() and hashCode() for ComponentDescriptor,
            // which uses role:roleHint for identity...and roleHint == goalPrefix:goal.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top