- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 650 for scope (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-type.xml
<version>0.1</version> <dependencyManagement> <dependencies> <dependency> <groupId>test</groupId> <artifactId>a</artifactId> <version>0.1</version> <scope>import</scope> <!-- missing type=pom --> </dependency> </dependencies> </dependencyManagement>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Meta-annotation that marks other annotations as scope annotations. * <p> * Scopes define the lifecycle and visibility of objects in the dependency injection * system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-scope.xml
<version>0.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>c</artifactId> <version>0.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>d</artifactId> <version>0.2</version> <scope>test</scope> </dependency> <dependency>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-plugin-dependency-scope.xml
<scope>test</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>e</artifactId> <version>0.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>f</artifactId> <version>0.2</version> <scope>import</scope>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-management-scope.xml
<version>0.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>c</artifactId> <version>0.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>d</artifactId> <version>0.2</version> <scope>test</scope> </dependency>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
artifact = getArtifact(project, "maven-test-test", "scope-default"); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope"); // check all transitive deps of a provided dependency are provided scope, except for test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 6.4K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
return StreamingResponse(iter_data()) app.include_router( prefix="/router-scope-function", router=router, dependencies=[Depends(raise_after_yield, scope="function")], ) app.include_router( prefix="/router-scope-request", router=router, dependencies=[Depends(raise_after_yield, scope="request")], ) client = TestClient(app) def test_function_scope() -> None:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
} /** * Creates a new PathScope instance with the specified ID, project scope, and dependency scopes. * * @param id the identifier for the path scope * @param projectScope the project scope associated with this path scope * @param dependencyScopes the dependency scopes associated with this path scope * @return a new PathScope instance */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
def test_broken_scope() -> None: with pytest.raises( FastAPIError, match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"', ): @app.websocket("/broken-scope") async def get_broken( websocket: WebSocket, sessions: BrokenSessionsDep ) -> Any: # pragma: no cover pass
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/NameServiceClientTest.java
String scope = "testScope"; when(nameServiceClient.getNbtByName(host, type, scope)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope)); verify(nameServiceClient, times(1)).getNbtByName(host, type, scope); } @Test void testGetNbtByName_String() throws UnknownHostException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0)