Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for exists (0.15 sec)

  1. maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

         * @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does
         *         not exist.
         * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed.
         */
        PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Properties properties = new Properties();
            Path path = rootBuildDirectory.resolve(RESUME_PROPERTIES_FILENAME);
            if (!Files.exists(path)) {
                LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path);
                return properties;
            }
    
            try (Reader reader = Files.newBufferedReader(path)) {
                properties.load(reader);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

            Map.Entry<Artifact, Path> res = session.resolveArtifact(coord);
            assertNotNull(res);
            assertNotNull(res.getValue());
            assertTrue(Files.exists(res.getValue()));
    
            Node node = session.collectDependencies(session.createDependencyCoordinate(coord));
            assertNotNull(node);
            assertEquals(8, node.getChildren().size());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            String result;
            Path src = sourcePathProvider.get();
            if (src == null) {
                Files.deleteIfExists(target);
                result = null;
            } else if (!Files.exists(src)) {
                Files.deleteIfExists(target);
                result = "";
            } else {
                String current = sha1(src);
                String existing = sourceState.get();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. maven-core/src/site/apt/offline-mode.apt

      * If the wagon is bound to "file://" then:
    
        Retrieve the file or base-url file to be "downloaded".
    
        * If the file (or more usefully, the base-url file) exists, proceed.
    
        * If the file (or base-url file) doesn't exist, assume that this location
          is part of a file-share. Ignore the request and print a debug message
          as above.
    
    ** Control over mojos in the lifecycle
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                protected ActivationFile.Builder transformActivationFile_Exists(
                        Supplier<? extends ActivationFile.Builder> creator,
                        ActivationFile.Builder builder,
                        ActivationFile target) {
                    final String path = target.getExists();
                    final String xformed = transformPath(path, target, "exists");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                    }
                }
            }
            return plugins.values();
        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    
                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            assertNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
    
            assertFalse(updateCheckManager.getTouchfile(a).exists());
        }
    
        @Test
        void testMissingArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top