Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 179 for collection (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                projectKeys.add(key);
            }
            return projectKeys;
        }
    
        private Collection<String> negate(Collection<String> scopes) {
            Collection<String> result = new HashSet<>();
            Collections.addAll(result, "system", "compile", "provided", "runtime", "test");
    
            for (String scope : scopes) {
                if ("compile".equals(scope)) {
                    result.remove("compile");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Objects;
    
    import org.apache.maven.api.ArtifactCoordinates;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.Exclusion;
    import org.apache.maven.api.Session;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return mainArtifact.flatMap(artifactManager::getPath);
        }
    
        @Nonnull
        @Override
        public Collection<ProducedArtifact> getAttachedArtifacts(@Nonnull Project project) {
            requireNonNull(project, "project" + " cannot be null");
            Collection<ProducedArtifact> attached =
                    map(getMavenProject(project).getAttachedArtifacts(), a -> getSession(project)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    package org.apache.maven.internal.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                scopesToCollect.addAll(toScopes(mojoDescriptor.getDependencyCollectionRequired()));
            }
        }
    
        private Collection<String> toScopes(String classpath) {
            Collection<String> scopes = Collections.emptyList();
    
            if (classpath != null && !classpath.isEmpty()) {
                if (Artifact.SCOPE_COMPILE.equals(classpath)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" description="Many no-argument Guava Collection factory methods are marked in their javadoc &quot;Should be treated as deprecated&quot;.  These should not be used." suppressId="guava-collection-factory" problemDescriptor="Treat some Guava Collection factory methods as Deprecated" text="com.google.common.collect.Lists.newArrayList()"...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 26 21:49:47 GMT 2024
    - 15.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @see org.apache.maven.api.services.ArtifactResolver#resolve(Session, Collection)
         */
        @Nonnull
        Collection<DownloadedArtifact> resolveArtifacts(@Nonnull Collection<? extends ArtifactCoordinates> coordinates);
    
        /**
         * Shortcut for {@code getService(ArtifactResolver.class).resolve(...)}.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                            }
                                        }
                                    } else if (Collection.class.isAssignableFrom(type)) {
                                        Collection<Object> c = (Collection<Object>) field.get(target);
                                        if (c != null && !c.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
         * javadoc jar, test jars). These artifacts are created and attached during specific
         * lifecycle phases, so the collection contents depend on the build phase when this method
         * is called.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Object value = ee.evaluate("${mojo.plugin.dependencies}");
    
            assertInstanceOf(Collection.class, value);
    
            @SuppressWarnings("unchecked")
            Collection<Artifact> artifacts = (Collection<Artifact>) value;
    
            assertEquals(1, artifacts.size());
    
            Artifact result = artifacts.iterator().next();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top