Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for getVersion (0.13 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                }
            }
        }
    
        //
        // CI friendly versions
        //
        void handleCiFriendlyVersion(TransformerContext context, Model model) {
            String version = model.getVersion();
            String modVersion = replaceCiFriendlyVersion(context, version);
            model.setVersion(modVersion);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
                if (!topProject.getVersion().equals(mavenProject.getVersion())) {
                    result = false;
                    break;
                }
            }
    
            return result;
        }
    
        private void logReactorSummary(MavenSession session) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        resolve(result, infos, RELEASE);
                    }
    
                    if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) {
                        VersionRequest subRequest = new VersionRequest();
                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

            return create(DependencyCoordinatesFactoryRequest.build(
                    session,
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getVersion(),
                    dependency.getClassifier(),
                    null,
                    dependency.getType()));
        }
    
        @Nonnull
        default DependencyCoordinates create(@Nonnull Session session, Plugin plugin) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
            assertEquals("07.20.3-20120809.112920-97", resultB.getVersion());
    
            VersionRequest requestA = new VersionRequest();
            requestA.addRepository(newTestRepository());
    
            Artifact artifactA =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                            if (relocation.getVersion() != null) {
                                // note: see MNG-3454. This causes a problem, but fixing it may break more.
                                artifact.setVersionRange(VersionRange.createFromVersion(relocation.getVersion()));
                                relocatedArtifact = artifact;
                                project.setVersion(relocation.getVersion());
                            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    if (equals(existing.getVersion(), dependency.getVersion())) {
                        msg = "duplicate declaration of version " + Objects.toString(dependency.getVersion(), "(?)");
                    } else {
                        msg = "version " + Objects.toString(existing.getVersion(), "(?)") + " vs "
                                + Objects.toString(dependency.getVersion(), "(?)");
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            return metadata.getGroupId();
        }
    
        @Override
        public String getArtifactId() {
            return metadata.getArtifactId();
        }
    
        @Override
        public String getVersion() {
            return metadata.getVersion();
        }
    
        @Override
        public Nature getNature() {
            return Nature.SNAPSHOT;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public String getArtifactId() {
            return project.getArtifactId();
        }
    
        @Nonnull
        @Override
        public String getVersion() {
            return project.getVersion();
        }
    
        @Nonnull
        @Override
        public List<ProducedArtifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top