Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 197 for GetVersion (0.05 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

            var extensions = project.getExtensions();
            var archivesBaseName = providerFactory.provider(() -> getArchivesBaseName(extensions));
            var projectVersion = providerFactory.provider(() -> project.getVersion());
            var generateMavenPoms = project.getTasks().withType(GenerateMavenPom.class);
            generateMavenPoms.configureEach(
                pomTask -> pomTask.setDestination(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    + (artifact.getClassifier() == null || artifact.getClassifier().isEmpty()
                            ? ""
                            : ":" + artifact.getClassifier())
                    + ":" + artifact.getVersion();
        }
    
        private String id(Artifact artifact) {
            return artifact.key();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java

                createProject(null),
                "testdistro",
                null,
                ElasticsearchDistributionTypes.ARCHIVE,
                Platform.LINUX,
                true
            );
            assertEquals(distro.getVersion(), VersionProperties.getElasticsearch());
        }
    
        public void testBadVersionFormat() {
            assertDistroError(
                createProject(null),
                "testdistro",
                "badversion",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                List<Artifact> ids = new LinkedList<>();
                ResolutionNode node = this;
                while (node != null) {
                    Artifact artifact = node.getArtifact();
                    if (artifact.getVersion() == null) {
                        // set the recommended version
                        ArtifactVersion selected = artifact.getSelectedVersion();
                        // MNG-2123: null is a valid response to getSelectedVersion, don't
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            addDom(dom, "groupId", plugin.getGroupId(), plugin.getLocation("groupId"));
            addDom(dom, "artifactId", plugin.getArtifactId(), plugin.getLocation("artifactId"));
            addDom(dom, "version", plugin.getVersion(), plugin.getLocation("version"));
    
            Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
            if (configuration != null) {
                configuration = new Xpp3Dom(configuration);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            Set<String> projectIds = new HashSet<>(projects.size() * 2);
    
            for (MavenProject p : projects) {
                String key = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
                projectIds.add(key);
            }
            return projectIds;
        }
    
        private Set<String> getIgnorableArtifacts(Iterable<Artifact> artifactIterable) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            if (effectiveScope == null) {
                return null;
            }
    
            VersionRange versionRange = VersionRange.createFromVersionSpec(dependency.getVersion());
    
            Artifact dependencyArtifact = factory.createDependencyArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    versionRange,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                column = e.getColumnNumber();
            }
    
            ModelProblem problem = new DefaultModelProblem(
                    req.getMessage(),
                    req.getSeverity(),
                    req.getVersion(),
                    source,
                    line,
                    column,
                    modelId,
                    req.getException());
    
            add(problem);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                // MNG-5368: Log a message instead of returning 'null' silently.
                this.logger.error(
                        String.format(
                                "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d),
                        e);
                return null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
Back to Top