- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 332 for exclusion (0.2 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Exclusion}. * */ class ExclusionTest { @Test void testHashCodeNullSafe() { new Exclusion().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Exclusion().equals(null)); new Exclusion().equals(new Exclusion()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
&& equals(d1.getExclusions(), d2.getExclusions()); } private boolean equals(Collection<Exclusion> ce1, Collection<Exclusion> ce2) { if (ce1.size() == ce2.size()) { Iterator<Exclusion> i1 = ce1.iterator(); Iterator<Exclusion> i2 = ce2.iterator(); while (i1.hasNext() && i2.hasNext()) { if (!equals(i1.next(), i2.next())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
MavenProject project = session.getCurrentProject(); Exclusion exclusion = new Exclusion(); exclusion.setGroupId( "org.apache.maven.its" ); exclusion.setArtifactId( "a" ); new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME, exclusion ); Set<Artifact> artifactDependencies =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/test/projects/project-dependencies-resolver/project-with-exclusions/pom.xml
<artifactId>maven-core-it-support</artifactId> <version>1.3</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> </exclusions> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t09/p0/pom.xml
<dependency> <groupId>maven-test</groupId> <artifactId>t09-b</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId>maven-test</groupId> <artifactId>t09-c</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </dependencyManagement>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 815 bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
return addDependency(groupId, artifactId, version, scope, (Exclusion) null); } public ProjectBuilder addDependency( String groupId, String artifactId, String version, String scope, Exclusion exclusion) { return addDependency(groupId, artifactId, version, scope, null, exclusion); } public ProjectBuilder addDependency(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/pom.xml
<artifactId>truth</artifactId> <version>${truth.version}</version> <scope>test</scope> <exclusions> <exclusion> <!-- use the guava we're building. --> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-testlib/pom.xml
<artifactId>truth</artifactId> <version>${truth.version}</version> <scope>test</scope> <exclusions> <exclusion> <!-- use the guava we're building. --> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java
Dependency source, boolean sourceDominant, Map<Object, Object> context) { List<Exclusion> tgt = target.getExclusions(); if (tgt.isEmpty()) { List<Exclusion> src = source.getExclusions(); builder.exclusions(src); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertViolations(result, 0, 0, 2); assertContains( result.getWarnings().get(0), "'dependencies.dependency.exclusions.exclusion.groupId' for gid:aid:jar is missing"); assertContains( result.getWarnings().get(1), "'dependencies.dependency.exclusions.exclusion.artifactId' for gid:aid:jar is missing"); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.8K bytes - Viewed (0)