Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for getArtifact (0.2 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
            final String[] values = form.id.split(":");
            return ComponentUtil.getPluginHelper().getArtifact(values[0], values[1]);
        }
    
        public static void installArtifact(final Artifact artifact) {
            new Thread(() -> {
                final PluginHelper pluginHelper = ComponentUtil.getPluginHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    artifact.getClassifier(),
                    remoteRepositories,
                    artifact.getDependencyTrail(),
                    t);
            this.artifact = artifact;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (dependency == null) {
                return null;
            }
    
            org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact());
            result.setScope(dependency.getScope());
            result.setOptional(dependency.isOptional());
    
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                Files.delete(jarPath);
            } catch (final IOException e) {
                throw new PluginException("Failed to delete the artifact " + fileName, e);
            }
        }
    
        public Artifact getArtifact(final String name, final String version) {
            if (StringUtil.isBlank(name) || StringUtil.isBlank(version)) {
                return null;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            Stream.of(new ProjectArtifact(project)),
                            // main project artifact if not a pom
                            "pom".equals(project.getPackaging()) ? Stream.empty() : Stream.of(project.getArtifact())),
                    // attached artifacts
                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            //
            request = new ArtifactResolutionRequest()
                    .setArtifact(artifact)
                    .setResolveRoot(true)
                    .setResolveTransitively(true);
    
            result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top