- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 686 for exceptions (0.07 seconds)
-
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java
} // -- void setConfiguration( Object ) /** * Set the goals to execute within the phase. * * @param executions a executions object. */ public void setExecutions(java.util.List<Execution> executions) { this.executions = executions; } // -- void setExecutions( java.util.List ) /** * Set the ID of this phase, e.g., * <code>generate-sources</code>.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
EnhancedCompositeBeanHelper.clearCaches(); } @Benchmark public void benchmarkOriginalHelper() throws Exception { RealisticTestBean bean = new RealisticTestBean(); // Set multiple properties to simulate real mojo configuration // Use direct method calls instead of reflection for fair comparison
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 16.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
private ToolchainFactory toolchainFactoryBasicType; @Mock private ToolchainFactory toolchainFactoryRareType; @Mock private Lookup lookup; @BeforeEach void onSetup() throws Exception { MockitoAnnotations.initMocks(this); Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
/** * Sends a message (and accompanying exception) to the user in the <b>debug</b> error level. * The error's stacktrace will be output when this error level is enabled. * * @param content the message to log * @param error the error that caused this log */ void debug(CharSequence content, Throwable error); /** * Sends an exception to the user in the <b>debug</b> error level.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Sep 28 09:03:24 GMT 2024 - 5.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
// separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties()); } protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception { return createMavenSession(pom, executionProperties, false); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/reporting/MavenReportException.java
* under the License. */ package org.apache.maven.reporting; /** * An exception occurring during the execution of a Maven report. * */ @Deprecated public class MavenReportException extends Exception { public MavenReportException(String msg) { super(msg); } public MavenReportException(String msg, Exception e) { super(msg, e); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* errors by throwing an {@link Exception}. Error conditions should provide * sufficient detail to aid troubleshooting.</p> * * @throws Exception if any issue occurs that prevents the successful execution * of the Mojo */ void execute() throws Exception;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:21:00 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
import org.apache.maven.cling.transfer.SimplexTransferListener; import org.apache.maven.cling.transfer.Slf4jMavenTransferListener; import org.apache.maven.exception.DefaultExceptionHandler; import org.apache.maven.exception.ExceptionHandler; import org.apache.maven.exception.ExceptionSummary; import org.apache.maven.execution.DefaultMavenExecutionRequest; import org.apache.maven.execution.ExecutionListener;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
*/ ProjectModelResolverTest() { super(); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception { final Parent parent = new Parent(); parent.setGroupId("org.apache"); parent.setArtifactId("apache"); parent.setVersion("0"); UnresolvableModelException e = assertThrows(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
} @Override public CacheRecord put(Key key, LifecycleExecutionException exception) { Objects.requireNonNull(exception, "exception cannot be null"); assertUniqueKey(key); return cache.computeIfAbsent(key, k -> new CacheRecord(exception)); } protected void assertUniqueKey(Key key) { if (cache.containsKey(key)) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.3K bytes - Click Count (0)