Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for somepath (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

            // Extract artifact from all POMs in the project
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
                Document pomDocument = entry.getValue();
    
                Coordinates coordinate =
                        AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution(context, pomDocument);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

                Path pomPath = entry.getKey();
                Document document = entry.getValue();
                try {
                    // Use domtrip for perfect formatting preservation
                    String xmlContent = DomUtils.toXml(document);
                    Files.writeString(pomPath, xmlContent);
                    context.detail("Saved: " + pomPath);
                } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testIsPathSafe_SafePath() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path safePath = baseDir.resolve("subdir/file.txt");
    
            assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir));
        }
    
        /**
         * Test isPathSafe with path traversal attempt
         *
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                // Create a large number of POM paths for performance testing
                Set<Path> largePomSet = Set.of();
                for (int i = 0; i < 1000; i++) {
                    Path pomPath = Paths.get("module" + i + "/pom.xml");
                    largePomSet = Set.of(pomPath); // Note: This creates a new set each time in the loop
                }
    
                long startTime = System.currentTimeMillis();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. mvnw.cmd

    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
    
    @REM set %HOME% to equivalent of $HOME
    if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
    
    @REM Execute a user defined script before this one
    if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. .teamcity/mvnw.cmd

    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
    
    @REM set %HOME% to equivalent of $HOME
    if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
    
    @REM Execute a user defined script before this one
    if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        public Model getModel() {
            return project.getModel().getDelegate();
        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return Objects.requireNonNull(project.getFile(), "pomPath cannot be null")
                    .toPath();
        }
    
        @Nonnull
        @Override
        public Path getBasedir() {
            return Objects.requireNonNull(project.getBasedir(), "basedir cannot be null")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 22:23:23 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                // Create a large number of POM documents for performance testing
                Map<Path, Document> largePomMap = new HashMap<>();
    
                for (int i = 0; i < 100; i++) {
                    Path pomPath = Paths.get("module" + i + "/pom.xml");
                    String pomContent = PomBuilder.create()
                            .groupId("com.example")
                            .artifactId("module" + i)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        private PomTestWrapper buildPom(String pomPath, String... profileIds) throws Exception {
            return buildPom(pomPath, null, null, profileIds);
        }
    
        private PomTestWrapper buildPom(
                String pomPath, Properties systemProperties, Properties userProperties, String... profileIds)
                throws Exception {
            return buildPom(pomPath, false, systemProperties, userProperties, profileIds);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

        public java.nio.file.Path getPomPath() {
            return (getDelegate().getPomFile() != null) ? getDelegate().getPomFile() : null;
        }
    
        public void setPomPath(java.nio.file.Path pomPath) {
            update( getDelegate().withPomFile(pomPath));
        }
    
        public void setModelEncoding(String modelEncoding) {
            update(getDelegate().with().modelEncoding(modelEncoding).build());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
Back to top