Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MavenSessionBuilderSupplier (0.4 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
        protected final RepositorySystem repositorySystem;
        protected final InternalScopeManager scopeManager;
    
        public MavenSessionBuilderSupplier(RepositorySystem repositorySystem) {
            this.repositorySystem = requireNonNull(repositorySystem);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

        public static DefaultRepositorySystemSession newSession() {
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
            MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
            session.setDependencyTraverser(builder.getDependencyTraverser());
            session.setDependencyManager(new ClassicDependencyManager()); // Maven 3 behavior
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.repository.RepositorySystem;
    import org.apache.maven.repository.internal.MavenSessionBuilderSupplier;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.codehaus.plexus.util.FileUtils;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            for (MavenExecutionRequestExtender requestExtender : requestExtenders.values()) {
                requestExtender.extend(request);
            }
    
            MavenSessionBuilderSupplier supplier = new MavenSessionBuilderSupplier(repoSystem);
            SessionBuilder sessionBuilder = supplier.get();
            sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            return container;
        }
    
        public static RepositorySystemSession newMavenRepositorySystemSession(RepositorySystem system) {
            SessionBuilder session = new MavenSessionBuilderSupplier(system).get();
            session.withLocalRepositories(new LocalRepository(new File("target/local-repo"), "simple"));
            session.setTransferListener(new ConsoleTransferListener());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top