Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for bond (0.02 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

         *
         * @param type     a type to be bound
         * @param bindings a map of actual types
         */
        public static Type bind(Type type, Map<TypeVariable<?>, Type> bindings) {
            return bind(type, bindings::get);
        }
    
        /**
         * Binds a given type with actual type arguments
         *
         * @param type     a type to be bound
         * @param bindings a lookup function for actual types
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
                    .in(scope);
            bind(InternalMavenSession.class)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

            bind(MojoExecutionScope.class).toInstance(scope);
            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider())
                    .in(scope);
            bind(MojoExecution.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider())
                    .in(scope);
            bind(Log.class).toProvider(MojoExecutionScope.seededKeyProvider()).in(scope);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertEquals("The requested parent version range '[1.0,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = Parent.newBuilder()
                    .groupId("ut.simple")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertEquals("The requested parent version range '[1,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    "Expected 'ModelResolverException' not thrown.");
            assertEquals("The requested version range '[1,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = Parent.newBuilder()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java

                    // Message below is checked for in the MNG-2199 core IT.
                    throw new ModelResolverException(
                            String.format("The requested version range '%s' does not specify an upper bound", version),
                            groupId,
                            artifactId,
                            version);
                }
                List<Version> versions = session.resolveVersionRange(coord);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top