Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for exists (0.2 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
                Path tool = bin.resolve(toolName);
                if (Files.exists(tool)) {
                    return tool;
                }
            }
            return null;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/projects/transform/before.pom

            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
            </file>
          </activation>
          <properties>
            <profile.file>activated</profile.file>
          </properties>
        </profile>
      </profiles>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
            return artifact != null
                    && artifact.getFile() != null
                    && artifact.getFile().exists();
        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/shared/init.cmd

    )
    
    :process_file_arg
    if "%FILE_ARG%" == "" (
      goto findBaseDir
    )
    if not exist "%FILE_ARG%" (
      echo POM file "%FILE_ARG%" specified the -f/--file command-line argument does not exist >&2
      goto error
    )
    if exist "%FILE_ARG%\*" (
      set "POM_DIR=%FILE_ARG%"
    ) else (
      call :get_directory_from_file "%FILE_ARG%"
    )
    if not exist "%POM_DIR%" (
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/shared/run.cmd

    if exist "%USERPROFILE%\mavenrc_post.bat" echo Warning: The mavenrc_post.bat script is deprecated and will be removed in a future version. >&2
    if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
    if exist "%USERPROFILE%\mavenrc_post.cmd" echo Warning: The mavenrc_post.cmd script is deprecated and will be removed in a future version. >&2
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            URL myResource = ExpressionDocumenter.class.getClassLoader().getResource(myResourcePath);
    
            assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist";
    
            String myClasspathEntry = myResource.getPath();
    
            myClasspathEntry = myClasspathEntry.substring(0, myClasspathEntry.length() - (myResourcePath.length() + 2));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

      on the [dev list](https://maven.apache.org/mailing-lists.html) first.
      This way you can make sure you're not wasting your time on something that isn't
      considered to be in Apache Maven's scope.
    + Submit a ticket for your issue, assuming one does not already exist.
      + Clearly describe the issue, including steps to reproduce when it is a bug.
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    if (pomFile.canRead()) {
                        return length != pomFile.length() || timestamp != pomFile.lastModified();
                    } else {
                        // if the POM didn't exist, retry if any repo is configured to always update
                        boolean snapshot = pomArtifact.isSnapshot();
                        for (ArtifactRepository repository : remoteRepositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top