Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for userCode (0.05 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        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")
        File defaultUserLocalRepository = new File(userMavenConfigurationHome, "repository");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            }
            return result;
        }
    
        protected Path getUserHomeDirectory(LocalContext context) throws ParserException {
            if (context.parserRequest.userHome() != null) {
                Path result = getCanonicalPath(context.parserRequest.userHome());
                context.systemPropertiesOverrides.put("user.home", result.toString());
                return result;
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                //                        new DefaultPathTranslator(), new DefaultRootLocator()))));
                Map<String, String> properties = context.systemProperties;
    
                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"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top