Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 226 for setVersion (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        }
    
        // DefaultProjectBuilder
        public Artifact createDependencyArtifact(Dependency d) {
            if (d.getVersion() == null) {
                return null;
            }
    
            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                return null;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            for (MavenProject p : projectsInRequestScope) {
                String projectKey = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
    
                projectsMap.put(projectKey, p);
            }
    
            for (MavenProject project : projects) {
                // MNG-1911 / MNG-5572: Building plugins with extensions cannot be part of reactor
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            PluginDescriptor pd = mojoDescriptor.getPluginDescriptor();
            return pluginKey(pd.getGroupId(), pd.getArtifactId(), pd.getVersion());
        }
    
        private String pluginKey(Artifact pluginArtifact) {
            return pluginKey(pluginArtifact.getGroupId(), pluginArtifact.getArtifactId(), pluginArtifact.getVersion());
        }
    
        private void mayReportInline(RepositorySystemSession session, IssueLocality locality, String issue) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

            return create(ArtifactCoordinatesFactoryRequest.build(
                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().toString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

                        message,
                        "  ",
                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        artifact.getVersion(),
                        artifact.getType(),
                        artifact.getClassifier(),
                        artifact.getDownloadUrl(),
                        artifact.getDependencyTrail()));
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        public String getGroupId() {
            return pluginInfo.groupId;
        }
    
        @Override
        public String getArtifactId() {
            return "";
        }
    
        @Override
        public String getVersion() {
            return "";
        }
    
        @Override
        public Nature getNature() {
            return Nature.RELEASE_OR_SNAPSHOT;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(new DefaultSessionFactory(
                            getContainer().lookup(RepositorySystem.class),
                            getContainer().lookup(MavenRepositorySystem.class),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            // Don't consider the artifact's version in here, as this is stored in the directory above that
            return false;
        }
    
        @Override
        public int getNature() {
            if (artifact.getVersion() != null) {
                return artifact.isSnapshot() ? SNAPSHOT : RELEASE;
            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top