Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for have (0.12 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    // to change them when I change the layout of the repositories. So I want to generate
    // the structure I want to test by using the artifact handler manager which dictates
    // the layout used for a particular artifact type.
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            // Then
            if (parameterExpectedResult instanceof SelectedProjectsResult) {
                assertThat(result.hasErrors())
                        .withFailMessage("Expected result not to have errors")
                        .isFalse();
                List<String> expectedProjectNames = ((SelectedProjectsResult) parameterExpectedResult).projectNames;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        @Nonnull
        Collection<Profile> getProfiles();
    
        /**
         * List of profile ids that have been explicitly activated by the user.
         */
        @Nonnull
        List<String> getActiveProfileIds();
    
        /**
         * List of profile ids that have been explicitly deactivated by the user.
         */
        @Nonnull
        List<String> getInactiveProfileIds();
    
        /**
    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)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertThrows(
                    InvalidVersionSpecificationException.class,
                    () -> VersionRange.createFromVersionSpec(version),
                    "Version " + version + " should have failed to construct");
        }
    
        @Test
        void testContains() throws InvalidVersionSpecificationException {
            ArtifactVersion actualVersion = new DefaultArtifactVersion("2.0.5");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        private final Properties executionProperties;
    
        private ThreadLocal<MavenProject> currentProject = new ThreadLocal<>();
    
        /**
         * These projects have already been topologically sorted in the {@link org.apache.maven.Maven} component before
         * being passed into the session. This is also the potentially constrained set of projects by using --projects
         * on the command line.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         <p>
         *         The restrictions of the returned version range will be an intersection of the restrictions
         *         of this version range and the specified version range if both version ranges have
         *         restrictions. Otherwise, the restrictions on the returned range will be empty.
         *         </p>
         *         <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                    settingsMerger.merge(user, settingsMerger.merge(project, global, false, null), false, null);
    
            // If no repository is defined in the user/global settings,
            // it means that we have "old" settings (as those are new in 4.0)
            // so add central to the computed settings for backward compatibility.
            if (effective.getRepositories().isEmpty()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            } catch (MavenExecutionException e) {
                return addExceptionToResult(result, e);
            }
    
            //
            // The projects need to be topologically after the participants have run their afterProjectsRead(session)
            // because the participant is free to change the dependencies of a project which can potentially change the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

    import org.eclipse.aether.resolution.VersionRangeResult;
    
    /**
     * A model resolver to assist building of projects. This resolver gives priority to those repositories that have been
     * declared in the POM.
     *
     */
    public class ProjectModelResolver implements ModelResolver {
    
        private static final int MAX_CAP = 0x7fff;
    
        private final RepositorySystemSession session;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top