Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for absolute (0.2 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.java

        public InvalidProjectModelException(String projectId, String message, File pomLocation) {
            super(projectId, message, pomLocation);
        }
    
        /**
         * @param projectId
         * @param pomLocation      absolute path of the pom file
         * @param message
         * @param validationResult
         * @deprecated use {@link File} constructor for pomLocation
         */
        @Deprecated
        public InvalidProjectModelException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 07 19:46:28 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

    import org.codehaus.plexus.interpolation.InterpolationException;
    import org.codehaus.plexus.interpolation.MapBasedValueSource;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Finds an absolute path for {@link ActivationFile#getExists()} or {@link ActivationFile#getMissing()}
     *
     */
    @Named
    @Singleton
    public class ProfileActivationFilePathInterpolator {
    
        private final PathTranslator pathTranslator;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

            this.basedir = basedir;
        }
    
        public File translatePath(File path) {
            File result = path;
    
            if (path != null && basedir != null) {
                if (path.isAbsolute()) {
                    // path is already absolute, we're done
                } else if (path.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with base dir but with drive root
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            }
    
            if (path == null) {
                return null;
            }
    
            String s = stripBasedirToken(path);
    
            File file = new File(s);
            if (file.isAbsolute()) {
                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            }
    
            // for the special case of a drive-relative Windows path, make sure it's absolute to save plugins from trouble
            String localRepository = effective.getLocalRepository();
            if (localRepository != null && !localRepository.isEmpty()) {
                Path file = Paths.get(localRepository);
                if (!file.isAbsolute() && file.toString().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

            this.passphrase = passphrase;
        }
    
        /**
         * Get the absolute path to the private key file.
         *
         * @return absolute path to private key
         */
        public String getPrivateKey() {
            return privateKey;
        }
    
        /**
         * Set the absolute path to private key file.
         *
         * @param privateKey path to private key in local file system
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  8. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        <p>With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
        the same other JDK instance without hardcoding absolute paths into the {@code pom.xml}
        and without configuring every plugin that require path to JDK tools.</p>
    
        @see <a href="/guides/mini/guide-using-toolchains.html">Guide to Using Toolchains</a>
        ]]></description>
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        }
    
        void attachArtifact(Project project, Artifact artifact, Path path);
    
        /**
         * Obtain an immutable list of compile source roots for the given project and scope.
         * Paths are absolute.
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of compile source roots
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top