- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 281 for SetProperty (0.1 seconds)
-
guava-tests/test/com/google/common/reflect/ClassPathTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Override public void setProperty(@Nonnull Project project, @Nonnull String key, String value) { Properties properties = getMavenProject(project).getProperties(); if (value == null) { properties.remove(key); } else { properties.setProperty(key, value); } } @Override @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
} project.getModel().addDependency(dependency); } @Override public void afterSessionStart(MavenSession session) { session.getUserProperties().setProperty("injected", "bar"); } } public static class InjectReactorDependency extends AbstractMavenLifecycleParticipant { @Override public void afterProjectsRead(MavenSession session) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
substitute(sp, callback); sp.forEach(properties::setProperty); } public static void substitute(MavenProperties props, UnaryOperator<String> callback) { for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) { String name = (String) e.nextElement(); String value = props.getProperty(name); if (value == null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
/** * {@return an immutable map of the project properties}. * * @param project the project for which to get the properties * * @see #setProperty(Project, String, String) */ @Nonnull Map<String, String> getProperties(@Nonnull Project project); /** * Set a given project property. Properties set through this method are only validCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); String concurrentPackage = SettableFuture.class.getPackage().getName(); classReloader = new URLClassLoader(ClassPathUtil.getClassPathUrls()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
valueType = getClassForImplementationHint(null, element, loader); } catch (final ComponentConfigurationException e) { valueType = null; } helper.setProperty(bean, propertyName, valueType, element); } } /** * Clear all caches. Useful for testing or memory management. */ public static void clearCaches() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
Profile p = Profile.newBuilder().activation(a).build(); return p; } private Properties newProperties(String key, String value) { Properties props = new Properties(); props.setProperty(key, value); return props; } @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
import org.codehaus.plexus.classworlds.ClassWorld; import static org.junit.jupiter.api.Assertions.assertEquals; public abstract class MavenInvokerTestSupport { static { System.setProperty( "library.jline.path", Path.of("target/dependency/org/jline/nativ").toAbsolutePath().toString()); } public static final String POM_STRING = """Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0)