Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,307 for session (0.12 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

        }
    
        @NotThreadSafe
        class VersionResolverRequestBuilder {
            Session session;
            ArtifactCoordinates artifactCoordinates;
            List<RemoteRepository> repositories;
    
            public VersionResolverRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

            this(session, project, executionPlan, null);
        }
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project, Throwable cause) {
            this(session, project, null, cause);
        }
    
        public ProjectExecutionEvent(
                MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) {
            this.session = session;
            this.project = project;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        private final RepositorySystemSession session;
        private final AtomicReference<String> sourceState;
    
        @SuppressWarnings("checkstyle:ParameterNumber")
        TransformedArtifact(
                DefaultConsumerPomArtifactTransformer defaultConsumerPomArtifactTransformer,
                MavenProject project,
                Path target,
                RepositorySystemSession session,
                org.apache.maven.artifact.Artifact source,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

            this.toolchainManagerPrivate = toolchainManagerPrivate;
        }
    
        @Override
        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            session.withLocalRepositories(new LocalRepository(new File("target/local-repo"), "simple"));
            session.setTransferListener(new ConsoleTransferListener());
            session.setRepositoryListener(new ConsoleRepositoryListener());
    
            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

        }
    
        class ArtifactDeployerRequestBuilder {
            Session session;
            RemoteRepository repository;
            Collection<ProducedArtifact> artifacts;
            int retryFailedDeploymentCount;
    
            ArtifactDeployerRequestBuilder() {}
    
            @Nonnull
            public ArtifactDeployerRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. 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());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

    import org.eclipse.aether.spi.synccontext.SyncContextFactory;
    import org.eclipse.aether.version.InvalidVersionSpecificationException;
    import org.eclipse.aether.version.Version;
    import org.eclipse.aether.version.VersionConstraint;
    import org.eclipse.aether.version.VersionRange;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead/
     */
    @Named
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial001_an_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top