Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for promise (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

    import org.apache.maven.api.services.model.ProfileActivator;
    
    /**
     * Determines profile activation based on the existence or value of some execution property.
     *
     * @see ActivationProperty
     */
    @Named("property")
    @Singleton
    public class PropertyProfileActivator implements ProfileActivator {
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            String jdk = activation.getJdk();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        public List<RemoteRepository> getRemotePluginRepositories() {
            return remotePluginRepositories;
        }
    
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        public List<Profile> getActiveProfiles() {
            return activeProfiles;
        }
    
        public void setInjectedProfileIds(String source, List<String> injectedProfileIds) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

    /**
     * Determines profile activation based on the operating system of the current runtime platform.
     *
     * @see ActivationOS
     */
    @Named("os")
    @Singleton
    public class OperatingSystemProfileActivator implements ProfileActivator {
    
        private static final String REGEX_PREFIX = "regex:";
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    .collect(Collectors.toMap(Profile::getId, Profile::getActivation));
        }
    
        private Model injectProfileActivations(Model model, Map<String, Activation> activations) {
            List<Profile> profiles = new ArrayList<>();
            boolean modified = false;
            for (Profile profile : model.getProfiles()) {
                Activation activation = profile.getActivation();
                if (activation != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    "only-active-profile",
                    "Active only ||${project.basedir}||",
                    "<plugin-in-active-profile-only>Active only ||${project.basedir}||</plugin-in-active-profile-only>");
    
            // =============================================
    
            Profile inactiveProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("inactiveProfile"))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.model.profile;
    
    import java.util.Locale;
    import java.util.stream.Stream;
    
    /**
     * OS support
     */
    public class Os {
    
        /**
         * The OS Name.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *     <li>User properties (highest precedence)</li>
         * </ul>
         * Note: Project properties contains properties injected from profiles, if applicable. Their precedence is
         * {@code profile > project}, hence active profile property may override project property.
         * <p>
         * The caller of this method should decide whether there is a project in scope (hence, a project instance
         * needs to be passed) or not.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

                    problems.messages.get(0),
                    "'profiles.profile.id' must be unique but found duplicate profile with id test");
        }
    
        @Test
        void testValidateUniqueRepositoryId() throws Exception {
            Settings settings = new Settings();
            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
            Repository repo1 = new Repository();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top