Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,175 for sessions (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                ArtifactRepository repository, RepositorySystemSession session, RepositorySystem system) {
            if (repository == null || repository.getBasedir() == null) {
                return session;
            }
    
            DefaultRepositorySystemSession newSession;
            if (session != null) {
                LocalRepositoryManager lrm = session.getLocalRepositoryManager();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base class for requests.
     *
     * @since 4.0.0
     */
    @Experimental
    abstract class BaseRequest {
    
        private final Session session;
    
        protected BaseRequest(@Nonnull Session session) {
            this.session = nonNull(session, "session cannot be null");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source) {
            return build(ProjectBuilderRequest.build(session, source));
        }
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param path the {@link Path}, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                }
            }
    
            return results;
        }
    
        public ArtifactResult resolveArtifact(RepositorySystemSession session, ArtifactRequest request)
                throws ArtifactResolutionException {
            return resolveArtifacts(session, Collections.singleton(request)).get(0);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

         */
        @Nonnull
        default VersionResolverResult resolve(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionResolverRequest.build(session, artifactCoordinates));
        }
    
        /**
         * Resolves an artifact's meta version (if any) to a concrete version.
         * For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23".
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            try {
                Result<ProjectDependencyGraph> result = sessionDependencyGraph(session);
    
                if (result == null) {
                    final List<MavenProject> projects = getProjectsForMavenReactor(session);
                    validateProjects(projects, session.getRequest());
                    processPackagingAttribute(projects, session.getRequest());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    ```Python
    async def get_database():
        with Session() as session:
            try:
                yield session
            except HTTPException:
                session.rollback()
                raise
            finally:
                session.close()
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    	c.Helper()
    	versions := []string{}
    	for i := 0; i < 5; i++ {
    		ui, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    		if err != nil {
    			c.Fatalf("upload did not succeed got %#v", err)
    		}
    		versions = append(versions, ui.VersionID)
    	}
    	return versions
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  10. 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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top