- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getAsSettings (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Experimental @ThreadSafe public interface Session { /** * Retrieves the settings for the current session. * * @return the settings instance */ @Nonnull Settings getSettings(); /** * Retrieves the local repository associated with this session. * * @return the local repository instance */ @Nonnull LocalRepository getLocalRepository(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0)