Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMavenVersion (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Nonnull
        @Override
        public Version getMavenVersion() {
            return parseVersion(runtimeInformation.getMavenVersion());
        }
    
        @Override
        public int getDegreeOfConcurrency() {
            return getMavenSession().getRequest().getDegreeOfConcurrency();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

        public ArtifactVersion getApplicationVersion() {
            return applicationVersion;
        }
    
        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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                result.putAll(project.getModel().getProperties());
            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Override
        public Version getMavenVersion() {
            return null;
        }
    
        @Override
        public int getDegreeOfConcurrency() {
            return 0;
        }
    
        @Override
        public Instant getStartTime() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                            e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue()), (k1, k2) -> k2));
        }
    
        private String getUserAgent() {
            String version = runtimeInformation.getMavenVersion();
            version = version.isEmpty() ? version : "/" + version;
            return "Apache-Maven" + version + " (Java " + System.getProperty("java.version") + "; "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Returns the current maven version.
         *
         * @return the maven version, never {@code null}
         */
        @Nonnull
        Version getMavenVersion();
    
        /**
         * Returns the degree of concurrency for the build.
         *
         * @return  the degree of concurrency
         */
        int getDegreeOfConcurrency();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top