- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Validate (0.29 sec)
-
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
List<BuilderProblem> problems = validator.validate(model); assertEquals(0, problems.size()); Repository repo = org.apache.maven.api.settings.Repository.newInstance(false); Settings model2 = Settings.newBuilder() .profiles(List.of(prof.withRepositories(List.of(repo)))) .build(); problems.clear(); problems = validator.validate(model2); assertEquals(2, problems.size());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java
descriptor.setArtifactId("maven-it-plugin"); descriptor.setVersion("0.1"); List<String> errors = new ArrayList<>(); mavenPluginValidator.validate(plugin, descriptor, errors); assertTrue(errors.isEmpty()); } @Test void testInvalidGroupId() { Artifact plugin = new DefaultArtifact( "org.apache.maven.its.plugins",
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java
@Singleton public final class DefaultLifecycleProvider extends AbstractLifecycleProvider { static final String LIFECYCLE_ID = "default"; // START SNIPPET: default private static final String[] PHASES = { "validate", "initialize", "generate-sources", "process-sources", "generate-resources", "process-resources", "compile", "process-classes",
Java - Registered: Sun Apr 07 03:35:11 GMT 2024 - Last Modified: Mon Jan 16 13:30:48 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelValidator.java
* file and has not been subjected to inheritance, interpolation or profile/default injection. * * @param model The model to validate, must not be {@code null}. * @param request The model building request that holds further settings, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java
Build.newBuilder(build).plugins(normalized.values()).build()); } } /* * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
Maven maven = getContainer().lookup(Maven.class); MavenExecutionRequest request = createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate")); MavenExecutionResult result = maven.execute(request); Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get(); assertNotNull(wsrClass, "wsr cannot be null");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
} catch (IOException e) { throw new PluginDescriptorParsingException(plugin, pluginFile.getAbsolutePath(), e); } List<String> errors = new ArrayList<>(); pluginValidator.validate(pluginArtifact, pluginDescriptor, errors); if (!errors.isEmpty()) { throw new InvalidPluginDescriptorException(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 42.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java
} }) .visit(settings); } @Override public List<BuilderProblem> validate(Settings settings, boolean isProjectSettings) { ArrayList<BuilderProblem> problems = new ArrayList<>(); settingsValidator.validate(settings, isProjectSettings, problems); return problems; } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 12K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java
public static final MojoDescriptor POST_CLEAN = createMojoDescriptor("post-clean"); // default (or at least some of them) public static final MojoDescriptor VALIDATE = createMojoDescriptor("validate"); public static final MojoDescriptor INITIALIZE = createMojoDescriptor("initialize"); public static final MojoDescriptor TEST_COMPILE = createMojoDescriptor("test-compile");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Jan 09 20:57:17 GMT 2024 - 12.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDependenciesValidator.java
protected AbstractMavenPluginDependenciesValidator(PluginValidationManager pluginValidationManager) { this.pluginValidationManager = requireNonNull(pluginValidationManager); } @Override public void validate( RepositorySystemSession session, Artifact pluginArtifact, ArtifactDescriptorResult artifactDescriptorResult) { if (artifactDescriptorResult.getDependencies() != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed May 24 06:50:28 GMT 2023 - 2.1K bytes - Viewed (0)