Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 343 for userHome (0.05 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
                            .cwd(Path.of(System.getProperty("userDir")))
                            .userHome(Path.of(System.getProperty("userHome")))
                            .build());
    
            Assertions.assertTrue(invokerRequest.options().isPresent());
            Options options = invokerRequest.options().orElseThrow();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

        }
    
        @Test
        void defaultFs(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome)
                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.createDirectories(appJava.getParent());
            Files.writeString(appJava, APP_JAVA_STRING);
    
            if (MimirInfuser.isMimirPresentUW()) {
                MimirInfuser.doInfuseUW(userHome);
                MimirInfuser.preseedItselfIntoInnerUserHome(userHome);
            }
    
            HashMap<String, String> logs = new HashMap<>();
            Parser parser = createParser();
            try (ClassWorld classWorld = createClassWorld();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

        }
    
        @Test
        void defaultFs(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome)
                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. impl/maven-cli/pom.xml

              <systemPropertyVariables>
                <maven.home>${basedir}/src/test/resources/mavenHome</maven.home>
                <userHome>${basedir}/src/test/resources/userHome</userHome>
                <userDir>${basedir}/src/test/resources/userDir</userDir>
              </systemPropertyVariables>
            </configuration>
          </plugin>
        </plugins>
      </build>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                return result;
            }
        }
    
        protected Path getUserHomeDirectory(LocalContext context) {
            if (context.parserRequest.userHome() != null) {
                Path result = getCanonicalPath(context.parserRequest.userHome());
                context.systemPropertiesOverrides.put("user.home", result.toString());
                return result;
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapSecurityPrincipal(final String username) {
            final String value;
            final int maxLength = getLdapMaxUsernameLengthAsInteger();
            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = username.substring(0, maxLength);
            } else {
                value = username;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005_an_py310.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_an_py39.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top