- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,180 for Exception (0.04 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
private RepositorySystem repositorySystem; @BeforeEach void setUp() { repositorySystem = new TestRepositorySystem(); } @Test void testCacheKey() throws Exception { Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar"); @SuppressWarnings("deprecation")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java
// // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
import java.util.regex.Pattern; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar"); @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java
* */ public class DuplicateProjectException extends MavenExecutionException { private Map<String, List<File>> collisions; /** * Creates a new exception with specified details. * * @param message The message text, may be {@code null}. * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
public Optional<MojoExecution> getMojoExecution() { return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; class BuildListCalculatorTest { @Test void testCalculateProjectBuilds() throws Exception { LifecycleTaskSegmentCalculator lifecycleTaskSegmentCalculator = getTaskSegmentCalculator(); BuildListCalculator buildListCalculator = new BuildListCalculator();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
*/ class DefaultLegacySupportTest { final CountDownLatch latch = new CountDownLatch(1); final DefaultLegacySupport defaultLegacySupport = new DefaultLegacySupport(); @Test void testSetSession() throws Exception { MavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest(); MavenSession m1 = new MavenSession(null, null, mavenExecutionRequest, null); defaultLegacySupport.setSession(m1);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/BuildFailureException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven; /** * One or more builds failed. * */ public class BuildFailureException extends Exception { public BuildFailureException(String message) { super(message); } public BuildFailureException(String message, Throwable cause) { super(message, cause); }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) -
guava/src/com/google/common/collect/ImmutableList.java
@Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } } /** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) { toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) { throw new MisconfiguredToolchainException( "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0)