Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for promise (0.17 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-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)
  4. 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)
  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/main/resources/META-INF/maven/org.apache.maven.api.di.Inject

    org.apache.maven.internal.impl.model.BuildModelTransformer
    org.apache.maven.internal.impl.model.profile.FileProfileActivator
    org.apache.maven.internal.impl.model.profile.JdkVersionProfileActivator
    org.apache.maven.internal.impl.model.profile.OperatingSystemProfileActivator
    org.apache.maven.internal.impl.model.profile.PackagingProfileActivator
    org.apache.maven.internal.impl.model.profile.PropertyProfileActivator
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. api/maven-api-model/src/main/mdo/maven.mdo

            automatic inclusion of the build profile. Multiple conditions can be defined, which must
            be all satisfied to activate the profile.
          </description>
          <fields>
            <field>
              <name>activeByDefault</name>
              <version>4.0.0+</version>
              <type>boolean</type>
              <description>If set to true, this profile will be active unless another profile in this
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  9. 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)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
        }
    
        private org.apache.maven.settings.Proxy getProxy(
                ArtifactRepository repository, List<org.apache.maven.settings.Proxy> proxies) {
            if (proxies != null && repository.getProtocol() != null) {
                for (org.apache.maven.settings.Proxy proxy : proxies) {
                    if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
Back to top