Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for artifacts (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public void addArtifact(Artifact artifact) {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            return artifacts;
        }
    
        public void setArtifacts(Set<Artifact> artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                List<Artifact> artifacts) {
            List<ClassRealmConstituent> constituents = new ArrayList<>(artifacts == null ? 0 : artifacts.size());
    
            if (artifacts != null && !artifacts.isEmpty()) {
                boolean v4api = foreignImports != null && foreignImports.containsValue(maven4ApiRealm);
                for (Artifact artifact : artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param artifact the artifact for which to get a local path
         * @return local path associated to the given artifact, or {@code null} if none
         *
         * @see org.apache.maven.api.services.LocalRepositoryManager#getPathForLocalArtifact(Session, LocalRepository, Artifact)
         */
        Path getPathForLocalArtifact(@Nonnull Artifact artifact);
    
        /**
         * Gets the relative path for an artifact cached from a remote repository.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        /**
         * Gets the artifacts that make up the plugin's class realm, excluding artifacts shadowed by the Maven core realm
         * like {@code maven-project}.
         *
         * @return The plugin artifacts, never {@code null}.
         */
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void setArtifacts(List<Artifact> artifacts) {
            this.artifacts = artifacts;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException;
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.metadata.ResolutionGroup;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.LegacyLocalRepositoryManager;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    // attached artifacts
                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
        private void installIntoProjectLocalRepository(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
                    if (!artifacts.containsKey(artifact.getDependencyConflictId())) {
                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                for (Artifact artifact : artifacts.values()) {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            }
            log.debug("Populating class realm {}", realm.getId());
            for (Artifact artifact : artifacts) {
                String id = artifact.getGroupId() + ":" + artifact.getArtifactId();
                if (providedArtifacts.contains(id)) {
                    log.debug("  Excluded {}", id);
                } else {
                    File file = artifact.getFile();
                    log.debug("  Included {} located at {}", id, file);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        public class CacheRecord {
            private Artifact pomArtifact;
            private Artifact relocatedArtifact;
            private List<Artifact> artifacts;
            private Map<String, Artifact> managedVersions;
            private List<ArtifactRepository> remoteRepositories;
    
            private long length;
            private long timestamp;
    
            CacheRecord(
                    Artifact pomArtifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
Back to top