Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for getVersion (0.17 sec)

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

                if (plugin.getVersion() == null) {
                    PluginVersionRequest request = new DefaultPluginVersionRequest(
                            plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
                    plugin.setVersion(pluginVersionResolver.resolve(request).getVersion());
                }
                versions.put(plugin.getKey(), plugin.getVersion());
            }
    
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                return null;
            }
    
            String version = getVersion(candidateModel);
            if (version != null && parent.getVersion() != null && !version.equals(parent.getVersion())) {
                try {
                    VersionRange parentRange = versionParser.parseVersionRange(parent.getVersion());
                    if (!parentRange.contains(versionParser.parseVersion(version))) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. 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<Artifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

            pluginArtifactId = plugin.getArtifactId();
            pluginVersion = plugin.getVersion();
        }
    
        public PluginManagerException(Plugin plugin, String message, Throwable cause) {
            super(message, cause);
    
            pluginGroupId = plugin.getGroupId();
            pluginArtifactId = plugin.getArtifactId();
            pluginVersion = plugin.getVersion();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
            parent.setVersion("1");
    
            assertNotNull(this.newModelResolver().resolveModel(parent.getDelegate(), new AtomicReference<>()));
            assertEquals("1", parent.getVersion());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentUsingHighestVersion() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list");
            assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version");
            assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version");
        }
    
        @Test
        void testResolveNearestNewestIsNearest() throws ArtifactResolutionException, InvalidVersionSpecificationException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

                    res.getIncidentEdges(v2).get(0).getVersion(),
                    "wrong edge v1-v2 in the resulting graph after resolver");
    
            assertEquals(
                    1, res.getIncidentEdges(v3).size(), "wrong # of edges v1-v3 in the resulting graph after resolver");
            assertEquals(
                    "1.1",
                    res.getIncidentEdges(v3).get(0).getVersion(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

                    && Objects.equals(this.getArtifactId(), that.getArtifactId())
                    && Objects.equals(this.getVersion(), that.getVersion())
                    && Objects.equals(this.getClassifier(), that.getClassifier());
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getGroupId(), getArtifactId(), getVersion(), getClassifier());
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

                    && Objects.equals(this.getArtifactId(), that.getArtifactId())
                    && Objects.equals(this.getVersion(), that.getVersion())
                    && Objects.equals(this.getClassifier(), that.getClassifier());
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getGroupId(), getArtifactId(), getVersion(), getClassifier());
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top