Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for Singleton (0.06 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    DependencyScope.COMPILE_ONLY.isTransitive(),
                    singleton(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.BUILD_PATH_COMPILE)));
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.TEST_RUNTIME.id(),
                    DependencyScope.TEST_RUNTIME.isTransitive(),
                    singleton(CommonBuilds.PROJECT_PATH_TEST, CommonBuilds.BUILD_PATH_RUNTIME)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionSchemeProvider.java

    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * Default version scheme provider: provides singleton {@link GenericVersionScheme} instance.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.FileNotFoundException;
    import java.net.URISyntaxException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            Set<Artifact> artifactDependencies =
                resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session );
            assertEquals( 0, artifactDependencies.size() );
    
            artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session );
            assertEquals( 1, artifactDependencies.size() );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.Set;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java

     */
    package org.apache.maven.project;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.resolver.DefaultArtifactResolver;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestArtifactResolver extends DefaultArtifactResolver {
        private ArtifactMetadataSource source;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

    package org.apache.maven.internal.impl.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.internal.CoreRealm;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    @Named
    @Singleton
    public class DefaultCoreRealm implements CoreRealm {
    
        private final PlexusContainer container;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.google.MultisetFeature.ENTRIES_ARE_VIEWS;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multisets;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.plugin;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    
    /**
     * Resolves conflicting artifacts by always selecting the farthest declaration. Farthest is defined as the
     * declaration that has the most transitive steps away from the project being built.
     *
     * @since 3.0
     */
    @Named("farthest")
    @Singleton
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top