Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for GetSettings (0.09 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

    import java.io.File;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     */
    class DefaultSettingsBuilderFactoryTest {
    
        private File getSettings(String name) {
            return new File("src/test/resources/settings/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return repositories == null ? null : map(repositories, this::toArtifactRepository);
        }
    
        @Nonnull
        @Override
        public Settings getSettings() {
            return getMavenSession().getSettings().getDelegate();
        }
    
        @Nonnull
        @Override
        public Map<String, String> getUserProperties() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
        public String getSettings() {
            return getContent();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    // Enabled returns if configURL is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ConfigURL) != ""
    }
    
    // GetSettings - fetches OIDC settings for site-replication related validation.
    // NOTE that region must be populated by caller as this package does not know.
    func (r *Config) GetSettings() madmin.OpenIDSettings {
    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    	h := sha256.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * </p>
     *
     *
     * @since 4.0.0
     * @see Repository
     * @see LocalRepository
     * @see Session#getSettings()
     * @see ModelBase#getRepositories()
     * @see ModelBase#getPluginRepositories()
     */
    @Experimental
    @Immutable
    public interface RemoteRepository extends Repository {
    
        @Nonnull
        String getUrl();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        }
    
        @Deprecated
        public ArtifactRepository getMirrorRepository(ArtifactRepository repository) {
    
            Mirror mirror = mirrorSelector.getMirror(
                    repository, legacySupport.getSession().getSettings().getMirrors());
    
            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                        PluginNotFoundException, PluginVersionNotFoundException {
            return verifyPlugin(plugin, project, session.getSettings(), session.getLocalRepository());
        }
    
        public PluginDescriptor loadPluginFully(Plugin plugin, MavenProject project, MavenSession session)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            return new ProtoSession(
                    session, repositorySystem, repositories, null, lookup, new Context(userProperties, systemProperties));
        }
    
        @Override
        public Settings getSettings() {
            return Settings.newInstance();
        }
    
        @Override
        public Map<String, String> getUserProperties() {
            return Map.of();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         *
         * @return The system properties, never {@code null}.
         */
        public Properties getSystemProperties() {
            return request.getSystemProperties();
        }
    
        public Settings getSettings() {
            return settings;
        }
    
        public List<MavenProject> getProjects() {
            return projects;
        }
    
        /**
         * @deprecated use {@link #getTopDirectory()} ()}
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .flatMap(p -> p.getModel().getDelegate().getProfiles().stream())
                    .map(Profile::getId);
            final Stream<String> settingsProfiles =
                    session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId);
            final Stream<String> superPomProfiles = superPomModels.values().stream()
                    .flatMap(p -> p.getProfiles().stream())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top