Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for helpers (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import org.eclipse.aether.RepositorySystemSession.CloseableSession;
    import org.eclipse.aether.repository.WorkspaceReader;
    import org.eclipse.sisu.Nullable;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.helpers.MessageFormatter;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultMaven implements Maven {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                    return actualOsName.contains(FAMILY_OPENVMS);
                default:
                    return actualOsName.contains(family.toLowerCase(Locale.US));
            }
        }
    
        /**
         * Helper method to determine the current OS family.
         *
         * @return name of current OS family.
         */
        private static String getOsFamily() {
            return Stream.of(
                            FAMILY_DOS,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.LegacySupport;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Helps to provide backward-compatibility with plugins that use legacy components. <strong>Warning:</strong> This is an
     * internal utility component that is only public for technical reasons, it is not part of the public API. In
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

     * under the License.
     */
    package org.apache.maven.internal;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Pattern;
    
    /**
     * Helper class to format multiline messages to the console
     */
    public class MultilineMessageHelper {
    
        private static final int DEFAULT_MAX_SIZE = 65;
        private static final char BOX_CHAR = '*';
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 07 20:55:12 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                throw new MetadataGraphTransformationException(e);
            }
        }
    
        // ===================================================================================================
        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            this.depth = depth;
            this.resolved = resolved;
            this.pomOrder = pomOrder;
        }
        // ----------------------------------------------------------------------------
        /**
         * helper for equals
         */
        private static boolean objectsEqual(Object o1, Object o2) {
            if (o1 == null && o2 == null) {
                return true;
            }
            if (o1 == null || o2 == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        //      really the function of the CLI, and then the pre-processing of that output still needs to be fed into
        //      a hinting process which helps flesh out the full specification of the plugin. The plugin manager should
        //      only deal in concrete terms -- all version finding mumbo jumbo is a customization to base functionality
        //      the plugin manager provides.
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Helper class to convert a metadata Graph into some form of a classpath
     *
     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                            }
                        }
                    }
    
                    // org.eclipse.aether.ConfigurationProperties.HTTP_HEADERS => Map<String, String>
                    if (headers != null) {
                        configProps.put(ConfigurationProperties.HTTP_HEADERS + "." + server.getId(), headers);
                    }
                    // org.eclipse.aether.ConfigurationProperties.CONNECT_TIMEOUT => int
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top