- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DuplicateParameterException (0.2 sec)
-
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/DuplicateParameterException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin.descriptor; /** * DuplicateParameterException */ public class DuplicateParameterException extends InvalidPluginDescriptorException { public DuplicateParameterException(String message) { super(message); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
* @param parameter add a new parameter * @throws DuplicateParameterException if any */ public void addParameter(Parameter parameter) throws DuplicateParameterException { if (parameters.contains(parameter)) { throw new DuplicateParameterException(parameter.getName() + " has been declared multiple times in mojo with goal: " + getGoal() + " (implementation: "
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class MojoDescriptorTest { @Test void getParameterMap() throws DuplicateParameterException { MojoDescriptor mojoDescriptor = new MojoDescriptor(); Parameter param1 = new Parameter(); param1.setName("param1"); param1.setDefaultValue("value1");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)