Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Profiles2 (0.21 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

        <packaging>\${package.type}</packaging>
    
        <profiles>
            <profile>
                <id>profile-1</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <properties>
                    <package.type>war</package.type>
                </properties>
            </profile>
        </profiles>
    </project>
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy

            </profile>
            <profile>
                <id>profile-3</id>
            </profile>
        </profiles>
    </project>
    """
            pomReader = new PomReader(locallyAvailableExternalResource, moduleIdentifierFactory)
    
            then:
            pomReader.parseActivePomProfiles().size() == 0
        }
    
        def "parse POM with multiple active profiles having the same ID"() {
            when:
            pomFile << """
    <project>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    outsidePlugins,
                    "plugin-all-profiles",
                    "Outside ||${project.basedir}||",
                    "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>");
    
            // =============================================
            Profile activeProfile = originalModel.getProfiles().stream()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

        }
    
        private List<Profile> interpolateActivations(
                List<Profile> profiles, DefaultProfileActivationContext context, DefaultModelProblemCollector problems) {
            if (profiles.stream()
                    .map(org.apache.maven.api.model.Profile::getActivation)
                    .noneMatch(Objects::nonNull)) {
                return profiles;
            }
            final Interpolator xform = new RegexBasedInterpolator();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                List<org.apache.maven.api.model.Profile> profiles,
                DefaultProfileActivationContext context,
                DefaultModelProblemCollector problems) {
            if (profiles.stream()
                    .map(org.apache.maven.api.model.Profile::getActivation)
                    .noneMatch(Objects::nonNull)) {
                return profiles;
            }
            final Interpolator xform = new RegexBasedInterpolator();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * {@code <groupId>:<artifactId>:<version>} for a POM profile or {@code external} for profiles from the
         * {@code settings.xml}.
         *
         * @return The identifiers of all injected profiles, indexed by the source from which the profiles originated, never
         *         {@code null}.
         */
        public Map<String, List<String>> getInjectedProfileIds() {
            return this.injectedProfileIds;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                            parent);
                }
            }
    
            if (request.getValidationLevel() == ModelBuilderRequest.VALIDATION_LEVEL_MINIMAL) {
                // profiles: they are essential for proper model building (may contribute profiles, dependencies...)
                HashSet<String> minProfileIds = new HashSet<>();
                for (org.apache.maven.api.model.Profile profile : m.getProfiles()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	vars := mux.Vars(r)
    	profiles := strings.Split(vars[peerRESTProfiler], ",")
    	if len(profiles) == 0 {
    		s.writeErrorResponse(w, errors.New("profiler name is missing"))
    		return
    	}
    	globalProfilerMu.Lock()
    	defer globalProfilerMu.Unlock()
    	if globalProfiler == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                project.setArtifacts(artifacts);
    
                return resolutionResult;
            }
        }
    
        private List<String> getProfileIds(List<Profile> profiles) {
            return profiles.stream().map(Profile::getId).collect(Collectors.toList());
        }
    
        private static ModelSource createStubModelSource(Artifact artifact) {
            StringBuilder buffer = new StringBuilder(1024);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  10. src/runtime/mgcmark.go

    )
    
    // gcDrainMarkWorkerIdle is a wrapper for gcDrain that exists to better account
    // mark time in profiles.
    func gcDrainMarkWorkerIdle(gcw *gcWork) {
    	gcDrain(gcw, gcDrainIdle|gcDrainUntilPreempt|gcDrainFlushBgCredit)
    }
    
    // gcDrainMarkWorkerDedicated is a wrapper for gcDrain that exists to better account
    // mark time in profiles.
    func gcDrainMarkWorkerDedicated(gcw *gcWork, untilPreempt bool) {
    	flags := gcDrainFlushBgCredit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top