Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Dir (0.13 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. .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 May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. Jenkinsfile.s390x

                            if (isUnix()) {
                                sh "rm -rvf $WORK_DIR/dists $WORK_DIR/it-local-repo"
                            } else {
                                bat "if exist it-local-repo rmdir /s /q it-local-repo"
                                bat "if exist dists         rmdir /s /q dists"
                            }
                            dir('dists') {
                              unstash 'maven-dist-s390x'
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class PomConstructionTest {
        private static String BASE_DIR = "src/test";
    
        private static String BASE_POM_DIR = BASE_DIR + "/resources-project-builder";
    
        private static String BASE_MIXIN_DIR = BASE_DIR + "/resources-mixins";
    
        @Inject
        private DefaultProjectBuilder projectBuilder;
    
        @Inject
    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)
  6. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K 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. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 8.4K 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/configuration-management.apt

     not sure the unified source directory structure addresses this issue.
    
     Properties
    
     maven.user.config.dir (system,default=${user.home}/.m2)
     maven.home            (system,user,default=${user.home}/m2)
     maven.repo.local      (system,user,default=${maven.user.config.dir}/repository)
    
     We need to define what happens in the when things are not setup correctly
    
     o ~/.m2 directory does not exist
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top