Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 345 for getVersion (0.05 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("docsUrl", "https://docs.gradle.org");
    
                // TODO: This breaks if the version is changed later.
                attributes.put("gradleVersion", project.getVersion().toString());
                attributes.put("gradleVersion90", "9.0.0");
                attributes.put("gradleVersion8", "8.14.3");
                attributes.put("snippetsPath", "snippets");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            pd.setArtifactId("my-plugin");
            pd.setGroupId("org.myco.plugins");
            pd.setVersion("1");
    
            DefaultArtifact artifact = new DefaultArtifact(
                    pd.getGroupId(),
                    pd.getArtifactId(),
                    pd.getVersion(),
                    "compile",
                    "maven-plugin",
                    "",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

                    && java.util.Objects.equals(e.getVersion(), getVersion());
            } else {
                return false;
            }
        }
    
        /**
         * @see java.lang.Object#hashCode()
         */
        public int hashCode() {
            return java.util.Objects.hash(getArtifactId(), getGroupId(), getVersion());
        }
                ]]>
              </code>
            </codeSegment>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

        // reason it isn't ? This localization is kind-of a code smell.
    
        public static String getKey(MavenProject project) {
            return project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        isCanBeConsumed = false
    
        attributes {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES))
        }
    }
    
    val groovyVersion = GroovySystem.getVersion()
    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isAtLeastGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    
    dependencies {
        rules("gradlebuild:code-quality-rules") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

            return new DefaultArtifact(
                    plugin.getGroupId(),
                    plugin.getArtifactId(),
                    null,
                    "jar",
                    plugin.getVersion(),
                    session.getArtifactTypeRegistry().get("maven-plugin"));
        }
    
        @Override
        public Artifact resolve(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

                    .filter(Objects::nonNull)
                    .collect(Collectors.toList());
            assertEquals(deps, deps2);
            for (Dependency dep : deps2) {
                dep.getVersion();
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                // TODO: metaversions could be extensible enum with these two values out of the box
                if ("LATEST".equals(coreExtension.getVersion()) || "RELEASE".equals(coreExtension.getVersion())) {
                    metaVersionLocations.computeIfAbsent(ga, k -> new ArrayList<>()).add(location);
                }
            }
            if (gasLocations.values().stream().anyMatch(l -> l.size() > 1)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                task.setDescription("Generate Javadocs for all API classes");
    
                // TODO: This breaks if version is changed later
                task.setTitle("Gradle API " + project.getVersion());
    
                StandardJavadocDocletOptions options = (StandardJavadocDocletOptions) task.getOptions();
                options.setEncoding("utf-8");
                options.setDocEncoding("utf-8");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            // resolve plugin version as necessary
            if (plugin.getVersion() == null) {
                PluginVersionRequest versionRequest = new DefaultPluginVersionRequest(plugin, session, repositories);
                try {
                    plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion());
                } catch (PluginVersionResolutionException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
Back to Top