Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for formats (0.47 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                if (versionRangeResult.getHighestVersion() == null) {
                    throw new UnresolvableModelException(
                            String.format(
                                    "No versions matched the requested parent version range '%s'", parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("*****************************************************************");
    
            assertEquals(
                    msgs,
                    MultilineMessageHelper.format(
                            "Your build is requesting parallel execution, but project contains the following "
                                    + "plugin(s) that have goals not marked as @threadSafe to support parallel building.",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationMatcher.java

                    .appendText(formatLocation(columnNumber, lineNumber));
        }
    
        private String formatLocation(int columnNumber, int lineNumber) {
            return String.format("line %d, column %d", lineNumber, columnNumber);
        }
    
        @Override
        public void describeMismatch(final Object o, final Description description) {
            if (!(o instanceof ProjectBuildingResult)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            String timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
    
            Properties modelProperties = model.getProperties();
            if (modelProperties != null) {
                timestampFormat = modelProperties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY, timestampFormat);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * @see String#format(String, Object...)
         *
         * @param pattern a <a href="../util/Formatter.html#syntax">format string</a>
         * @param args arguments referenced by the format specifiers in the format string
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder format(String pattern, Object... args) {
            return append(String.format(pattern, args));
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

    /**
     */
    @Named("snapshot")
    @Singleton
    @Deprecated
    public class SnapshotTransformation extends AbstractVersionTransformation {
        private static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";
    
        private static final TimeZone DEFAULT_SNAPSHOT_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
        private String deploymentTimestamp;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

            super(
                    mojo.getPluginDescriptor(),
                    "The parameters " + format(parameters) + " for goal " + mojo.getRoleHint() + " are missing or invalid");
    
            this.mojo = mojo;
    
            this.parameters = parameters;
        }
    
        private static String format(List<Parameter> parameters) {
            StringBuilder buffer = new StringBuilder(128);
            if (parameters != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .collect(toSet());
    
            if (!notFoundRequiredProfiles.isEmpty()) {
                // Use SLF4J formatter for consistency with warnings reported by logger
                final String message = MessageFormatter.format(
                                "The requested profiles {} could not be activated or deactivated because they do not"
                                        + " exist.",
                                notFoundRequiredProfiles)
    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)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    }
                    buffer.append(item);
                }
                return buffer.toString();
            }
    
            /**
             * Return the contents in the same format that is used when you call toString() on a List.
             */
            private String toListString() {
                StringBuilder buffer = new StringBuilder();
                buffer.append("[");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
Back to top