Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for initRepoSession (0.52 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            configuration.setLocalRepository(getLocalRepository());
            initRepoSession(configuration);
    
            return projectBuilder.build(pom, configuration).getProject();
        }
    
        protected void initRepoSession(ProjectBuildingRequest request) throws Exception {
            File localRepo = new File(request.getLocalRepository().getBasedir());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            RepositorySystemSession repoSession = initRepoSession();
            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(new DefaultSessionFactory(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
Back to Top