Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for Builder (0.56 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            return builder(nonNull(request, "request cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

    class TestApiStandalone {
    
        @Test
        void testStandalone() {
            Session session = ApiRunner.createSession();
    
            ModelBuilder builder = session.getService(ModelBuilder.class);
            ModelBuilderResult result = builder.build(ModelBuilderRequest.builder()
                    .session(session)
                    .source(ModelSource.fromPath(Paths.get("pom.xml").toAbsolutePath()))
                    .projectBuild(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-builder-support/pom.xml

        <groupId>org.apache.maven</groupId>
        <artifactId>maven</artifactId>
        <version>4.0.0-beta-1-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-builder-support</artifactId>
    
      <name>Maven Builder Support</name>
      <description>Support for descriptor builders (model, setting, toolchains)</description>
    
      <dependencies>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. maven-bom/pom.xml

            <artifactId>maven-artifact</artifactId>
            <version>${project.version}</version>
          </dependency>
          <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-builder-support</artifactId>
            <version>${project.version}</version>
          </dependency>
          <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-core</artifactId>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/tests/org/jetbrains/kotlin/analysis/api/fe10/test/configurator/AnalysisApiFe10TestConfigurator.kt

        override val frontendKind: FrontendKind get() = FrontendKind.Fe10
    
        override val testPrefix: String
            get() = "descriptors"
    
        override fun configureTest(builder: TestConfigurationBuilder, disposable: Disposable) {
            builder.apply {
                useAdditionalService<KtTestModuleFactory> { KtSourceTestModuleFactory }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 22 12:44:13 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

            return result;
        }
    
        private void missingDescriptor(
                RepositorySystemSession session, RequestTrace trace, Artifact artifact, Exception exception) {
            RepositoryEvent.Builder event = new RepositoryEvent.Builder(session, EventType.ARTIFACT_DESCRIPTOR_MISSING);
            event.setTrace(trace);
            event.setArtifact(artifact);
            event.setException(exception);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java

            this.artifact = artifact;
        }
    
        private static Metadata createRepositoryMetadata(Artifact artifact) {
    
            Metadata.Builder metadata = Metadata.newBuilder();
            metadata.groupId(artifact.getGroupId());
            metadata.artifactId(artifact.getArtifactId());
    
            Versioning.Builder versioning = Versioning.newBuilder();
            versioning.versions(List.of(artifact.getBaseVersion()));
            if (!artifact.isSnapshot()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java

     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            private int getParallelism(ProjectBuildingRequest request) {
                int parallelism = DEFAULT_BUILDER_PARALLELISM;
                try {
                    String str = request.getUserProperties().getProperty(BUILDER_PARALLELISM);
                    if (str == null) {
                        str = request.getSystemProperties().getProperty(BUILDER_PARALLELISM);
                    }
                    if (str != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      @Test fun inUseConnectionsNotEvicted() {
        val pool = factory.newConnectionPool()
        val poolApi = ConnectionPool(pool)
        val c1 = factory.newConnection(pool, routeA1, 50L)
        val client =
          OkHttpClient.Builder()
            .connectionPool(poolApi)
            .build()
        val call = client.newCall(Request(addressA.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top