Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMavenVersion (1.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

        public ArtifactVersion getApplicationVersion() {
            return applicationVersion;
        }
    
        @Override
        public void initialize() throws InitializationException {
            String mavenVersion = rtInfo.getMavenVersion();
    
            if (mavenVersion == null || mavenVersion.isEmpty()) {
                throw new InitializationException("Unable to read Maven version from maven-core");
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

    @ThreadSafe
    public interface Session extends ProtoSession {
    
        /**
         * Returns the current maven version.
         *
         * @return the maven version, never {@code null}
         */
        @Nonnull
        Version getMavenVersion();
    
        /**
         * Retrieves the settings for the current session.
         *
         * @return the settings instance
         */
        @Nonnull
        Settings getSettings();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top