Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for error (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append message content in error style.
         * By default, bold red
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
            return style(".error:-bold,f:red", message);
        }
    
        /**
         * Append message content in success style.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param message The message describing the problem, may be {@code null}.
         * @param severity The severity level of the problem, may be {@code null} to default to
         *            {@link org.apache.maven.building.Problem.Severity#ERROR}.
         * @param source A hint about the source of the problem like a file path, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the problem or {@code -1} if unknown.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java

            List<Toolchain> toolchains = new ArrayList<>();
    
            if (models != null) {
                ToolchainFactory fact = factories.get(type);
    
                if (fact == null) {
                    logger.error(
                            "Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
                } else {
                    for (ToolchainModel model : models) {
                        try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public boolean hasBuildFailures() {
            return !buildFailuresByProject.isEmpty();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                        try {
                            c = interpolator.interpolate(value, recursionInterceptor);
                        } catch (InterpolationException e) {
                            problems.add(BuilderProblem.Severity.ERROR, ModelProblem.Version.BASE, e.getMessage(), e);
                        }
                        cache.put(value, c);
                    }
                    return c;
                }
                return value;
            };
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/InternalErrorException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    /**
     * Signals an internal error in Maven itself, e.g. a programming bug.
     *
     */
    public class InternalErrorException extends MavenExecutionException {
    
        public InternalErrorException(String message, Throwable cause) {
            super(message, cause);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                throw new SettingsBuilderException("Error building settings", problems);
            }
    
            return new DefaultSettingsBuilderResult(effective, problems);
        }
    
        private boolean hasErrors(List<BuilderProblem> problems) {
            if (problems != null) {
                for (BuilderProblem problem : problems) {
                    if (BuilderProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerException.java

    @Experimental
    public class ArtifactDeployerException extends MavenException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7421964724059077698L;
    
        /**
         * @param message the message of the error
         * @param e {@link Exception}
         */
        public ArtifactDeployerException(String message, Exception e) {
            super(message, e);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.net.MalformedURLException;
    
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Error constructing an artifact repository.
     *
     */
    public class InvalidRepositoryException extends Exception {
        private final String repositoryId;
    
    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)
Back to top