- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 228 for projects (0.04 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java
long weightB = comparator.getProjectWeight(projectB); long weightC = comparator.getProjectWeight(projectC); long weightX = comparator.getProjectWeight(projectX); // Project A should have the highest weight as it's at the root assertTrue(weightA > weightB, "Project A should have weight > Project B"); assertTrue(weightA > weightC, "Project A should have weight > Project C");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 8.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
* is a prerequisite of the given project. * * @param project The project whose upstream projects should be retrieved, must not be {@code null}. * @param transitive A flag whether to retrieve all direct and indirect upstream projects or just the immediate * upstream projects.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
this(projects, projects); } /** * Creates a new project dependency graph based on the specified projects. * * @param allProjects All collected projects. * @param projects The projects to create the dependency graph with. * @throws DuplicateProjectException * @throws CycleDetectedException * @since 3.5.0
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
Map<MavenProject, List<MavenProject>> projects = new HashMap<>(); projects.put(p1, Collections.emptyList()); projects.put(p2, Collections.singletonList(p1)); BuildPlan plan = calculateLifecycleMappings(projects, "verify"); plan.then(calculateLifecycleMappings(projects, "install")); Stream.of(p1, p2).forEach(project -> {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
* projects with longer dependency chains are built first. When projects have * the same weight, they are ordered by project ID for deterministic results. * * <p><b>Example:</b> * <p>Consider projects with dependencies: A → B → D, A → C → D * <ul> * <li>Project D: weight = 1 (no downstream dependencies)</li> * <li>Project B: weight = 2 (1 + max(D=1))</li> * <li>Project C: weight = 2 (1 + max(D=1))</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (0) -
module-tests/build.gradle.kts
id("org.gradlex.extra-java-module-info") version "1.13.1" } dependencies { implementation(projects.okhttp) implementation(projects.loggingInterceptor) testImplementation(projects.okhttp) testImplementation(projects.loggingInterceptor) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5) testImplementation(libs.junit.jupiter.api)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:45:42 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java
List<MavenProject> filtered = new ArrayList<>(projects.size()); for (MavenProject project : projects) { if (whiteList.containsKey(project)) { filtered.add(project); } else if (!transitive) { filtered.addAll(upstream ? getUpstreamProjects(project, false) : getDownstreamProjects(project, false)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 19 16:34:39 GMT 2025 - 6.4K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
} private fun projectS(num: Int) = if (num == 1) "project" else "projects" private inline fun printResult(block: NullawayStatusService.() -> Unit) { val delimiter = "=".repeat(72) println(delimiter) block() println(delimiter) } companion object { val SERVICE_NAME = NullawayStatusService::class.qualifiedName!! }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
samples/compare/build.gradle.kts
plugins { kotlin("jvm") } dependencies { testImplementation(projects.okhttp) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5) testImplementation(projects.okhttpTls) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.httpClient5) testImplementation(libs.jettyClient) testImplementation(libs.junit) testImplementation(libs.assertk) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 473 bytes - Click Count (0) -
okhttp-logging-interceptor/build.gradle.kts
id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging" ) project.applyJavaModules("okhttp3.logging") dependencies { "friendsApi"(projects.okhttp) testImplementation(libs.junit) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 776 bytes - Click Count (0)