Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for HOME (0.2 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            Path userHome = Paths.get(properties.get("user.home"));
            Path mavenUserHome = userHome.resolve(".m2");
            Path mavenSystemHome = properties.containsKey("maven.home")
                    ? Paths.get(properties.get("maven.home"))
                    : properties.containsKey("env.MAVEN_HOME") ? Paths.get(properties.get("env.MAVEN_HOME")) : null;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            this.settingsBuilder = settingsBuilder;
        }
    
        public Settings buildSettings() throws IOException, XmlPullParserException {
            File userSettingsFile = getFile(
                    "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION);
    
            return buildSettings(userSettingsFile);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                localRepositoryPath = new File(System.getProperty("user.home"), ".m2/repository").getAbsolutePath();
            }
    
            try {
                return repositorySystem.createLocalRepository(new File(localRepositoryPath));
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            tm1.addProvide("vendor", "sun");
            Xpp3Dom configuration1 = new Xpp3Dom("configuration");
            Xpp3Dom jdkHome1 = new Xpp3Dom("jdkHome");
            jdkHome1.setValue("${env.JAVA_HOME}");
            configuration1.addChild(jdkHome1);
            tm1.setConfiguration(configuration1);
    
            ToolchainModel tm2 = new ToolchainModel();
            tm1.setType("jdk");
            tm1.addProvide("version", "1.4");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

        @Test
        void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {
            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

                config.addProfile(profile);
            }
    
            String localRepoUrl =
                    System.getProperty("maven.repo.local", System.getProperty("user.home") + "/.m2/repository");
            localRepoUrl = "file://" + localRepoUrl;
            config.setLocalRepository(repositorySystem.createArtifactRepository(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            }
    
            ProjectBuildingRequest config = new DefaultProjectBuildingRequest();
    
            String localRepoUrl =
                    System.getProperty("maven.repo.local", System.getProperty("user.home") + "/.m2/repository");
            localRepoUrl = "file://" + localRepoUrl;
            config.setLocalRepository(repositorySystem.createArtifactRepository(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

    @Deprecated
    public interface RepositorySystem {
        String DEFAULT_LOCAL_REPO_ID = MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID;
    
        @SuppressWarnings("checkstyle:constantname")
        String userHome = System.getProperty("user.home");
    
        @SuppressWarnings("checkstyle:constantname")
        File userMavenConfigurationHome = new File(userHome, ".m2");
    
        @SuppressWarnings("checkstyle:constantname")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        @Test
        void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {
            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
                throw new MisconfiguredToolchainException(
                        "Non-existing JDK home configuration at " + normal.toAbsolutePath());
            }
    
            return jtc;
        }
    
        public ToolchainPrivate createDefaultToolchain() {
            // not sure it's necessary to provide a default toolchain here.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top