Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for setArtifact (0.1 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

    abstract class ExplodeZipAndFindJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File gradleJars = outputs.dir("gradle-jars")
            File dependencies = outputs.dir("gradle-dependencies")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            assertNull(
                    project1.getArtifact().getScope(),
                    "dependencyManagement has overwritten the scope of the currently building child project");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

        // PUT /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> put$index(final InstallBody body) {
            validateApi(body, messages -> {});
            final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version);
            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
            project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session));
    
            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

     */
    @Experimental
    @Immutable
    @Provider
    public interface Node {
    
        /**
         * @return artifact for this node
         */
        @Nullable
        Artifact getArtifact();
    
        /**
         * @return dependency for this node
         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        @Inject
        private UpdateCheckManager updateCheckManager;
    
        @Inject
        private LegacySupport legacySupport;
    
        //
        // Retriever
        //
        @Override
        public void getArtifact(
                Artifact artifact, ArtifactRepository repository, TransferListener downloadMonitor, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        }
    
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            return artifacts;
        }
    
        public void setArtifacts(Set<Artifact> artifacts) {
            this.artifacts = artifacts;
        }
    
        public Set<ResolutionNode> getArtifactResolutionNodes() {
            if (resolutionNodes == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            InternalMavenSession session = ((DefaultProject) project).getSession();
            Collection<ProducedArtifact> attached = map(
                    getMavenProject(project).getAttachedArtifacts(),
                    a -> session.getArtifact(ProducedArtifact.class, RepositoryUtils.toArtifact(a)));
            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<ProducedArtifact> getAllArtifacts(Project project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. 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)
Back to top