Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for promise (0.18 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/ProjectBuildingRequest.java

        /**
         * Add a {@link org.apache.maven.model.Profile} that has come from an external source. This may be from a custom
         * configuration like the MavenCLI settings.xml file, or from a custom dialog in an IDE integration like M2Eclipse.
         *
         * @param profile
         */
        void addProfile(Profile profile);
    
        void setProfiles(List<Profile> profiles);
    
        List<Profile> getProfiles();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.LegacySupport;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Helps to provide backward-compatibility with plugins that use legacy components. <strong>Warning:</strong> This is an
     * internal utility component that is only public for technical reasons, it is not part of the public API. In
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

                List<ArtifactRepository> remoteRepositories,
                ArtifactRepository localRepository,
                boolean allowStubModel)
                throws ProjectBuildingException;
    
        // TODO this is only to provide a project for plugins that don't need a project to execute but need some
        // of the values from a MavenProject. Ideally this should be something internal and nothing outside Maven
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.4K 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. 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)
  10. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top