- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for POM (0.1 sec)
-
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
PomTestWrapper pom = buildPom("profile-module", "a"); assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied assertEquals(4, ((List<?>) pom.getValue("modules")).size()); assertEquals("module-2", pom.getValue("modules[1]")); assertEquals("module-1", pom.getValue("modules[2]")); assertEquals("module-3", pom.getValue("modules[3]"));
Registered: 2024-06-12 09:55 - Last Modified: 2024-04-12 10:50 - 93.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy
} def "doesn't check the same parent POM file multiple times during a build (terse output=#terse)"() { createMetadataFile { keyServer(keyServerFixture.uri) verifySignatures() addTrustedKey("org:foo:1.0", validPublicKeyHexString) addTrustedKey("org:foo:1.0", validPublicKeyHexString, "pom", "pom") trust("org", "bar", "1.0") }
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-21 14:42 - 75.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy
metadata.dependencies.empty } def "pom with packaging 'pom'"() { given: pomFile << """ <project> <modelVersion>4.0.0</modelVersion> <groupId>group-one</groupId> <artifactId>artifact-one</artifactId> <version>version-one</version> <packaging>pom</packaging> </project> """ when:
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 75.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-26 13:37 - 77.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy
dep.scope == MavenScope.Compile hasDefaultDependencyArtifact(dep) } def "uses dependency management section from imported POM in active profile to define defaults for main POM body dependency"() { given: def imported = tmpDir.file("imported.xml") << """ <project> <modelVersion>4.0.0</modelVersion> <groupId>different-group</groupId>
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 49.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy
import org.gradle.internal.id.UUIDGenerator import spock.lang.Issue class PomReaderProfileTest extends AbstractPomReaderTest { final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock() def "parse POM without active profile"() { when: pomFile << """ <project> <modelVersion>4.0.0</modelVersion> <groupId>group-one</groupId> <artifactId>artifact-one</artifactId>
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 79.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
Model parentModel = parentData.model(); if (!"pom".equals(parentModel.getPackaging())) { problems.add( Severity.ERROR, ModelProblem.Version.BASE, "Invalid packaging for parent POM " + ModelProblemUtils.toSourceHint(parentModel) + ", must be \"pom\" but is \"" + parentModel.getPackaging() + "\"",
Registered: 2024-06-12 09:55 - Last Modified: 2024-06-07 07:31 - 61.9K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Model parentModel = parentData.getModel(); if (!"pom".equals(parentModel.getPackaging())) { problems.add(new ModelProblemCollectorRequest(Severity.ERROR, ModelProblem.Version.BASE) .setMessage("Invalid packaging for parent POM " + ModelProblemUtils.toSourceHint(parentModel) + ", must be \"pom\" but is \"" + parentModel.getPackaging() + "\"")
Registered: 2024-06-12 09:55 - Last Modified: 2024-05-21 09:54 - 82.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc
[source,xml] ---- <components> <component group="com.github.javaparser" name="javaparser-core" version="3.6.11"> <artifact name="javaparser-core-3.6.11.pom"> <ignored-keys> <ignored-key id="379ce192d401ab61" reason="internal repo has corrupted POM"/> </ignored-keys> </artifact> </component> </components> ----
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-07 20:36 - 56.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
Registered: 2024-06-12 09:55 - Last Modified: 2024-06-10 11:04 - 73.9K bytes - Viewed (0)