Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for getGroupId (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

     *
     */
    public interface ClassRealmConstituent {
    
        /**
         * Gets the group id of the constituent's artifact.
         *
         * @return The group id, never {@code null}.
         */
        String getGroupId();
    
        /**
         * Gets the artifact id of the constituent's artifact.
         *
         * @return The artifact id, never {@code null}.
         */
        String getArtifactId();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

        }
    
        @Nonnull
        default ArtifactCoordinates create(@Nonnull Session session, Artifact artifact) {
            return create(ArtifactCoordinatesFactoryRequest.build(
                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().asString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
                        artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
                            relocation.getVersion(),
                            relocation.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top