- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for setProperties (1.55 sec)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
String requiredMavenVersion = (String) result.getProperties().get("prerequisites.maven"); if (requiredMavenVersion != null) { Map<String, String> props = new LinkedHashMap<>(pluginArtifact.getProperties()); props.put("requiredMavenVersion", requiredMavenVersion); pluginArtifact = pluginArtifact.setProperties(props); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 15:32:43 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
originalSystemProperties = (Properties) System.getProperties().clone(); // Reset static state of the Handler class before each test for isolation resetHandlerState(); handler = new Handler(mockCifsContext); } @AfterEach void tearDown() throws Exception { // Restore system properties and clean up static state System.setProperties(originalSystemProperties); resetHandlerState();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
/** * Set the properties to be used for configuration. * * @param prp the properties to set */ public static void setProperties(final Properties prp) { Config.prp = new Properties(prp); try { Config.prp.putAll(System.getProperties()); } catch (final SecurityException se) { if (LogStream.level > 1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
throw handleException(context, e); } } finally { Thread.currentThread().setContextClassLoader(oldCL); System.setProperties(oldProps); } } protected int doInvoke(C context) throws Exception { validate(context); pushCoreProperties(context); pushUserProperties(context);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
model.addProperty("key1", "value1"); model.addProperty("key2", "value2"); assertEquals(2, model.getProperties().size()); // This should not throw NullPointerException model.getProperties().clear(); assertEquals(0, model.getProperties().size()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 08:09:30 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null)); assertEquals("false", depArtifact.getProperty("includesDependencies", null)); assertEquals(4, depArtifact.getProperties().size()); assertEquals("compile", dep2.getScope()); assertFalse(dep2.isOptional(), "Expected " + dep2 + ".isOptional() to return false"); assertEquals(0, dep2.getExclusions().size());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
BUILD_POM_CLASSIFIER, main.getExtension(), main.getVersion(), main.getProperties(), main.getPath())); } // If deployBuildPom is false, we simply don't add the build POM to the result }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
Properties properties = getMavenProject(project).getProperties(); if (value == null) { properties.remove(key); } else { properties.setProperty(key, value); } } @Override @Nonnull public Map<String, String> getProperties(@Nonnull Project project) { return Collections.unmodifiableMap(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
* * @param cmdList the command list to add properties to */ protected void addFessConfigProperties(final List<String> cmdList) { System.getProperties() .keySet() .stream() .filter(k -> k != null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX))Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password"); when(mockCifsContext.getCredentials()).thenReturn(creds); when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties())); when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0)