Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for setRelocation (0.34 sec)

  1. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGenerator.java

            DistributionManagement target = new DistributionManagement();
            target.setDownloadUrl(source.getDownloadUrl().getOrNull());
            if (source.getRelocation() != null) {
                target.setRelocation(convertRelocation(source.getRelocation()));
            }
            return target;
        }
    
        private static Relocation convertRelocation(MavenPomRelocation source) {
            Relocation target = new Relocation();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ide/visualStudio/kotlin/build.gradle.kts

    // tag::configure-solution-location[]
    visualStudio {
        solution {
            solutionFile.setLocation(file("solution.sln"))
        }
    }
    // end::configure-solution-location[]
    
    // tag::configure-project-and-filters-location[]
    visualStudio {
        projects.all {
            projectFile.setLocation(file("project.vcxproj"))
            filtersFile.setLocation(file("project.vcxproj.filters"))
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 510 bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    plugin.setArtifactId(gs.artifactId);
                    plugin.setVersion(gs.version);
    
                    plugin.setLocation("", location);
                    plugin.setLocation("groupId", location);
                    plugin.setLocation("artifactId", location);
                    plugin.setLocation("version", location);
    
                    Plugin existing = plugins.get(plugin);
                    if (existing != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. maven-model/src/main/java/org/apache/maven/model/InputSource.java

        } // -- String getModelId()
    
        /**
         * Set the path/URL of the POM or {@code null} if unknown.
         *
         * @param location
         */
        public void setLocation(String location) {
            this.location = location;
        } // -- void setLocation( String )
    
        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @param modelId
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/ConfigurationCacheInstrumentationProcessorTest.groovy

            try (StandardJavaFileManager fileManager = compiler.getStandardFileManager(diagnostics, null, null)) {
                fileManager.tap {
                    setLocation(StandardLocation.SOURCE_PATH, [srcDir])
                    setLocation(StandardLocation.SOURCE_OUTPUT, [outDir])
                    setLocation(StandardLocation.CLASS_OUTPUT, [classesDir])
                }
                Iterable<? extends JavaFileObject> compilationUnits = classes.collect {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

            def location = ("javax.tools.StandardLocation" as Class).CLASS_OUTPUT
            fileManager.setLocation(location, [temp.testDirectory]);
    
            location = ("javax.tools.StandardLocation" as Class).CLASS_PATH
            fileManager.setLocation(location, [ClasspathUtil.getClasspathForClass(Element)]);
    
            def checkDiagnostic = { diagnostic ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomDistributionManagement.java

                relocation = objectFactory.newInstance(DefaultMavenPomRelocation.class, objectFactory);
            }
            action.execute(relocation);
        }
    
        @Override
        public MavenPomRelocation getRelocation() {
            return relocation;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            problems.add(new ModelProblemCollectorRequest(Severity.ERROR, ModelProblem.Version.BASE)
                    .setMessage("Failed to interpolate file location " + path + ": " + e.getMessage())
                    .setLocation(Optional.ofNullable(target.getLocation(locationKey))
                            .map(InputLocation::new)
                            .orElse(null))
                    .setException(e));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenPomDistributionManagementInternal.java

    import javax.annotation.Nullable;
    
    public interface MavenPomDistributionManagementInternal extends MavenPomDistributionManagement {
    
        @Nullable
        MavenPomRelocation getRelocation();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 992 bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
                                || relocation.global)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top