Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,030 for bind (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

            bind(MojoExecutionScope.class).toInstance(scope);
            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class))
                    .in(scope);
            bind(MojoExecution.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MojoExecution.class))
                    .in(scope);
            bind(Log.class)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.config/gcloud,destination=/config/.config/gcloud,readonly "
    fi
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                this.binder = binder;
            }
    
            @Override
            protected <U> Injector bind(Key<U> key, Binding<U> binding) {
                super.bind(key, binding);
                if (key.getQualifier() != null) {
                    com.google.inject.Key<U> k = toGuiceKey(key);
                    this.binder.bind(k).toProvider(new BridgeProvider<>(binding));
                }
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            return new AbstractModule() {
                @Override
                protected void configure() {
                    bind(ILoggerFactory.class).toInstance(context.loggerFactory);
                    bind(CoreExports.class).toInstance(exports);
                    bind(MessageBuilderFactory.class).toInstance(context.invokerRequest.messageBuilderFactory());
                }
            };
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
    
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

                        snapshotMetadata = new LocalSnapshotMetadata(artifact, timestamp);
                        snapshots.put(key, snapshotMetadata);
                    }
                    snapshotMetadata.bind(artifact);
                }
            }
    
            return Collections.emptyList();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
            return artifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

        @Inject
        public MojoExecutionScopeCoreModule() {
            super(new MojoExecutionScope());
        }
    
        @Override
        protected void configure() {
            super.configure();
            bind(MojoExecutionListener.class).toInstance(scope);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
            metadata.setModelVersion("1.1.0");
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

                        snapshotMetadata = new RemoteSnapshotMetadata(artifact, timestamp, buildNumber);
                        snapshots.put(key, snapshotMetadata);
                    }
                    snapshotMetadata.bind(artifact);
                }
            }
    
            return snapshots.values();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top