Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withLocalRepositories (0.08 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

        }
    
        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());
            session.setRepositoryListener(new ConsoleRepositoryListener());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            LocalRepository localRepo = new LocalRepository(localRepoDir, "simple");
    
            RepositorySystemSession session = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositories(localRepo)
                    .build();
            projectBuildingRequest.setRepositorySession(session);
    
            DefaultSessionFactory defaultSessionFactory =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top