Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getLocalRepositoryPath (0.15 sec)

  1. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(executionRequest.getLocalRepositoryPath(), is(nullValue()));
    
            // System-properties override default
            request.getSystemProperties().setProperty(Constants.MAVEN_REPO_LOCAL, "." + File.separatorChar + "custom1");
            executionRequest = cli.populateRequest(request);
            assertThat(executionRequest.getLocalRepositoryPath(), is(notNullValue()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        //
        // ----------------------------------------------------------------------
    
        @Test
        void testFalsePluginExecutionInheritValue() 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");
    
            getProjectWithDependencies(pom0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top