Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for initRepoSession (0.07 sec)

  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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
            DefaultRepositorySystemSession session = super.initRepoSession();
            session.setWorkspaceReader(new TestMavenWorkspaceReader());
            return session;
        }
    
        @Override
        protected String component() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setPluginArtifactRepositories(request.getPluginArtifactRepositories())
                    .setSystemProperties(executionProperties)
                    .setUserProperties(new Properties());
    
            initRepoSession(request, configuration);
    
            List<MavenProject> projects = new ArrayList<>();
    
            if (pom != null) {
                MavenProject project = projectBuilder.build(pom, configuration).getProject();
    
    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. 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(
    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