- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for myartifact2 (0.39 sec)
-
maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java
private Artifact artifact2; @BeforeEach void setup() { artifact = mock(Artifact.class); when(artifact.getGroupId()).thenReturn("org.apache.maven"); when(artifact.getArtifactId()).thenReturn("maven-core"); artifact2 = mock(Artifact.class); when(artifact2.getGroupId()).thenReturn("org.junit.jupiter");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Aug 29 15:25:58 UTC 2023 - 6K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
Artifact artifact2 = new DefaultArtifact( groupId, artifactId, VersionRange.createFromVersion("12.0"), scope, type, classifier, artifactHandler); assertTrue(artifact1.compareTo(artifact2) < 0); assertTrue(artifact2.compareTo(artifact1) > 0); Artifact artifact = new DefaultArtifact(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 22 19:19:33 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy
resolvedDependency.addParentSpecificArtifacts(parent2, TestArtifactSet.create(ImmutableAttributes.EMPTY, Arrays.asList(artifact1, artifact2))) then: resolvedDependency.allModuleArtifacts == [artifact1, artifact2] as Set } def getParentArtifacts() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierBuilder.java
protected ComponentVerificationsBuilder(ModuleComponentIdentifier component) { this.component = component; } void addChecksum(ModuleComponentArtifactIdentifier artifact, ChecksumKind kind, String value, @Nullable String origin, @Nullable String reason) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 14.9K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy
def artifact1 = Mock(DependencyArtifact) def artifact2 = Mock(DependencyArtifact) when: artifact1.name >> "artifact-1" artifact1.type >> "type-1" artifact1.extension >> "ext-1" artifact1.classifier >> null artifact2.name >> "artifact-2" artifact2.type >> null artifact2.classifier >> "classy" and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultResolvedDependency.java
@Override public int compare(ResolvedArtifact artifact1, ResolvedArtifact artifact2) { int diff = artifact1.getName().compareTo(artifact2.getName()); if (diff != 0) { return diff; } diff = ObjectUtils.compare(artifact1.getClassifier(), artifact2.getClassifier()); if (diff != 0) { return diff; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 8.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
Artifact artifact = factory.createDependencyArtifact( "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact( "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test"); Artifact artifact3 = factory.createDependencyArtifact(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy
def artifact2 = Stub(PublishArtifact) given: publications.artifacts.add(artifact1) publications.attributes.attribute(Attribute.of("thing", String), "value1") def variantDef = publications.variants.create("child") variantDef.attributes.attribute(Attribute.of("thing", String), "value2") variantDef.artifacts.add(artifact2) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:15 UTC 2024 - 9.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy
def artifact1 = Mock(DependencyArtifact) def artifact2 = Mock(DependencyArtifact) when: dependency.addArtifact(artifact1) dependency.addArtifact(artifact2) then: dependency.artifacts.size() == 2 dependency.artifacts.contains(artifact1) dependency.artifacts.contains(artifact2) } void "can set attributes"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy
def artifact1 = artifactName() def artifact2 = artifactName() def file1 = new File("artifact-1.zip") def file2 = new File("artifact-2.zip") given: def conf1 = consumable("conf1") def conf2 = consumable("conf2") addArtifact(conf1, artifact1, file1) addArtifact(conf2, artifact2, file2) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 15.2K bytes - Viewed (0)