Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Profiles2 (0.04 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

                    problems.messages.get(0), "'profiles.profile[default].repositories.repository.id' must not be 'local'");
            assertContains(
                    problems.messages.get(1),
                    "'profiles.profile[default].repositories.repository.url' for local is missing");
            assertContains(
                    problems.messages.get(2),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

    /**
     * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
     * build if those profiles do not exist.
     */
    public class ProfileActivation {
        private final Map<String, ActivationSettings> activations = new HashMap<>();
    
        /**
         * Mimics the pre-Maven 4 "active profiles" list.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProfileSelector {
    
        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    import org.apache.maven.model.profile.activation.ProfileActivator;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultProfileSelector implements ProfileSelector {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            if (profiles == null) {
                profiles = new ArrayList<>();
            }
    
            return profiles;
        }
    
        @Override
        public DefaultModelBuildingRequest setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles = null;
            }
    
            return this;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         *         not refer to a known model.
         */
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuildingRequest#getProfiles()}.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List)
         */
        @Override
        public void addProfiles(List<Profile> profiles) {
            for (Profile profile1 : profiles) {
                addProfile(profile1);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/settings-template.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'>
      <profiles>
        <profile>
          <id>maven-core-it-repo</id>
          <repositories>
            <repository>
              <id>maven-core-it</id>
              <url>@baseurl@/repo</url>
              <releases>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 17:09:50 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top