Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 139 for getgroups (0.05 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         */
        @Test
        public void testArtifactMap() throws Exception {
            assertEquals(
                    "g0",
                    ((Artifact) ReflectionValueExtractor.evaluate("project.artifactMap(g0:a0:c0)", project)).getGroupId());
            assertEquals(
                    "a1",
                    ((Artifact) ReflectionValueExtractor.evaluate("project.artifactMap(g1:a1:c1)", project))
                            .getArtifactId());
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            }
            return toId(model.getDelegate());
        }
    
        static String toId(org.apache.maven.api.model.Model model) {
            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
    
            String artifactId = model.getArtifactId();
    
            String version = model.getVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            if (model != null) {
                Build build = model.getBuild();
                if (build != null) {
                    for (Plugin plugin : build.getPlugins()) {
                        if (groupId.equals(plugin.getGroupId()) && artifactId.equals(plugin.getArtifactId())) {
                            return plugin;
                        }
                    }
    
                    PluginManagement mgmt = build.getPluginManagement();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

        protected AbstractArtifactResolutionException(
                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable t) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    remoteRepositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

        }
    
        public boolean include(Artifact artifact) {
            String id = artifact.getArtifactId();
    
            if (excludes.contains(id)) {
                return false;
            }
    
            id = artifact.getGroupId() + ':' + id;
    
            return !excludes.contains(id);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + excludes.hashCode();
            return hash;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

        public IncludesArtifactFilter(List<String> patterns) {
            this.patterns = new LinkedHashSet<>(patterns);
        }
    
        public boolean include(Artifact artifact) {
            String id = artifact.getGroupId() + ":" + artifact.getArtifactId();
    
            boolean matched = false;
            for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

            super(path);
            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.hashCode = Objects.hash(groupId, artifactId, version);
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            tasks.register("serveDocs", ServeDocs.class, task -> {
                task.setDescription("Runs a local webserver to serve generated documentation.");
                task.setGroup("documentation");
    
                int webserverPort = 8000;
                task.getJavaLauncher().set(
                    task.getProject().getExtensions().getByType(JavaToolchainService.class)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            {
                if ( d.getExclusions() != null )
                {
                    for ( Exclusion e : d.getExclusions() )
                    {
                        exclusions.add(  e.getGroupId() + ":" + e.getArtifactId() );
                    }
                }
            }
    
            ArtifactFilter scopeFilter = new ScopeArtifactFilter( scope );
    
            ArtifactFilter filter;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            try {
                PluginPrefixResult result = pluginPrefixResolver.resolve(request);
    
                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
                plugin.setArtifactId(result.getArtifactId());
    
                return plugin;
            } catch (NoPluginFoundForPrefixException e) {
                return null;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top