Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addMetaData (0.18 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                        || metadata instanceof ArtifactRepositoryMetadata) {
                    // eaten, handled by repo system
                } else {
                    request.addMetadata(new MetadataBridge(metadata));
                }
            }
    
            try {
                repoSystem.install(session, request);
            } catch (InstallationException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            String snapshotKey = null;
            if (artifact.isSnapshot()) {
                snapshotKey = versionKey + ':' + artifact.getBaseVersion();
                request.addMetadata(relatedMetadata.get(snapshotKey));
            }
            request.addMetadata(relatedMetadata.get(versionKey));
    
            for (ArtifactMetadata metadata : artifact.getMetadataList()) {
                if (metadata instanceof ProjectArtifactMetadata) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact, snapshot);
    
                artifact.addMetadata(metadata);
            }
        }
    
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
        public void merge(ArtifactMetadata metadata) {
            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public String getDependencyConflictId() {
            return artifact.getDependencyConflictId();
        }
    
        /** {@inheritDoc} */
        public void addMetadata(ArtifactMetadata metadata) {
            artifact.addMetadata(metadata);
        }
    
        /** {@inheritDoc} */
        public Collection<ArtifactMetadata> getMetadataList() {
            return artifact.getMetadataList();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
        void addMetadata(ArtifactMetadata metadata);
    
        Collection<ArtifactMetadata> getMetadataList();
    
        void setRepository(ArtifactRepository remoteRepository);
    
        ArtifactRepository getRepository();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            } else {
                metadata = new SnapshotArtifactRepositoryMetadata(artifact);
            }
    
            repositoryMetadataManager.resolve(metadata, request);
    
            artifact.addMetadata(metadata);
    
            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            sb.append(getType());
            if (hasClassifier()) {
                sb.append(':');
                sb.append(getClassifier());
            }
        }
    
        @Override
        public void addMetadata(ArtifactMetadata metadata) {
            if (metadataMap == null) {
                metadataMap = new HashMap<>();
            }
    
            ArtifactMetadata m = metadataMap.get(metadata.getKey());
            if (m != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                    return false;
                };
            };
    
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/");
            responseData.addMetaData("X-Robots-Tag", "noindex,nofollow");
    
            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top