- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 819 for throws (0.11 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** */ public class DefaultLifecyclesStub { public static DefaultLifecycles createDefaultLifecycles() throws ComponentLookupException { List<String> stubDefaultCycle = Arrays.asList( VALIDATE.getPhase(), INITIALIZE.getPhase(), PROCESS_RESOURCES.getPhase(),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; class DefaultToolchainTest { private final Logger logger = mock(Logger.class); @BeforeEach void setUp() throws Exception { MockitoAnnotations.initMocks(this); } private DefaultToolchain newDefaultToolchain(ToolchainModel model) { return new DefaultToolchain(model, logger) { @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
Path getTopDirectory(); /** * Gets the root directory of the session, which is the root directory for the top directory project. * * @return the root directory, never {@code null} * @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @see Project#getRootDirectory() * @see Project#isRootProject() */ @Nonnull Path getRootDirectory();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
class ConsoleMavenTransferListenerTest { private CountDownLatch startLatch; private CountDownLatch endLatch; @Test void testTransferProgressedWithPrintResourceNames() throws Exception { int size = 1000; ExecutorService service = Executors.newFixedThreadPool(size * 2); try { startLatch = new CountDownLatch(size); endLatch = new CountDownLatch(size);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* @return A function that applies each function in the collection in order until a non-null result is found. * If all functions return null, the composite function returns null. * * @throws NullPointerException if the input collection is null or contains null elements. */ static UnaryOperator<String> chain(Collection<? extends UnaryOperator<String>> functions) { return s -> {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertNull(source.resolve(locator, "subproject")); verify(locator, never()).locateExistingPom(any(Path.class)); } @Test void testStreamReading() throws IOException { // Test stream reading functionality Path testFile = tempDir.resolve("test.txt"); String content = "test content"; Files.writeString(testFile, content);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
this.repositorySystem = repositorySystem; this.metadataReader = metadataReader; } @Override public PluginPrefixResult resolve(PluginPrefixRequest request) throws NoPluginFoundForPrefixException { logger.debug("Resolving plugin prefix {} from {}", request.getPrefix(), request.getPluginGroups()); Model pom = request.getPom();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 17 13:14:10 GMT 2025 - 11.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
// ---------------------------------------------------------------------- @Test @DisabledOnOs(value = WINDOWS, disabledReason = "need to investigate why it fails on windows") void testProjectInheritance() throws Exception { File localRepo = getLocalRepositoryPath(); System.out.println("Local repository is at: " + localRepo.getAbsolutePath()); File pom0 = new File(localRepo, "p0/pom.xml");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 04 10:35:11 GMT 2025 - 6.3K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
private final Map<String, Integer> globalStringFrequency = new HashMap<>(); private int totalPoms = 0; public static void main(String[] args) throws Exception { if (args.length < 1) { System.out.println("Usage: PomMemoryAnalyzer <directory-with-poms>"); System.exit(1); } Path rootDir = Paths.get(args[0]);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar
org/apache/maven/plugin/Mojo$1.class package org.apache.maven.plugin; synchronized class Mojo$1 { } org/apache/maven/plugin/Mojo.class package org.apache.maven.plugin; public abstract interface Mojo { public static final String ROLE; public abstract void execute() throws MojoExecutionExcepti, MojoFailureException; public abstract void setLog(logging.Log); public abstract logging.Log getLog(); static void <clinit>(); } org/apache/maven/plugin/MojoExecutionExcepti.class package org.apache.maven.plugin; public synchronized...Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 9.9K bytes - Click Count (0)