Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for collections (0.38 sec)

  1. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
            this.source = source;
            this.locations =
                    selfLocationKey != null ? Collections.singletonMap(selfLocationKey, this) : Collections.emptyMap();
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source, Map<Object, InputLocation> locations) {
            this.lineNumber = lineNumber;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

        private MavenProject project;
    
        private List<MavenProject> topologicallySortedProjects = Collections.emptyList();
    
        private DependencyResolutionResult dependencyResolutionResult;
    
        private final List<Throwable> exceptions = new CopyOnWriteArrayList<>();
    
        private final Map<MavenProject, BuildSummary> buildSummaries = Collections.synchronizedMap(new IdentityHashMap<>());
    
        private boolean canResume = false;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        public CoreExtensionEntry(
                ClassRealm realm,
                Collection<String> artifacts,
                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. 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)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequest;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setPluginArtifacts(Collections.unmodifiableSet(project.getPluginArtifacts()));
            }
    
            if (project.getReportArtifacts() != null) {
                setReportArtifacts(Collections.unmodifiableSet(project.getReportArtifacts()));
            }
    
            if (project.getExtensionArtifacts() != null) {
                setExtensionArtifacts(Collections.unmodifiableSet(project.getExtensionArtifacts()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Collectors;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.Dependency;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        /**
         * The collection of "G:A" combinations that do NOT belong to Maven Core, hence, should be excluded from
         * "expected in provided scope" type of checks.
         */
        static final Collection<String> EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA =
                Collections.unmodifiableCollection(Arrays.asList(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

         * @since 3.5.0
         * @deprecated Use {@link #DefaultProjectDependencyGraph(Collection, Collection)} instead.
         */
        @Deprecated
        public DefaultProjectDependencyGraph(List<MavenProject> allProjects, Collection<MavenProject> projects)
                throws CycleDetectedException, DuplicateProjectException {
            this((Collection<MavenProject>) allProjects, projects);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top