- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 294 for Constant (0.16 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
return style("." + Constants.MAVEN_STYLE_INFO_NAME + ":-" + Constants.MAVEN_STYLE_INFO_DEFAULT, message); } /** * Append message content in warning style. * By default, bold yellow * * @param message the message to append * @return the current builder */ @Nonnull default MessageBuilder warning(Object message) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
Map<String, Object> properties = Map.of( Constants.MAVEN_CONSUMER_POM, "false", Constants.MAVEN_MAVEN3_PERSONALITY, "true", "some.other.property", "value", Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} systemProperties.setProperty(Constants.MAVEN_VERSION_MAJOR, versionElements[0]); systemProperties.setProperty(Constants.MAVEN_VERSION_MINOR, versionElements[1]); systemProperties.setProperty(Constants.MAVEN_VERSION_PATCH, versionElements[2]); systemProperties.setProperty(Constants.MAVEN_VERSION_SNAPSHOT, Boolean.toString(snapshot));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) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
return CLOCK; } /** * Returns the current instant from the monotonic clock. * This is a convenience method equivalent to {@code get().instant()}. * * @return the current instant using monotonic timing */ public static Instant now() { return get().instant(); } /** * Returns the initialization time of this monotonic clock.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
return doGet(userProperties, Constants.MAVEN_MAVEN3_PERSONALITY, false); } /** * Check if the consumer POM feature is active. */ public static boolean consumerPom(@Nullable Map<String, ?> userProperties) { return doGet(userProperties, Constants.MAVEN_CONSUMER_POM, !mavenMaven3Personality(userProperties)); } /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 31 11:36:12 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
} @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers = Headers .Builder() .add("Test-Instant", Instant.ofEpochMilli(0L)) .set("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun addParsing() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
import static org.apache.maven.api.Constants.MAVEN_HOME; import static org.apache.maven.api.Constants.MAVEN_INSTALLATION_CONF; // TODO push all common bits back to plexus cli and prepare for transition to Guice. We don't need 50 ways to make CLIs /** */ @Deprecated public class MavenCli { /** * @deprecated Use {@link org.apache.maven.api.Constants#MAVEN_REPO_LOCAL} instead */
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) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java
* @param coreExtensions The configured core extensions, is never {@code null}. Contents of list is guaranteed to be unique by GA. * * @see Constants#MAVEN_PROJECT_EXTENSIONS * @see Constants#MAVEN_USER_EXTENSIONS * @see Constants#MAVEN_INSTALLATION_EXTENSIONS */ @Experimental public record CoreExtensions(Path source, List<CoreExtension> coreExtensions) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 13 12:50:59 GMT 2025 - 1.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
*/ @Nonnull Map<String, String> getEffectiveProperties(); /** * Returns the start time of the session. * * @return the start time as an Instant object, never {@code null} */ @Nonnull Instant getStartTime(); /** * Gets the directory of the topmost project being built, usually the current directory or theCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java
case ERROR -> "error"; }; String current = System.setProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL, value); if (current != null && !value.equalsIgnoreCase(current)) { LOGGER.info( "System property '" + Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL + "' is already set to '" + current
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 2.2K bytes - Click Count (0)