- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for getProperty (0.27 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
assertEquals("fff", s36, "7"); String s35 = props2.getProperty("g"); assertEquals("g", s35, "8"); String s34 = props2.getProperty("h h"); assertEquals("", s34, "9"); String s33 = props2.getProperty(" "); assertEquals("i=i", s33, "10"); String s32 = props2.getProperty("j"); assertEquals(" j", s32, "11");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
systemProperties.setProperty(Constants.MAVEN_BUILD_VERSION, mavenBuildVersion); Path mavenConf; if (systemProperties.getProperty(Constants.MAVEN_INSTALLATION_CONF) != null) { mavenConf = context.installationDirectory.resolve( systemProperties.getProperty(Constants.MAVEN_INSTALLATION_CONF)); } else if (systemProperties.getProperty("maven.conf") != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
or(paths::getProperty, prefix("cli.", commandLine::getOptionValue), systemProperties::getProperty); Path mavenConf; if (systemProperties.getProperty(MAVEN_INSTALLATION_CONF) != null) { mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF)); } else if (systemProperties.getProperty("maven.conf") != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
*/ public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH); /** * The OA architecture. */ public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH); /** * The OS version. */ public static final String OS_VERSION = System.getProperty("os.version").toLowerCase(Locale.ENGLISH); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
originalSystemProperty = System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); // Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system property if (originalSystemProperty != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
Model childModel = new Model(); childModel.setArtifactId("artifact"); MavenProject childProject = new MavenProject(childModel); File childFile = new File( System.getProperty("java.io.tmpdir"), "maven-project-tests" + System.currentTimeMillis() + "/child/pom.xml"); childProject.setFile(childFile);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile); config.addProfile(profile); } String localRepoPath = System.getProperty( "maven.repo.local", System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository"); Path absolutePath = Paths.get(localRepoPath).toAbsolutePath();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/Environment.java
* under the License. */ package org.apache.maven.cling.invoker.mvn; public final class Environment { private Environment() {} public static final String TOOLBOX_VERSION = System.getProperty("version.toolbox", "UNSET version.toolbox");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>(); for (String key : properties.stringPropertyNames()) { map.put(key, properties.getProperty(key)); } return map; } @Nonnull public static Properties toProperties(Map<String, String> properties) { requireNonNull(properties, "properties");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0)