- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 33 for userProperties (0.24 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
@Named(UserPropertiesArtifactRelocationSource.NAME) @Priority(50) @Deprecated(since = "4.0.0") public final class UserPropertiesArtifactRelocationSource implements MavenArtifactRelocationSource { public static final String NAME = "userProperties"; private static final Logger LOGGER = LoggerFactory.getLogger(UserPropertiesArtifactRelocationSource.class); private static final String CONFIG_PROP_RELOCATIONS_ENTRIES = "maven.relocations.entries";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* line. * * @param userProperties The user properties, may be {@code null}. * @return This request, never {@code null}. */ MavenExecutionRequest setUserProperties(Properties userProperties); /** * Gets the user properties to use for interpolation and profile activation. The user properties have beenCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
* * @return an {@link Optional} containing the map of user properties, or empty if not set */ @Nonnull Optional<Map<String, String>> userProperties(); /** * Indicates whether to show the version information and exit. * * @return an {@link Optional} containing the boolean flag, or empty if not set */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
data.put("plexus", container); data.put("workingDirectory", cliRequest.workingDirectory); data.put("systemProperties", cliRequest.systemProperties); data.put("userProperties", cliRequest.userProperties); data.put("versionProperties", CLIReportingUtils.getBuildProperties()); eventSpyDispatcher.init(eventSpyContext); // refresh logger in case container got customized by spy
Created: Sun Apr 05 03:35:12 GMT 2026 - 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/model/building/DefaultModelBuilder.java
// enrich user properties with project packaging Properties userProperties = request.getUserProperties(); userProperties.computeIfAbsent( (Object) ProfileActivationContext.PROPERTY_NAME_PACKAGING, (p) -> (Object) rawModel.getPackaging()); context.setUserProperties(userProperties); context.setProjectDirectory(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
this.commandLine = requireNonNull(commandLine); } @Override public String source() { return source; } @Override public Optional<Map<String, String>> userProperties() { if (commandLine.hasOption(CLIManager.USER_PROPERTY)) { return Optional.of(toMap(commandLine.getOptionProperties(CLIManager.USER_PROPERTY))); } return Optional.empty(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
Assertions.assertTrue(invokerRequest.options().isPresent()); Assertions.assertTrue(invokerRequest.userProperties().containsKey("foo")); Assertions.assertNotEquals( "${session.rootDirectory}", invokerRequest.userProperties().get("foo")); Assertions.assertFalse(invokerRequest.userProperties().get("foo").trim().isEmpty()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
data.put("workingDirectory", context.cwd.get().toString()); data.put("systemProperties", toProperties(context.protoSession.getSystemProperties())); data.put("userProperties", toProperties(context.protoSession.getUserProperties())); data.put("versionProperties", CLIReportingUtils.getBuildProperties()); context.eventSpyDispatcher.init(() -> data); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
this.containerCapsuleManaged = containerCapsuleManaged; this.options = options; this.logger = invokerRequest.parserRequest().logger(); Map<String, String> user = new HashMap<>(invokerRequest.userProperties()); user.put("session.topDirectory", invokerRequest.topDirectory().toString()); if (invokerRequest.rootDirectory().isPresent()) { user.put( "session.rootDirectory",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(request.topDirectory()).thenReturn(workingDirectory); when(request.rootDirectory()).thenReturn(Optional.empty()); when(request.userProperties()).thenReturn(Map.of()); when(request.systemProperties()).thenReturn(Map.of()); when(request.options()).thenReturn(Optional.ofNullable(options)); // Mock parserRequest and logger
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0)