- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 558 for csession (0.04 seconds)
-
tests/test_dependency_after_yield_websockets.py
session = Session() try: yield session finally: session.open = False def dep_session() -> Any: with acquire_session() as s: yield s def broken_dep_session() -> Any: with acquire_session() as s: s.open = False yield s SessionDep = Annotated[Session, Depends(dep_session)]Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
*/ @Nonnull default List<Toolchain> getToolchains(@Nonnull Session session, @Nonnull String type) throws ToolchainManagerException { return getToolchains(session, type, null); } /** * Retrieves the currently active toolchain from the build context. * * @param session The Maven session context * @param type The type of toolchain to retrieveCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); session.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE)); session.setArtifactDescriptorPolicy(new SimpleArtifactDescriptorPolicy(true, true)); DependencyTraverser depTraverser = new FatArtifactTraverser(); session.setDependencyTraverser(depTraverser);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
private final Type type; private final MavenSession session; private final MojoExecution mojoExecution; private final Exception exception; DefaultExecutionEvent(Type type, MavenSession session, MojoExecution mojoExecution, Exception exception) { this.type = type; this.session = session; this.mojoExecution = mojoExecution; this.exception = exception; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java
MojoExecutorStub mojoExecutor = new MojoExecutorStub() { @Override public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException { super.execute(session, mojoExecutions); currentProjects.add(session.getCurrentProject()); } };
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
public static RepositoryRequest getRepositoryRequest(MavenSession session, MavenProject project) { RepositoryRequest request = new DefaultRepositoryRequest(); request.setLocalRepository(session.getLocalRepository()); if (project != null) { request.setRemoteRepositories(project.getPluginArtifactRepositories()); } request.setOffline(session.isOffline());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT"); requestB.setArtifact(artifactB); VersionResult resultB = versionResolver.resolveVersion(session, requestB); assertEquals("07.20.3-20120809.112920-97", resultB.getVersion()); VersionRequest requestA = new VersionRequest(); requestA.addRepository(newTestRepository());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
MavenSession session = legacySupport.getSession(); PluginDescriptor pluginDescriptor; try { pluginDescriptor = pluginManager.getPluginDescriptor( plugin, session.getCurrentProject().getRemotePluginRepositories(), session.getRepositorySession()); pluginManager.setupPluginRealm(pluginDescriptor, session, null, null, null);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 10.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* type-safe session handling in specific request implementations * * @see ProtoSession * @see RequestTrace * @see Result * @since 4.0.0 */ @Experimental @Immutable public interface Request<S extends ProtoSession> { /** * Returns the session associated with this request. * * @return the session instance, never {@code null} */ @Nonnull
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
/** * Invoked just before session is created with proto session instance. The proto session contains user and * system properties collected so far, along with other information. This method should return altered * (contributions applied) user properties, not only the "new" or "added" properties! * * @param protoSession The proto session, never {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0)