Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for profile4 (0.19 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    outsidePlugins,
                    "plugin-all-profiles",
                    "Outside ||${project.basedir}||",
                    "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>");
    
            // =============================================
            Profile activeProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("activeProfile"))
                    .findFirst()
    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)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
            profile1.setId("test");
            settings.addProfile(profile1);
            Profile profile2 = new Profile();
            profile2.setId("test");
            settings.addProfile(profile2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    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)
  3. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List)
         */
        public void addProfiles(List<Profile> profiles) {
            for (Profile profile1 : profiles) {
                addProfile(profile1);
            }
        }
    
        public void activateAsDefault(String profileId) {
            if (!defaultIds.contains(profileId)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         */
        List<String> getActiveProfileIds();
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
         * @return The identifiers of those profiles to deactivate, never {@code null}.
         */
        List<String> getInactiveProfileIds();
    
        /**
    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)
  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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                this.processPlugins = processPlugins;
                return this;
            }
    
            public ModelBuilderRequestBuilder profiles(List<Profile> profiles) {
                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

            return this;
        }
    
        @Override
        public List<Profile> getActivePomProfiles(String modelId) {
            List<Profile> profiles = activePomProfiles.get(modelId);
            return profiles != null ? profiles : List.of();
        }
    
        public DefaultModelBuilderResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) {
            // Intentionally notNull because Super POM may not contain a modelId
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/projects/transform/after.pom

            </configuration>
          </plugin>
        </plugins>
      </build>
      <profiles>
        <profile>
          <id>default-active</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        /**
         * Gets the identifiers of all profiles that contributed to this project's effective model. This includes active
         * profiles from the project's POM and all its parent POMs as well as from external sources like the
         * {@code settings.xml}. The profile identifiers are grouped by the identifier of their source, e.g.
         * {@code <groupId>:<artifactId>:<version>} for a POM profile or {@code external} for profiles from the
    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)
  10. maven-core/src/test/projects/plugin-manager/project-with-inheritance/pom.xml

      <distributionManagement>
        <site>
          <id>apache.website</id>
          <url>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</url>
        </site>
      </distributionManagement>
      <profiles>
        <profile>
          <id>osgi</id>
          <build>
            <plugins>
              <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Aug 03 09:29:10 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top