Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getLocalRepositoryPath (0.27 sec)

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

            return new File(getLocalRepositoryPath(), "/" + groupId + "/poms/" + artifactId + "-1.0.pom");
        }
    
        // ----------------------------------------------------------------------
        // The local repository for this category of tests
        // ----------------------------------------------------------------------
    
        protected File getLocalRepositoryPath() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                throws MavenExecutionRequestPopulationException {
            String localRepositoryPath = null;
    
            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //
        // ----------------------------------------------------------------------
    
        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

         * a & b only.
         */
        @Test
        void testDependencyManagementExclusionsExcludeTransitively() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        // ----------------------------------------------------------------------
        // Local repository
        // ----------------------------------------------------------------------
    
        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        // ----------------------------------------------------------------------
        // Local repository
        // ----------------------------------------------------------------------
    
        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(executionRequest.getLocalRepositoryPath(), is(nullValue()));
    
            // System-properties override default
            request.getSystemProperties().setProperty(MavenCli.LOCAL_REPO_PROPERTY, "." + File.separatorChar + "custom1");
            executionRequest = cli.populateRequest(request);
            assertThat(executionRequest.getLocalRepositoryPath(), is(notNullValue()));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top