- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for BuilderProblem (0.07 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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
* * @return the problems that were encountered during the project building, can be empty but never {@code null} */ @Nonnull Collection<BuilderProblem> getProblems(); /** * Gets the result of the dependency resolution for the project. * * @return the result of the dependency resolution for the project */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 2.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java
* or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits * the problem. * */ public interface ModelProblem extends BuilderProblem { /** * Version */ enum Version { // based on ModeBuildingResult.validationLevel BASE, V20, V30, V31, V40, V41
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2K bytes - Viewed (0)