Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 376 for Profile (0.04 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java

    /**
     * Tests {@code Profile}.
     *
     */
    class ProfileTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Profile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Profile().equals(null));
    
            new Profile().equals(new Profile());
        }
    
        @Test
        void testEqualsIdentity() {
            Profile thing = new Profile();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Profiles
        List<Profile> getProfiles();
    
        MavenExecutionRequest addProfile(Profile profile);
    
        MavenExecutionRequest setProfiles(List<Profile> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        MavenExecutionRequest addActiveProfile(String profile);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/duplicate-plugin-execution.xml

                <phase>test</phase>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>test</id>
          <build>
            <pluginManagement>
              <plugins>
                <plugin>
                  <groupId>profile</groupId>
                  <artifactId>managed-plugin</artifactId>
                  <executions>
                    <execution>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        @Override
        public void setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles.clear();
            }
        }
    
        @Override
        public void addProfile(Profile profile) {
            profiles.add(profile);
        }
    
        @Override
        public List<Profile> getProfiles() {
            return profiles;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        private List<Profile> getProfiles(Model model) {
            ArrayList<Profile> profiles = new ArrayList<>();
            for (Profile profile : model.getProfiles()) {
                profile = profile.clone();
                profiles.add(profile);
            }
            return profiles;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

            return this;
        }
    
        @Override
        public List<Profile> getProfiles() {
            return request.getProfiles();
        }
    
        @Override
        public FilterModelBuildingRequest setProfiles(List<Profile> profiles) {
            request.setProfiles(profiles);
    
            return this;
        }
    
        @Override
        public List<String> getActiveProfileIds() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. 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)
  8. apache-maven/src/assembly/maven/conf/settings.xml

         | to accomplish, particularly when you only have a list of profile id's for debug.
         |
         | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
        <profile>
          <id>jdk-1.4</id>
    
          <activation>
            <jdk>1.4</jdk>
          </activation>
    
          <repositories>
            <repository>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @Test
        void testIsActiveExistsLeavesFileUnchanged() {
            Profile profile = newExistsProfile("file.txt");
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
    
            assertActivation(true, profile, context);
    
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
        }
    
        private Profile newExistsProfile(String filePath) {
            ActivationFile activationFile =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the external profiles that should be considered for model building.
         *
         * @return The external profiles that should be considered for model building, never {@code null}.
         */
        List<Profile> getProfiles();
    
        /**
         * Sets the external profiles that should be considered for model building.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top