Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 772 for CSession (0.05 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/BuildPluginManagerStub.java

            return null;
        }
    
        @Override
        public MojoDescriptor getMojoDescriptor(
                Plugin plugin, String goal, List<RemoteRepository> repositories, RepositorySystemSession session) {
            return MojoExecutorStub.createMojoDescriptor(plugin);
        }
    
        @Override
        public ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

        /**
         * Gets the currently active session.
         *
         * @return The currently active session or {@code null} if none.
         */
        MavenSession getSession();
    
        /**
         * Gets the currently active repository session.
         *
         * @return The currently active repository session or {@code null} if none.
         */
        RepositorySystemSession getRepositorySession();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

        /**
         * @param session the repository session
         * @param repository the repository to deploy to
         * @param artifacts the collection of artifacts to deploy
         * @throws ArtifactDeployerException if the deployment failed
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        default void deploy(
                @Nonnull Session session,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         * the artifact would eventually be stored.
         *
         * @param session The session to use, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @return The path, resolved against the local repository's base directory.
         */
        @Nonnull
        Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            RepositorySystemSession session = rss(c);
    
            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
                repositorySystem.injectMirror(session, Arrays.asList(repository));
                repositorySystem.injectProxy(session, Arrays.asList(repository));
                repositorySystem.injectAuthentication(session, Arrays.asList(repository));
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                }
    
                if (mirrors) {
                    repositorySystem.injectMirror(session, repositories);
                }
    
                repositorySystem.injectProxy(session, repositories);
    
                repositorySystem.injectAuthentication(session, repositories);
            }
    
            return repository;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            BuildPlan plan;
    
            BuildContext(MavenSession session, ReactorContext reactorContext, List<TaskSegment> taskSegments) {
                this.session = session;
                this.reactorContext = reactorContext;
                this.threads = Math.min(
                        session.getRequest().getDegreeOfConcurrency(),
                        session.getProjects().size());
                // Propagate the parallel flag to the root session
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  8. docs_src/sql_databases/tutorial002_py39.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: Session = Depends(get_session)):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @param project         The project whose dependencies should be resolved, must not be {@code null}.
         * @param scopesToResolve The dependency scopes that should be resolved, may be {@code null}.
         * @param session         The current build session, must not be {@code null}.
         * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}.
         * @throws ArtifactResolutionException in case of resolution issue
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java

    import org.apache.maven.execution.MavenExecutionRequest;
    import org.eclipse.aether.RepositorySystemSession.SessionBuilder;
    
    /**
     * Factory for Resolver session.
     *
     * @since 4.0.0
     */
    public interface RepositorySystemSessionFactory {
        /**
         * Creates "ready to use" session builder instance. The factory does not set up one thing: the
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top