- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for BuilderProblem (0.12 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
List<ModelProblem> getProblems(); boolean hasErrors(); boolean hasFatalErrors(); default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) { add(severity, version, message, null, null); } default void add( BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
} @Override public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) { List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings); for (BuilderProblem problem : list) { addViolation(problems, Severity.valueOf(problem.getSeverity().name()), problem.getMessage()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java
private final List<BuilderProblem> problems; /** * @param message the message to give * @param e the {@link Exception} */ public SettingsBuilderException(String message, Exception e) { super(message, e); this.problems = List.of(); } public SettingsBuilderException(String message, List<BuilderProblem> problems) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java
private final List<BuilderProblem> problems; /** * @param message the message to give * @param e the {@link Exception} */ public ToolchainsBuilderException(String message, Exception e) { super(message, e); this.problems = List.of(); } public ToolchainsBuilderException(String message, List<BuilderProblem> problems) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java
* {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link SettingsBuilderException}. * * @return the problems that were encountered during the settings building, can be empty but never {@code null} */ @Nonnull List<BuilderProblem> getProblems();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java
* {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link ToolchainsBuilderException}. * * @return the problems that were encountered during the settings building, can be empty but never {@code null} */ @Nonnull List<BuilderProblem> getProblems();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
import java.nio.file.Path; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import org.apache.maven.api.Session; import org.apache.maven.api.services.BuilderProblem; import org.apache.maven.api.services.Source; import org.apache.maven.api.services.ToolchainsBuilderException; import org.apache.maven.api.services.ToolchainsBuilderRequest;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
@Nonnull @Override public Collection<BuilderProblem> getProblems() { return new MappedCollection<>(res.getProblems(), this::toProblem); } private BuilderProblem toProblem(ModelProblem problem) { return new BuilderProblem() { @Override public String getSource() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
}; } else { return null; } } private List<SettingsProblem> convert(List<BuilderProblem> problems) { return problems.stream().map(this::convert).toList(); } private SettingsProblem convert(BuilderProblem problem) { return new DefaultSettingsProblem( problem.getMessage(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
* * @param settings The settings to validate, must not be {@code null}. * @return The list of problems that were encountered, must not be {@code null}. */ @Nonnull default List<BuilderProblem> validate(@Nonnull Settings settings) { return validate(settings, false); } /** * Validate the specified settings. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0)