Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for dir (0.18 sec)

  1. apache-maven/src/assembly/dir.xml

    <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
      <id>dir</id>
      <formats>
        <format>dir</format>
      </formats>
      <includeBaseDirectory>false</includeBaseDirectory>
      <componentDescriptors>
        <componentDescriptor>src/assembly/component.xml</componentDescriptor>
      </componentDescriptors>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 27 13:14:24 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. .github/workflows/maven_build_itself.yml

              if [ -f ${{ env.TAR_BALL }} ]; then
                temp_dir=$(mktemp -d)
                tar -xzf ${{ env.TAR_BALL }} -C "$temp_dir" --strip 1
                maven_bin_dir=$temp_dir/bin
                if [ -d $maven_bin_dir ]; then
                  echo "tar.gz file \"${{ env.TAR_BALL }}\" successfully extracted in temporarily directory \"$temp_dir.\""
                  echo "TEMP_MAVEN_BIN_DIR=$maven_bin_dir" >> $GITHUB_ENV
                else
    Others
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/shared/init.cmd

    )
    if exist "%FILE_ARG%\*" (
      set "POM_DIR=%FILE_ARG%"
    ) else (
      call :get_directory_from_file "%FILE_ARG%"
    )
    if not exist "%POM_DIR%" (
      echo Directory "%POM_DIR%" extracted from the -f/--file command-line argument "%FILE_ARG%" does not exist >&2
      goto error
    )
    set "WDIR=%POM_DIR%"
    goto findBaseDir
    
    :get_directory_from_file
    set "POM_DIR=%~dp1"
    :stripPomDir
    if not "_%POM_DIR:~-1%"=="_\" goto pomDirStripped
    Batch File
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            try {
                Thread.sleep(20);
            } catch (InterruptedException e) {
                // ignore
            }
    
            File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis());
    
            dir.mkdirs();
            markForDeletion(dir);
    
            return dir;
        }
    
        public synchronized File createTempFile() throws IOException {
            File tempFile = File.createTempFile(baseFilename, fileSuffix);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. Jenkinsfile

                        // will not trample each other plus workaround for JENKINS-52657
                        dir(isUnix() ? 'test' : "c:\\mvn-it-${EXECUTOR_NUMBER}.tmp") {
                            def WORK_DIR=pwd()
                            try {
                                dir ('maven') {
                                    checkout scm
                                    withEnv(["JAVA_HOME=${ tool "$jdkName" }",
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class PomConstructionWithSettingsTest {
        private static final String BASE_DIR = "src/test";
    
        private static final String BASE_POM_DIR = BASE_DIR + "/resources-settings";
    
        @Inject
        private DefaultProjectBuilder projectBuilder;
    
        @Inject
        private MavenRepositorySystem repositorySystem;
    
    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)
  8. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                        return FileVisitResult.CONTINUE;
                    }
                }
    
                @Override
                public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
                    if (Paths.get("target").equals(dir)) {
                        return FileVisitResult.CONTINUE;
                    } else {
                        return FileVisitResult.SKIP_SUBTREE;
                    }
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}/dir", basedir);
    
            assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned);
        }
    
        @Test
        void testUnalignToBasedirWherePathEqualsBasedir() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top